@camstack/addon-provider-onvif 1.2.120 → 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 +1266 -543
- package/dist/addon.mjs +1266 -543
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
4
4
|
//#endregion
|
|
5
|
-
//#region ../types/dist/event-category-
|
|
5
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
6
6
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
7
7
|
EventCategory["SystemBoot"] = "system.boot";
|
|
8
8
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -503,15 +503,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
503
503
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
504
504
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
505
505
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
506
|
-
/**
|
|
507
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
508
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
509
|
-
* `createSession`, so running sessions keep their current backend until
|
|
510
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
511
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
512
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
513
|
-
*/
|
|
514
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
515
506
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
516
507
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
517
508
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5382,7 +5373,7 @@ var ZodIssueCode = {
|
|
|
5382
5373
|
var ZodFirstPartyTypeKind;
|
|
5383
5374
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5384
5375
|
//#endregion
|
|
5385
|
-
//#region ../types/dist/sleep-
|
|
5376
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5386
5377
|
/**
|
|
5387
5378
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5388
5379
|
* window to float samples (D455).
|
|
@@ -6748,32 +6739,12 @@ object({
|
|
|
6748
6739
|
audioCodec: string().optional(),
|
|
6749
6740
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6750
6741
|
});
|
|
6751
|
-
var EncodedPacketSchema = object({
|
|
6752
|
-
type: _enum(["video", "audio"]),
|
|
6753
|
-
data: _instanceof(Uint8Array),
|
|
6754
|
-
pts: number(),
|
|
6755
|
-
dts: number(),
|
|
6756
|
-
keyframe: boolean(),
|
|
6757
|
-
codec: string()
|
|
6758
|
-
});
|
|
6759
|
-
var DecodedFrameSchema = object({
|
|
6760
|
-
data: _instanceof(Uint8Array),
|
|
6761
|
-
width: number(),
|
|
6762
|
-
height: number(),
|
|
6763
|
-
format: _enum([
|
|
6764
|
-
"jpeg",
|
|
6765
|
-
"rgb",
|
|
6766
|
-
"bgr",
|
|
6767
|
-
"yuv420",
|
|
6768
|
-
"gray"
|
|
6769
|
-
]),
|
|
6770
|
-
timestamp: number()
|
|
6771
|
-
});
|
|
6772
6742
|
/**
|
|
6773
6743
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6774
6744
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6775
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6776
|
-
*
|
|
6745
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6746
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6747
|
+
* over tRPC / Moleculer.
|
|
6777
6748
|
*
|
|
6778
6749
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6779
6750
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6799,50 +6770,6 @@ var FrameHandleSchema = object({
|
|
|
6799
6770
|
slotCount: number().int().positive()
|
|
6800
6771
|
});
|
|
6801
6772
|
/**
|
|
6802
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6803
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6804
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6805
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6806
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6807
|
-
*/
|
|
6808
|
-
var FrameHandleFormatSchema = _enum([
|
|
6809
|
-
"rgb",
|
|
6810
|
-
"bgr",
|
|
6811
|
-
"yuv420",
|
|
6812
|
-
"gray"
|
|
6813
|
-
]);
|
|
6814
|
-
/**
|
|
6815
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6816
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6817
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6818
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6819
|
-
* they asked for with no broker-side conversion.
|
|
6820
|
-
*/
|
|
6821
|
-
var SubscribeFramesInputSchema = object({
|
|
6822
|
-
brokerId: string(),
|
|
6823
|
-
format: FrameHandleFormatSchema,
|
|
6824
|
-
/**
|
|
6825
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6826
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6827
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6828
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6829
|
-
*/
|
|
6830
|
-
maxFps: number().positive().optional(),
|
|
6831
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6832
|
-
tag: string().optional()
|
|
6833
|
-
});
|
|
6834
|
-
/**
|
|
6835
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6836
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6837
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6838
|
-
*/
|
|
6839
|
-
var SubscribeFramesResultSchema = object({
|
|
6840
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6841
|
-
subscriptionId: string(),
|
|
6842
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6843
|
-
maxFps: number().nonnegative()
|
|
6844
|
-
});
|
|
6845
|
-
/**
|
|
6846
6773
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6847
6774
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6848
6775
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6850,8 +6777,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6850
6777
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6851
6778
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6852
6779
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6853
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6854
|
-
*
|
|
6780
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6781
|
+
* it.
|
|
6855
6782
|
*/
|
|
6856
6783
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6857
6784
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6869,11 +6796,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6869
6796
|
format: AudioChunkFormatSchema.optional()
|
|
6870
6797
|
});
|
|
6871
6798
|
/**
|
|
6872
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6873
|
-
*
|
|
6874
|
-
*
|
|
6875
|
-
*
|
|
6876
|
-
* `pullAudioChunks`.
|
|
6799
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6800
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6801
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6802
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6877
6803
|
*/
|
|
6878
6804
|
var SubscribeAudioChunksInputSchema = object({
|
|
6879
6805
|
brokerId: string(),
|
|
@@ -6904,9 +6830,7 @@ var BrokerStatsSchema = object({
|
|
|
6904
6830
|
"stopped"
|
|
6905
6831
|
]),
|
|
6906
6832
|
inputFps: number(),
|
|
6907
|
-
decodeFps: number(),
|
|
6908
6833
|
encodedSubscribers: number(),
|
|
6909
|
-
decodedSubscribers: number(),
|
|
6910
6834
|
uptimeMs: number(),
|
|
6911
6835
|
bitrateKbps: number(),
|
|
6912
6836
|
idrIntervalMs: number(),
|
|
@@ -6919,14 +6843,6 @@ var BrokerStatsSchema = object({
|
|
|
6919
6843
|
preBufferMs: number(),
|
|
6920
6844
|
preBufferPackets: number(),
|
|
6921
6845
|
/**
|
|
6922
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6923
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6924
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6925
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6926
|
-
* a separate cap call per broker.
|
|
6927
|
-
*/
|
|
6928
|
-
decoderNodeId: string().nullable(),
|
|
6929
|
-
/**
|
|
6930
6846
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6931
6847
|
* when the stream has no audio track or the broker is in cold start.
|
|
6932
6848
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10258,70 +10174,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10258
10174
|
"backup"
|
|
10259
10175
|
]).optional()
|
|
10260
10176
|
});
|
|
10261
|
-
var DecoderStatsSchema = object({
|
|
10262
|
-
inputFps: number(),
|
|
10263
|
-
outputFps: number(),
|
|
10264
|
-
avgDecodeTimeMs: number(),
|
|
10265
|
-
droppedFrames: number(),
|
|
10266
|
-
/**
|
|
10267
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10268
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10269
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10270
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10271
|
-
*/
|
|
10272
|
-
lagMs: number().optional(),
|
|
10273
|
-
effectiveFps: number().optional(),
|
|
10274
|
-
adaptiveFps: number().optional()
|
|
10275
|
-
});
|
|
10276
|
-
var DecoderSessionConfigSchema = object({
|
|
10277
|
-
codec: string(),
|
|
10278
|
-
maxFps: number().default(0),
|
|
10279
|
-
outputFormat: _enum([
|
|
10280
|
-
"jpeg",
|
|
10281
|
-
"rgb",
|
|
10282
|
-
"bgr",
|
|
10283
|
-
"yuv420",
|
|
10284
|
-
"gray"
|
|
10285
|
-
]).default("jpeg"),
|
|
10286
|
-
scale: number().default(1),
|
|
10287
|
-
width: number().optional(),
|
|
10288
|
-
height: number().optional(),
|
|
10289
|
-
/**
|
|
10290
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10291
|
-
* because the cap is generic (any caller could request decode), but
|
|
10292
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10293
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10294
|
-
* sendPacket errors on a single hung camera).
|
|
10295
|
-
*/
|
|
10296
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10297
|
-
/**
|
|
10298
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10299
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10300
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10301
|
-
* profile cleanly.
|
|
10302
|
-
*/
|
|
10303
|
-
tag: string().optional(),
|
|
10304
|
-
/**
|
|
10305
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10306
|
-
*
|
|
10307
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10308
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10309
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10310
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10311
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10312
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10313
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10314
|
-
*/
|
|
10315
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10316
|
-
/**
|
|
10317
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10318
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10319
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10320
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10321
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10322
|
-
*/
|
|
10323
|
-
debug: boolean().optional()
|
|
10324
|
-
});
|
|
10325
10177
|
/**
|
|
10326
10178
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10327
10179
|
* an addon declares its channels in.
|
|
@@ -10464,6 +10316,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10464
10316
|
"balanced",
|
|
10465
10317
|
"strict"
|
|
10466
10318
|
]);
|
|
10319
|
+
/** Steps whose effect a root label can BE. */
|
|
10320
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10321
|
+
"animal-classifier",
|
|
10322
|
+
"vehicle-classifier",
|
|
10323
|
+
"package-detection"
|
|
10324
|
+
];
|
|
10325
|
+
/** Steps whose box a root detection can BE. */
|
|
10326
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10327
|
+
/**
|
|
10328
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10329
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10330
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10331
|
+
* no camera tree carries.)
|
|
10332
|
+
*/
|
|
10333
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10334
|
+
[
|
|
10335
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10336
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10337
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10338
|
+
];
|
|
10467
10339
|
var MODEL_FORMATS = [
|
|
10468
10340
|
"onnx",
|
|
10469
10341
|
"coreml",
|
|
@@ -10492,7 +10364,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10492
10364
|
/** Multi-file payload (directory members or sibling files). */
|
|
10493
10365
|
files: array(string()).readonly().optional(),
|
|
10494
10366
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10495
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10367
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10368
|
+
/**
|
|
10369
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10370
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10371
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10372
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10373
|
+
* node records the revision it downloaded next to the file
|
|
10374
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10375
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10376
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10377
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10378
|
+
*/
|
|
10379
|
+
revision: string().min(1).optional()
|
|
10380
|
+
});
|
|
10381
|
+
/**
|
|
10382
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10383
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10384
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10385
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10386
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10387
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10388
|
+
*/
|
|
10389
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10390
|
+
"current",
|
|
10391
|
+
"stale",
|
|
10392
|
+
"missing"
|
|
10393
|
+
]);
|
|
10394
|
+
/**
|
|
10395
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10396
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10397
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10398
|
+
*/
|
|
10399
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10400
|
+
"fp32",
|
|
10401
|
+
"fp16",
|
|
10402
|
+
"int8"
|
|
10403
|
+
]);
|
|
10404
|
+
/**
|
|
10405
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10406
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10407
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10408
|
+
*/
|
|
10409
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10410
|
+
downloaded: boolean(),
|
|
10411
|
+
sizeMB: number(),
|
|
10412
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10413
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10496
10414
|
});
|
|
10497
10415
|
/**
|
|
10498
10416
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10533,11 +10451,11 @@ var ModelVariantGroupSchema = object({
|
|
|
10533
10451
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
10534
10452
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
10535
10453
|
/**
|
|
10536
|
-
*
|
|
10537
|
-
*
|
|
10538
|
-
*
|
|
10454
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
10455
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
10456
|
+
* label is "Test".
|
|
10539
10457
|
*/
|
|
10540
|
-
optimization: _enum(["standard", "
|
|
10458
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
10541
10459
|
/**
|
|
10542
10460
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
10543
10461
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -10560,9 +10478,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
10560
10478
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
10561
10479
|
* string still parses — the string is lifted into `{ weights }`.
|
|
10562
10480
|
*
|
|
10563
|
-
* Every licence surface (the
|
|
10564
|
-
*
|
|
10565
|
-
*
|
|
10481
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
10482
|
+
* model table) is GENERATED from these records by
|
|
10483
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
10484
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
10566
10485
|
*/
|
|
10567
10486
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10568
10487
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -10595,6 +10514,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10595
10514
|
/** True when the weights or their data forbid commercial use. */
|
|
10596
10515
|
nonCommercial: boolean().optional()
|
|
10597
10516
|
}));
|
|
10517
|
+
/**
|
|
10518
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10519
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10520
|
+
*
|
|
10521
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10522
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10523
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10524
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10525
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10526
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10527
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10528
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10529
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10530
|
+
* postprocessor on read, never stored by an import.
|
|
10531
|
+
*/
|
|
10532
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10533
|
+
object({
|
|
10534
|
+
kind: literal("label"),
|
|
10535
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10536
|
+
labelToEffect: record(string(), string()),
|
|
10537
|
+
uncovered: array(string()).readonly()
|
|
10538
|
+
}),
|
|
10539
|
+
object({
|
|
10540
|
+
kind: literal("crop"),
|
|
10541
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10542
|
+
rootLabels: array(string()).readonly(),
|
|
10543
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10544
|
+
childClass: _enum(["plate", "face"]),
|
|
10545
|
+
/**
|
|
10546
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10547
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10548
|
+
* stored by an import.
|
|
10549
|
+
*/
|
|
10550
|
+
rootInputPx: number().int().positive().optional()
|
|
10551
|
+
}),
|
|
10552
|
+
object({
|
|
10553
|
+
kind: literal("mask"),
|
|
10554
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10555
|
+
})
|
|
10556
|
+
]);
|
|
10598
10557
|
var ModelCatalogEntrySchema = object({
|
|
10599
10558
|
id: string(),
|
|
10600
10559
|
name: string(),
|
|
@@ -10660,6 +10619,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10660
10619
|
*/
|
|
10661
10620
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10662
10621
|
/**
|
|
10622
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10623
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10624
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10625
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10626
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10627
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10628
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10629
|
+
*/
|
|
10630
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10631
|
+
/**
|
|
10632
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10633
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10634
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10635
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10636
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10637
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10638
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10639
|
+
*/
|
|
10640
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10641
|
+
/**
|
|
10642
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10643
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10644
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10645
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10646
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10647
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10648
|
+
*/
|
|
10649
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10650
|
+
/**
|
|
10663
10651
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10664
10652
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10665
10653
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10721,6 +10709,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10721
10709
|
*/
|
|
10722
10710
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10723
10711
|
/**
|
|
10712
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10713
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10714
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10715
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10716
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10717
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10718
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10719
|
+
*/
|
|
10720
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10721
|
+
/**
|
|
10724
10722
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10725
10723
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10726
10724
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12322,13 +12320,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12322
12320
|
lastRtpAt: number(),
|
|
12323
12321
|
bytesSent: number()
|
|
12324
12322
|
});
|
|
12325
|
-
var BrokerDecodedClientSchema = object({
|
|
12326
|
-
tag: string(),
|
|
12327
|
-
subscribedAt: number(),
|
|
12328
|
-
maxFps: number(),
|
|
12329
|
-
framesDelivered: number(),
|
|
12330
|
-
framesDropped: number()
|
|
12331
|
-
});
|
|
12332
12323
|
var BrokerAudioClientSchema = object({
|
|
12333
12324
|
tag: string(),
|
|
12334
12325
|
subscribedAt: number(),
|
|
@@ -12420,7 +12411,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12420
12411
|
});
|
|
12421
12412
|
var BrokerClientsSchema = object({
|
|
12422
12413
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12423
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12424
12414
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12425
12415
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12426
12416
|
pipeClients: number(),
|
|
@@ -12789,11 +12779,7 @@ method(object({
|
|
|
12789
12779
|
auth: "admin"
|
|
12790
12780
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12791
12781
|
brokerId: string(),
|
|
12792
|
-
channel: _enum([
|
|
12793
|
-
"rtsp",
|
|
12794
|
-
"decoded",
|
|
12795
|
-
"audio"
|
|
12796
|
-
]),
|
|
12782
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12797
12783
|
handle: string()
|
|
12798
12784
|
}), object({ killed: boolean() }), {
|
|
12799
12785
|
kind: "mutation",
|
|
@@ -12828,10 +12814,7 @@ method(object({
|
|
|
12828
12814
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12829
12815
|
subscriptionId: string(),
|
|
12830
12816
|
maxCount: number().int().positive().default(8)
|
|
12831
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12832
|
-
subscriptionId: string(),
|
|
12833
|
-
maxCount: number().int().positive().default(4)
|
|
12834
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12817
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12835
12818
|
brokerId: string(),
|
|
12836
12819
|
seconds: number().min(0).max(30)
|
|
12837
12820
|
}), _void(), {
|
|
@@ -13988,54 +13971,12 @@ id: union([string(), number()]) }), {
|
|
|
13988
13971
|
kind: "mutation",
|
|
13989
13972
|
auth: "admin"
|
|
13990
13973
|
});
|
|
13991
|
-
|
|
13992
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
13993
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
13994
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
13995
|
-
*/
|
|
13996
|
-
var ShmRingStatsSchema = object({
|
|
13997
|
-
sessionId: string(),
|
|
13998
|
-
slotCount: number().int(),
|
|
13999
|
-
slotByteLength: number().int(),
|
|
14000
|
-
segmentBytes: number().int(),
|
|
14001
|
-
budgetMb: number().int(),
|
|
14002
|
-
framesWritten: number().int(),
|
|
14003
|
-
getFrameHits: number().int(),
|
|
14004
|
-
getFrameMisses: number().int()
|
|
14005
|
-
});
|
|
14006
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
13974
|
+
method(_void(), object({
|
|
14007
13975
|
id: string(),
|
|
14008
13976
|
name: string(),
|
|
14009
|
-
isPullMode: boolean().optional(),
|
|
14010
|
-
priority: number().optional(),
|
|
14011
13977
|
hwaccel: string().optional(),
|
|
14012
13978
|
probedBestHwaccel: string().optional()
|
|
14013
|
-
})), method(
|
|
14014
|
-
sessionId: string(),
|
|
14015
|
-
nodeId: string()
|
|
14016
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14017
|
-
sessionId: string(),
|
|
14018
|
-
packet: EncodedPacketSchema
|
|
14019
|
-
}), _void()), method(object({
|
|
14020
|
-
sessionId: string(),
|
|
14021
|
-
url: string()
|
|
14022
|
-
}), _void()), method(object({
|
|
14023
|
-
sessionId: string(),
|
|
14024
|
-
maxCount: number().default(1),
|
|
14025
|
-
waitMs: number().optional()
|
|
14026
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14027
|
-
sessionId: string(),
|
|
14028
|
-
maxCount: number().default(1),
|
|
14029
|
-
waitMs: number().optional()
|
|
14030
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14031
|
-
sessionId: string(),
|
|
14032
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14033
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14034
|
-
sessionId: string(),
|
|
14035
|
-
codec: string(),
|
|
14036
|
-
outputFormat: string(),
|
|
14037
|
-
createdAtMs: number()
|
|
14038
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
13979
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14039
13980
|
kind: "mutation",
|
|
14040
13981
|
auth: "admin"
|
|
14041
13982
|
});
|
|
@@ -14091,7 +14032,7 @@ DeviceType.Camera;
|
|
|
14091
14032
|
* This matters here more than anywhere else in the repo, because every provider
|
|
14092
14033
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
14093
14034
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
14094
|
-
* and `http://admin:hunter2@192.168.
|
|
14035
|
+
* and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
|
|
14095
14036
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
14096
14037
|
* filling it is the operator's business, not ours.
|
|
14097
14038
|
*
|
|
@@ -15041,6 +14982,10 @@ var DeviceInfoSchema = object({
|
|
|
15041
14982
|
isCamera: boolean(),
|
|
15042
14983
|
/** Current config values — serializable snapshot */
|
|
15043
14984
|
config: record(string(), unknown()),
|
|
14985
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
14986
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
14987
|
+
* when the owning runner has not reported them. */
|
|
14988
|
+
secretConfigPaths: array(string()).optional(),
|
|
15044
14989
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15045
14990
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15046
14991
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15246,7 +15191,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15246
15191
|
* call (workers re-register on init), so probe-driven updates
|
|
15247
15192
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15248
15193
|
features: array(string()).optional(),
|
|
15249
|
-
config: record(string(), unknown())
|
|
15194
|
+
config: record(string(), unknown()),
|
|
15195
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15196
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15197
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15198
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15199
|
+
* omits it and the keyword backstop applies. */
|
|
15200
|
+
secretConfigPaths: array(string()).optional()
|
|
15250
15201
|
});
|
|
15251
15202
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15252
15203
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16073,6 +16024,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16073
16024
|
kind: "mutation",
|
|
16074
16025
|
auth: "admin"
|
|
16075
16026
|
});
|
|
16027
|
+
var HUB_ADDRESS_ROLES = [
|
|
16028
|
+
"appConnections",
|
|
16029
|
+
"notificationTaps",
|
|
16030
|
+
"internal",
|
|
16031
|
+
"publicEndpoint"
|
|
16032
|
+
];
|
|
16076
16033
|
/**
|
|
16077
16034
|
* Transport bounds for AI capability methods.
|
|
16078
16035
|
*
|
|
@@ -16899,7 +16856,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
16899
16856
|
icon: string().optional(),
|
|
16900
16857
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16901
16858
|
startUrl: string(),
|
|
16902
|
-
stage: LoginStageEnum
|
|
16859
|
+
stage: LoginStageEnum,
|
|
16860
|
+
/**
|
|
16861
|
+
* The provider names an external identity a signed-in user can link to
|
|
16862
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
16863
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
16864
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
16865
|
+
*/
|
|
16866
|
+
linkable: boolean().optional()
|
|
16903
16867
|
}),
|
|
16904
16868
|
object({
|
|
16905
16869
|
kind: literal("widget"),
|
|
@@ -17269,7 +17233,7 @@ method(object({
|
|
|
17269
17233
|
timeoutMs: 6e5
|
|
17270
17234
|
});
|
|
17271
17235
|
method(object({
|
|
17272
|
-
|
|
17236
|
+
targetNodeId: string(),
|
|
17273
17237
|
modelId: string(),
|
|
17274
17238
|
format: _enum(MODEL_FORMATS),
|
|
17275
17239
|
entry: ModelCatalogEntrySchema
|
|
@@ -18637,6 +18601,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18637
18601
|
"stream-offline",
|
|
18638
18602
|
"node-online",
|
|
18639
18603
|
"node-offline",
|
|
18604
|
+
"node-restarting",
|
|
18605
|
+
"node-updating",
|
|
18640
18606
|
"node-inference-unavailable",
|
|
18641
18607
|
"detection-blind",
|
|
18642
18608
|
"addon-crash-loop",
|
|
@@ -19735,8 +19701,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
19735
19701
|
disabledTargetIds: array(string()).default([])
|
|
19736
19702
|
});
|
|
19737
19703
|
/**
|
|
19738
|
-
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that
|
|
19739
|
-
* still-true state. `
|
|
19704
|
+
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
19705
|
+
* report a still-true state. `addons` is the crash-looped addons only and
|
|
19706
|
+
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
19740
19707
|
* job is not an open state, and the alarm stays instant.
|
|
19741
19708
|
*/
|
|
19742
19709
|
var NcStateSummarySectionIdSchema = _enum([
|
|
@@ -19748,6 +19715,7 @@ var NcStateSummarySectionIdSchema = _enum([
|
|
|
19748
19715
|
"detection-blind",
|
|
19749
19716
|
"nodes",
|
|
19750
19717
|
"addons",
|
|
19718
|
+
"addon-updates",
|
|
19751
19719
|
"updates"
|
|
19752
19720
|
]);
|
|
19753
19721
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
@@ -20228,7 +20196,25 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20228
20196
|
* When this mode may be armed. Absent / null = always allowed (same as a
|
|
20229
20197
|
* rule with no `schedule`). Evaluated with {@link isScheduleActive}.
|
|
20230
20198
|
*/
|
|
20231
|
-
schedule: NcScheduleSchema.optional()
|
|
20199
|
+
schedule: NcScheduleSchema.optional(),
|
|
20200
|
+
/**
|
|
20201
|
+
* D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
|
|
20202
|
+
* intrusion naming the locations)? Absent = false — the entry-delay notification is the
|
|
20203
|
+
* only one, and the matches ride the triggered notification's mosaic (D705).
|
|
20204
|
+
*/
|
|
20205
|
+
notifyDuringEntryDelay: boolean().optional(),
|
|
20206
|
+
/**
|
|
20207
|
+
* D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
|
|
20208
|
+
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20209
|
+
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20210
|
+
*/
|
|
20211
|
+
notifySensorRewatched: boolean().optional(),
|
|
20212
|
+
/**
|
|
20213
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20214
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20215
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20216
|
+
*/
|
|
20217
|
+
notifySensorIgnored: boolean().optional()
|
|
20232
20218
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20233
20219
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20234
20220
|
mode: AlarmArmModeSchema,
|
|
@@ -20237,7 +20223,13 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20237
20223
|
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
|
|
20238
20224
|
postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
|
|
20239
20225
|
/** Set a schedule, or `null` to clear (mode always allowed again). */
|
|
20240
|
-
schedule: NcScheduleSchema.nullable().optional()
|
|
20226
|
+
schedule: NcScheduleSchema.nullable().optional(),
|
|
20227
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20228
|
+
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20229
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20230
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20231
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20232
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20241
20233
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20242
20234
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20243
20235
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21198,45 +21190,25 @@ Object.freeze(Object.fromEntries([{
|
|
|
21198
21190
|
label: "Face recognition model",
|
|
21199
21191
|
defaultModelId: "auraface-r100",
|
|
21200
21192
|
indexName: "the enrolled face gallery",
|
|
21201
|
-
options: [
|
|
21202
|
-
|
|
21203
|
-
|
|
21204
|
-
|
|
21205
|
-
},
|
|
21206
|
-
{
|
|
21207
|
-
id: "arcface-r100",
|
|
21208
|
-
label: "ArcFace (ResNet34)"
|
|
21209
|
-
},
|
|
21210
|
-
{
|
|
21211
|
-
id: "inception-resnet-v1",
|
|
21212
|
-
label: "Inception ResNet V1"
|
|
21213
|
-
}
|
|
21214
|
-
]
|
|
21193
|
+
options: [{
|
|
21194
|
+
id: "auraface-r100",
|
|
21195
|
+
label: "AuraFace R100"
|
|
21196
|
+
}]
|
|
21215
21197
|
}, {
|
|
21216
21198
|
stepId: "clip-embedding",
|
|
21217
21199
|
label: "Semantic search model",
|
|
21218
|
-
defaultModelId: "
|
|
21200
|
+
defaultModelId: "siglip2-b16-224",
|
|
21219
21201
|
indexName: "the object semantic-search index",
|
|
21220
|
-
options: [
|
|
21221
|
-
|
|
21222
|
-
|
|
21223
|
-
|
|
21224
|
-
},
|
|
21225
|
-
{
|
|
21226
|
-
id: "mobileclip-s2",
|
|
21227
|
-
label: "MobileCLIP S2"
|
|
21228
|
-
},
|
|
21229
|
-
{
|
|
21230
|
-
id: "siglip2-b16-224",
|
|
21231
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21232
|
-
}
|
|
21233
|
-
]
|
|
21202
|
+
options: [{
|
|
21203
|
+
id: "siglip2-b16-224",
|
|
21204
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21205
|
+
}]
|
|
21234
21206
|
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
21235
21207
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21236
21208
|
stepId: "face-embedding",
|
|
21237
21209
|
key: "minLandmarkFaceSize",
|
|
21238
|
-
label: "Min face size
|
|
21239
|
-
description: "
|
|
21210
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21211
|
+
description: "Faces smaller than this in the small frame the detector sees are not embedded, so they can never be recognised. Below it the face cannot be aligned reliably and a bad embedding matches everyone. Same value on every node. 0 = no limit.",
|
|
21240
21212
|
type: "slider",
|
|
21241
21213
|
min: 0,
|
|
21242
21214
|
max: 64,
|
|
@@ -22288,7 +22260,13 @@ var RetrainFrameSchema = object({
|
|
|
22288
22260
|
sizeBytes: number().int(),
|
|
22289
22261
|
width: number().int(),
|
|
22290
22262
|
height: number().int(),
|
|
22291
|
-
copiedAt: number()
|
|
22263
|
+
copiedAt: number(),
|
|
22264
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22265
|
+
capturedAt: number().optional(),
|
|
22266
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22267
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22268
|
+
* a false positive. */
|
|
22269
|
+
complete: boolean()
|
|
22292
22270
|
});
|
|
22293
22271
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22294
22272
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22309,6 +22287,51 @@ var RetrainFrameListSchema = object({
|
|
|
22309
22287
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22310
22288
|
autoPickMediaId: number().int().optional()
|
|
22311
22289
|
});
|
|
22290
|
+
/**
|
|
22291
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22292
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22293
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22294
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22295
|
+
* export carried (`exportedInBatch`).
|
|
22296
|
+
*/
|
|
22297
|
+
var RetrainExportFilterSchema = object({
|
|
22298
|
+
deviceIds: array(number()).optional(),
|
|
22299
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22300
|
+
batchId: string().optional(),
|
|
22301
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22302
|
+
completeOnly: boolean().optional()
|
|
22303
|
+
});
|
|
22304
|
+
/**
|
|
22305
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22306
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22307
|
+
* convention — the classifier layout.
|
|
22308
|
+
*/
|
|
22309
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22310
|
+
/**
|
|
22311
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22312
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22313
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22314
|
+
* logged.
|
|
22315
|
+
*/
|
|
22316
|
+
var RetrainArchiveTargetSchema = object({
|
|
22317
|
+
kind: literal("http"),
|
|
22318
|
+
method: _enum(["PUT", "POST"]),
|
|
22319
|
+
url: string().url(),
|
|
22320
|
+
headers: record(string(), string()).optional()
|
|
22321
|
+
});
|
|
22322
|
+
var RetrainArchiveResultSchema = object({
|
|
22323
|
+
batchId: string(),
|
|
22324
|
+
frames: number().int(),
|
|
22325
|
+
crops: number().int(),
|
|
22326
|
+
annotations: number().int(),
|
|
22327
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22328
|
+
missing: number().int(),
|
|
22329
|
+
bytes: number().int(),
|
|
22330
|
+
/** sha256 of the exact bytes sent. */
|
|
22331
|
+
sha256: string(),
|
|
22332
|
+
/** The target's HTTP status. */
|
|
22333
|
+
status: number().int()
|
|
22334
|
+
});
|
|
22312
22335
|
/** What the operator asked the assist to look for. */
|
|
22313
22336
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22314
22337
|
kind: literal("package"),
|
|
@@ -23103,9 +23126,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23103
23126
|
}), RetrainTransitionResultSchema, {
|
|
23104
23127
|
kind: "mutation",
|
|
23105
23128
|
auth: "admin"
|
|
23106
|
-
}), method(
|
|
23129
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23107
23130
|
kind: "query",
|
|
23108
23131
|
auth: "admin"
|
|
23132
|
+
}), method(object({
|
|
23133
|
+
deviceId: number(),
|
|
23134
|
+
trackId: string(),
|
|
23135
|
+
frameId: string(),
|
|
23136
|
+
complete: boolean()
|
|
23137
|
+
}), RetrainFrameSchema, {
|
|
23138
|
+
kind: "mutation",
|
|
23139
|
+
auth: "admin"
|
|
23140
|
+
}), method(object({
|
|
23141
|
+
filter: RetrainExportFilterSchema,
|
|
23142
|
+
layout: RetrainExportLayoutSchema,
|
|
23143
|
+
target: RetrainArchiveTargetSchema
|
|
23144
|
+
}), RetrainArchiveResultSchema, {
|
|
23145
|
+
kind: "mutation",
|
|
23146
|
+
auth: "admin",
|
|
23147
|
+
timeoutMs: 60 * 6e4
|
|
23109
23148
|
}), method(object({
|
|
23110
23149
|
/** Which of the three event tables owns the row. */
|
|
23111
23150
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23156,6 +23195,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23156
23195
|
timestamp: number()
|
|
23157
23196
|
});
|
|
23158
23197
|
/**
|
|
23198
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23199
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23200
|
+
*/
|
|
23201
|
+
var SuppliedRootOutputSchema = object({
|
|
23202
|
+
stepId: string(),
|
|
23203
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23204
|
+
modelId: string(),
|
|
23205
|
+
detections: array(object({
|
|
23206
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23207
|
+
bbox: tuple([
|
|
23208
|
+
number(),
|
|
23209
|
+
number(),
|
|
23210
|
+
number(),
|
|
23211
|
+
number()
|
|
23212
|
+
]),
|
|
23213
|
+
score: number(),
|
|
23214
|
+
/**
|
|
23215
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23216
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23217
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23218
|
+
*/
|
|
23219
|
+
landmarks: array(object({
|
|
23220
|
+
x: number(),
|
|
23221
|
+
y: number()
|
|
23222
|
+
})).optional()
|
|
23223
|
+
})).min(1)
|
|
23224
|
+
});
|
|
23225
|
+
/**
|
|
23159
23226
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23160
23227
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23161
23228
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23203,7 +23270,7 @@ var FrameRefSchema = object({
|
|
|
23203
23270
|
timestamp: number(),
|
|
23204
23271
|
capturedAt: number().optional()
|
|
23205
23272
|
});
|
|
23206
|
-
var ModelFormatSchema$
|
|
23273
|
+
var ModelFormatSchema$2 = _enum([
|
|
23207
23274
|
"onnx",
|
|
23208
23275
|
"coreml",
|
|
23209
23276
|
"openvino",
|
|
@@ -23221,7 +23288,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23221
23288
|
var PipelineEngineChoiceSchema = object({
|
|
23222
23289
|
runtime: literal("python"),
|
|
23223
23290
|
backend: string(),
|
|
23224
|
-
format: ModelFormatSchema$
|
|
23291
|
+
format: ModelFormatSchema$2,
|
|
23225
23292
|
device: string().optional()
|
|
23226
23293
|
});
|
|
23227
23294
|
/**
|
|
@@ -23260,32 +23327,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23260
23327
|
group: string().optional(),
|
|
23261
23328
|
settings: record(string(), unknown()).optional()
|
|
23262
23329
|
}));
|
|
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
23330
|
var PipelineModelOptionSchema = object({
|
|
23279
23331
|
id: string(),
|
|
23280
23332
|
name: string(),
|
|
23281
|
-
formats: record(string(),
|
|
23282
|
-
downloaded: boolean(),
|
|
23283
|
-
sizeMB: number()
|
|
23284
|
-
})),
|
|
23333
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23285
23334
|
group: ModelVariantGroupSchema.optional(),
|
|
23286
23335
|
legacy: boolean().optional(),
|
|
23287
23336
|
provider: ModelProviderIdSchema.optional(),
|
|
23288
|
-
defaultConfidence: number().optional()
|
|
23337
|
+
defaultConfidence: number().optional(),
|
|
23338
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23289
23339
|
});
|
|
23290
23340
|
var ConfigFieldBridge = custom();
|
|
23291
23341
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23447,6 +23497,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23447
23497
|
}), {
|
|
23448
23498
|
kind: "mutation",
|
|
23449
23499
|
auth: "admin"
|
|
23500
|
+
}), method(object({
|
|
23501
|
+
nodeId: string(),
|
|
23502
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23503
|
+
dryRun: boolean()
|
|
23504
|
+
}), object({
|
|
23505
|
+
entries: array(object({
|
|
23506
|
+
deviceId: number(),
|
|
23507
|
+
keys: array(string()).readonly()
|
|
23508
|
+
})).readonly(),
|
|
23509
|
+
refused: array(object({
|
|
23510
|
+
deviceId: number(),
|
|
23511
|
+
reason: string()
|
|
23512
|
+
})).readonly()
|
|
23513
|
+
}), {
|
|
23514
|
+
kind: "mutation",
|
|
23515
|
+
auth: "admin"
|
|
23450
23516
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23451
23517
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23452
23518
|
deviceKey: string(),
|
|
@@ -23472,22 +23538,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23472
23538
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23473
23539
|
steps: array(PipelineStepInputSchema),
|
|
23474
23540
|
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({
|
|
23541
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23484
23542
|
addonId: string(),
|
|
23485
23543
|
modelId: string(),
|
|
23486
|
-
format: ModelFormatSchema$
|
|
23544
|
+
format: ModelFormatSchema$2
|
|
23487
23545
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23488
23546
|
addonId: string(),
|
|
23489
23547
|
modelId: string(),
|
|
23490
|
-
format: ModelFormatSchema$
|
|
23548
|
+
format: ModelFormatSchema$2
|
|
23491
23549
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23492
23550
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23493
23551
|
frame: FrameInputSchema.optional(),
|
|
@@ -23553,7 +23611,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23553
23611
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23554
23612
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23555
23613
|
*/
|
|
23556
|
-
replay: literal(true).optional()
|
|
23614
|
+
replay: literal(true).optional(),
|
|
23615
|
+
/**
|
|
23616
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23617
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23618
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23619
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23620
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23621
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23622
|
+
*/
|
|
23623
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23557
23624
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23558
23625
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23559
23626
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23635,6 +23702,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23635
23702
|
filename: string().optional(),
|
|
23636
23703
|
settings: record(string(), unknown()).optional()
|
|
23637
23704
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23705
|
+
/**
|
|
23706
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23707
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23708
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23709
|
+
* schemas are what crosses the cap boundary.
|
|
23710
|
+
*/
|
|
23711
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23712
|
+
/** The operator's range for it. */
|
|
23713
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23714
|
+
min: 1,
|
|
23715
|
+
max: 8
|
|
23716
|
+
};
|
|
23717
|
+
var HardwareClassIdSchema = _enum([
|
|
23718
|
+
"intel-core-ultra",
|
|
23719
|
+
"intel-n-series",
|
|
23720
|
+
"apple-m-base",
|
|
23721
|
+
"apple-m-pro",
|
|
23722
|
+
"unknown"
|
|
23723
|
+
]);
|
|
23724
|
+
var AcceleratorKindSchema = _enum([
|
|
23725
|
+
"intel-npu",
|
|
23726
|
+
"intel-igpu",
|
|
23727
|
+
"x86-cpu",
|
|
23728
|
+
"arm-cpu",
|
|
23729
|
+
"apple-ane",
|
|
23730
|
+
"coral"
|
|
23731
|
+
]);
|
|
23732
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23733
|
+
object({
|
|
23734
|
+
kind: literal("capacity"),
|
|
23735
|
+
sessions: number(),
|
|
23736
|
+
minSessions: number()
|
|
23737
|
+
}),
|
|
23738
|
+
object({
|
|
23739
|
+
kind: literal("tie-faster"),
|
|
23740
|
+
over: string(),
|
|
23741
|
+
recallDelta: number()
|
|
23742
|
+
}),
|
|
23743
|
+
object({
|
|
23744
|
+
kind: literal("stepped-down"),
|
|
23745
|
+
from: string(),
|
|
23746
|
+
to: string(),
|
|
23747
|
+
limitedBy: string()
|
|
23748
|
+
}),
|
|
23749
|
+
object({
|
|
23750
|
+
kind: literal("no-fit-lightest"),
|
|
23751
|
+
sessions: number(),
|
|
23752
|
+
minSessions: number()
|
|
23753
|
+
}),
|
|
23754
|
+
object({
|
|
23755
|
+
kind: literal("derived-latency"),
|
|
23756
|
+
modelId: string()
|
|
23757
|
+
}),
|
|
23758
|
+
object({ kind: literal("cpu-device") }),
|
|
23759
|
+
object({ kind: literal("coral-untouched") }),
|
|
23760
|
+
object({ kind: literal("device-disabled") }),
|
|
23761
|
+
object({ kind: literal("device-unavailable") }),
|
|
23762
|
+
object({ kind: literal("node-offline") }),
|
|
23763
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23764
|
+
object({
|
|
23765
|
+
kind: literal("no-measured-data"),
|
|
23766
|
+
hardwareClass: HardwareClassIdSchema
|
|
23767
|
+
}),
|
|
23768
|
+
object({
|
|
23769
|
+
kind: literal("no-family-build"),
|
|
23770
|
+
format: ModelFormatSchema$1
|
|
23771
|
+
})
|
|
23772
|
+
]);
|
|
23773
|
+
var DeviceModelChoiceSchema = object({
|
|
23774
|
+
modelId: string(),
|
|
23775
|
+
p50Ms: number(),
|
|
23776
|
+
fps: number(),
|
|
23777
|
+
measured: boolean(),
|
|
23778
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23779
|
+
capacitySessions: number(),
|
|
23780
|
+
personRecall: number()
|
|
23781
|
+
});
|
|
23782
|
+
var DeviceRecommendationSchema = object({
|
|
23783
|
+
deviceKey: string(),
|
|
23784
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23785
|
+
enabled: boolean(),
|
|
23786
|
+
available: boolean(),
|
|
23787
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23788
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23789
|
+
});
|
|
23790
|
+
var NodeRecommendationSchema = object({
|
|
23791
|
+
nodeId: string(),
|
|
23792
|
+
reachable: boolean(),
|
|
23793
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23794
|
+
cpuModel: string().nullable(),
|
|
23795
|
+
skipped: boolean(),
|
|
23796
|
+
acceleratorModelId: string().nullable(),
|
|
23797
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23798
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23799
|
+
});
|
|
23800
|
+
var ModelPinChangeSchema = object({
|
|
23801
|
+
stepId: string(),
|
|
23802
|
+
before: string().nullable(),
|
|
23803
|
+
after: string().nullable()
|
|
23804
|
+
});
|
|
23805
|
+
var NodeDeviceChangeSchema = object({
|
|
23806
|
+
nodeId: string(),
|
|
23807
|
+
deviceKey: string(),
|
|
23808
|
+
madeExplicit: boolean(),
|
|
23809
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23810
|
+
thresholds: array(object({
|
|
23811
|
+
stepId: string(),
|
|
23812
|
+
keys: array(string()).readonly()
|
|
23813
|
+
})).readonly()
|
|
23814
|
+
});
|
|
23815
|
+
var CameraOverrideClearSchema = object({
|
|
23816
|
+
deviceId: number(),
|
|
23817
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23818
|
+
nodeId: string(),
|
|
23819
|
+
deviceKey: string().nullable(),
|
|
23820
|
+
stepId: string(),
|
|
23821
|
+
modelIdBefore: string().nullable(),
|
|
23822
|
+
keys: array(string()).readonly()
|
|
23823
|
+
});
|
|
23824
|
+
var DetectorStoreClearSchema = object({
|
|
23825
|
+
deviceId: number(),
|
|
23826
|
+
keys: array(string()).readonly()
|
|
23827
|
+
});
|
|
23828
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23829
|
+
object({
|
|
23830
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23831
|
+
skippedNodes: array(string()).readonly()
|
|
23832
|
+
}),
|
|
23833
|
+
object({
|
|
23834
|
+
kind: literal("detector-store-unreadable"),
|
|
23835
|
+
error: string()
|
|
23836
|
+
}),
|
|
23837
|
+
object({
|
|
23838
|
+
kind: literal("coral-enabled"),
|
|
23839
|
+
nodeId: string(),
|
|
23840
|
+
deviceKey: string()
|
|
23841
|
+
})
|
|
23842
|
+
]);
|
|
23843
|
+
var AutoTuneOptionsSchema = object({
|
|
23844
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
23845
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23846
|
+
/**
|
|
23847
|
+
* The least number of parallel sessions every device must sustain at the
|
|
23848
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
23849
|
+
* that reaches it wins.
|
|
23850
|
+
*/
|
|
23851
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23852
|
+
});
|
|
23853
|
+
var AutoTunePlanSchema = object({
|
|
23854
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
23855
|
+
planHash: string(),
|
|
23856
|
+
family: literal("yolov9"),
|
|
23857
|
+
headroom: number(),
|
|
23858
|
+
minSessionsPerDevice: number(),
|
|
23859
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
23860
|
+
cameraFps: number(),
|
|
23861
|
+
generatedAt: number(),
|
|
23862
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
23863
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
23864
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
23865
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
23866
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
23867
|
+
});
|
|
23868
|
+
var AutoTuneApplyInputSchema = object({
|
|
23869
|
+
planHash: string(),
|
|
23870
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23871
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23872
|
+
});
|
|
23873
|
+
var AutoTunePhaseResultSchema = object({
|
|
23874
|
+
phase: _enum([
|
|
23875
|
+
"download",
|
|
23876
|
+
"camera-overrides",
|
|
23877
|
+
"detector-thresholds",
|
|
23878
|
+
"node-models",
|
|
23879
|
+
"redispatch"
|
|
23880
|
+
]),
|
|
23881
|
+
ok: boolean(),
|
|
23882
|
+
detail: string()
|
|
23883
|
+
});
|
|
23884
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
23885
|
+
object({
|
|
23886
|
+
kind: literal("applied"),
|
|
23887
|
+
planHash: string(),
|
|
23888
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23889
|
+
}),
|
|
23890
|
+
object({
|
|
23891
|
+
kind: literal("aborted"),
|
|
23892
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23893
|
+
}),
|
|
23894
|
+
object({
|
|
23895
|
+
kind: literal("stale"),
|
|
23896
|
+
plan: AutoTunePlanSchema
|
|
23897
|
+
}),
|
|
23898
|
+
object({
|
|
23899
|
+
kind: literal("refused"),
|
|
23900
|
+
reason: _enum(["apply-in-progress"])
|
|
23901
|
+
})
|
|
23902
|
+
]);
|
|
23903
|
+
/**
|
|
23904
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
23905
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
23906
|
+
* hardware share suggestion and the stale device pins.
|
|
23907
|
+
*/
|
|
23908
|
+
/**
|
|
23909
|
+
* How a new detection session picks its node and device.
|
|
23910
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
23911
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
23912
|
+
* weight only bites once a node already holds a session.
|
|
23913
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
23914
|
+
* full or drowning node yields to a free one (D748).
|
|
23915
|
+
*/
|
|
23916
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
23917
|
+
var LoadBalancingSharesInputSchema = object({
|
|
23918
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
23919
|
+
nodes: record(string(), number().positive()).default({}),
|
|
23920
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
23921
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
23922
|
+
});
|
|
23923
|
+
var PlacementStatsInputSchema = object({
|
|
23924
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
23925
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
23926
|
+
var PlacementDeviceStatsSchema = object({
|
|
23927
|
+
deviceKey: string(),
|
|
23928
|
+
/** Sessions running on this device now. */
|
|
23929
|
+
sessionsNow: number(),
|
|
23930
|
+
/** Sessions started on this device inside the window. */
|
|
23931
|
+
sessionsStarted: number(),
|
|
23932
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
23933
|
+
observedShare: number().nullable()
|
|
23934
|
+
});
|
|
23935
|
+
var PlacementNodeStatsSchema = object({
|
|
23936
|
+
nodeId: string(),
|
|
23937
|
+
sessionsNow: number(),
|
|
23938
|
+
sessionsStarted: number(),
|
|
23939
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
23940
|
+
observedShare: number().nullable(),
|
|
23941
|
+
/** Most sessions this node ran at once inside the window. */
|
|
23942
|
+
peakSessions: number(),
|
|
23943
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
23944
|
+
yieldsAway: number(),
|
|
23945
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
23946
|
+
});
|
|
23947
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
23948
|
+
var StaleDevicePinSchema = object({
|
|
23949
|
+
deviceId: number(),
|
|
23950
|
+
deviceKey: string(),
|
|
23951
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
23952
|
+
reason: _enum(["disabled", "absent"])
|
|
23953
|
+
});
|
|
23954
|
+
var PlacementStatsSchema = object({
|
|
23955
|
+
policy: SessionPlacementPolicySchema,
|
|
23956
|
+
windowMs: number(),
|
|
23957
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
23958
|
+
observedForMs: number(),
|
|
23959
|
+
sessionsNow: number(),
|
|
23960
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
23961
|
+
clusterPeakSessions: number(),
|
|
23962
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
23963
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
23964
|
+
});
|
|
23965
|
+
/**
|
|
23966
|
+
* Where an automatic share's capacity comes from (D755).
|
|
23967
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
23968
|
+
* the measured latency table for the node's hardware class.
|
|
23969
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
23970
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
23971
|
+
*/
|
|
23972
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
23973
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
23974
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
23975
|
+
var SuggestSharesInputSchema = object({
|
|
23976
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23977
|
+
/** Default `hardware`. */
|
|
23978
|
+
source: CapacitySourceSchema.default("hardware")
|
|
23979
|
+
});
|
|
23980
|
+
var SuggestedDeviceShareSchema = object({
|
|
23981
|
+
deviceKey: string(),
|
|
23982
|
+
/** Share of the node (0–100, rounded). */
|
|
23983
|
+
share: number(),
|
|
23984
|
+
modelId: string().nullable(),
|
|
23985
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
23986
|
+
fps: number().nullable(),
|
|
23987
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
23988
|
+
measured: boolean(),
|
|
23989
|
+
/**
|
|
23990
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
23991
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
23992
|
+
*/
|
|
23993
|
+
suggestedMaxSessions: number().nullable()
|
|
23994
|
+
});
|
|
23995
|
+
var SuggestedNodeShareSchema = object({
|
|
23996
|
+
nodeId: string(),
|
|
23997
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
23998
|
+
share: number().nullable(),
|
|
23999
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24000
|
+
capacitySessions: number(),
|
|
24001
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24002
|
+
skippedReason: string().nullable(),
|
|
24003
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24004
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24005
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24006
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24007
|
+
});
|
|
24008
|
+
var SuggestSharesResultSchema = object({
|
|
24009
|
+
headroom: number(),
|
|
24010
|
+
/** The source asked for; each node says what it actually used. */
|
|
24011
|
+
source: CapacitySourceSchema,
|
|
24012
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24013
|
+
cameraFps: number(),
|
|
24014
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24015
|
+
minSessionsPerDevice: number(),
|
|
24016
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24017
|
+
});
|
|
24018
|
+
/**
|
|
24019
|
+
* Where the node and device shares come from (D750, D755).
|
|
24020
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24021
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24022
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24023
|
+
* switched on or off, or changes model. No load input.
|
|
24024
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24025
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24026
|
+
* - `manual` — the operator's stored sliders.
|
|
24027
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24028
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24029
|
+
*/
|
|
24030
|
+
var ShareSourceSchema = _enum([
|
|
24031
|
+
"hardware",
|
|
24032
|
+
"benchmark",
|
|
24033
|
+
"manual"
|
|
24034
|
+
]);
|
|
24035
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24036
|
+
object({
|
|
24037
|
+
nodes: record(string(), number()),
|
|
24038
|
+
devices: record(string(), record(string(), number()))
|
|
24039
|
+
});
|
|
24040
|
+
var EffectiveDeviceShareSchema = object({
|
|
24041
|
+
deviceKey: string(),
|
|
24042
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24043
|
+
eligible: boolean(),
|
|
24044
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24045
|
+
configuredPct: number(),
|
|
24046
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24047
|
+
effectivePct: number()
|
|
24048
|
+
});
|
|
24049
|
+
var EffectiveNodeShareSchema = object({
|
|
24050
|
+
nodeId: string(),
|
|
24051
|
+
eligible: boolean(),
|
|
24052
|
+
configuredPct: number(),
|
|
24053
|
+
effectivePct: number(),
|
|
24054
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24055
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24056
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24057
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24058
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24059
|
+
});
|
|
24060
|
+
var EffectiveSharesSchema = object({
|
|
24061
|
+
source: ShareSourceSchema,
|
|
24062
|
+
policy: SessionPlacementPolicySchema,
|
|
24063
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24064
|
+
autoPending: boolean(),
|
|
24065
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24066
|
+
computedAt: number().nullable(),
|
|
24067
|
+
/** What made the system recompute them last. */
|
|
24068
|
+
trigger: string().nullable(),
|
|
24069
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24070
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24071
|
+
nodeWeights: record(string(), number()),
|
|
24072
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24073
|
+
});
|
|
23638
24074
|
object({
|
|
23639
24075
|
activeCameras: number(),
|
|
23640
24076
|
throttledCameras: number(),
|
|
@@ -24078,6 +24514,22 @@ var MotionSourceEnum = _enum([
|
|
|
24078
24514
|
"device-activity"
|
|
24079
24515
|
]);
|
|
24080
24516
|
/**
|
|
24517
|
+
* What opened an on-motion detection SESSION: the motion source that passed the
|
|
24518
|
+
* camera's `motionSources` gate, and what raised it (the camera itself, or a
|
|
24519
|
+
* sensor the operator attached — D672). `sensorName` is the attached sensor's
|
|
24520
|
+
* device name as the orchestrator's camera-sensors resolution last read it;
|
|
24521
|
+
* absent when unknown or when the camera itself triggered.
|
|
24522
|
+
*
|
|
24523
|
+
* Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
|
|
24524
|
+
* can say what started the session (D672 rule 11, amended 2026-10-06). The
|
|
24525
|
+
* runner never decides anything on it.
|
|
24526
|
+
*/
|
|
24527
|
+
var SessionTriggerSchema = object({
|
|
24528
|
+
source: MotionSourceEnum,
|
|
24529
|
+
triggeredBy: MotionTriggeredBySchema,
|
|
24530
|
+
sensorName: string().optional()
|
|
24531
|
+
});
|
|
24532
|
+
/**
|
|
24081
24533
|
* List of motion sources active on a camera. Empty array is valid:
|
|
24082
24534
|
* "no source" — happens for battery cams without firmware motion when
|
|
24083
24535
|
* the operator hasn't opted into the SW analyzer (would hold the
|
|
@@ -24329,6 +24781,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
24329
24781
|
*/
|
|
24330
24782
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
24331
24783
|
/**
|
|
24784
|
+
* What opened this attach, on a SESSION attach only (see
|
|
24785
|
+
* {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
|
|
24786
|
+
* standing attach, an occupancy burst, a re-dispatch with no motion event
|
|
24787
|
+
* behind it, and every attach from an orchestrator older than the field — the
|
|
24788
|
+
* runner then names no source on the phase event.
|
|
24789
|
+
*/
|
|
24790
|
+
sessionTrigger: SessionTriggerSchema.optional(),
|
|
24791
|
+
/**
|
|
24332
24792
|
* WHICH root detector runs for this camera. The detection counterpart of
|
|
24333
24793
|
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
24334
24794
|
* of sources the system understands, vendor-agnostic, owned here.
|
|
@@ -24488,14 +24948,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24488
24948
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24489
24949
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24490
24950
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24491
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24492
|
-
* per
|
|
24951
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
24952
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
24953
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
24954
|
+
* (D762).
|
|
24493
24955
|
*/
|
|
24494
24956
|
devices: array(object({
|
|
24495
24957
|
deviceKey: string(),
|
|
24496
24958
|
backend: string(),
|
|
24497
|
-
attachedCameras: number()
|
|
24498
|
-
queueDepthTotal: number()
|
|
24959
|
+
attachedCameras: number()
|
|
24499
24960
|
})).default([]),
|
|
24500
24961
|
/** Hardware capability flags reported by this node. */
|
|
24501
24962
|
hardware: object({
|
|
@@ -24631,7 +25092,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24631
25092
|
*/
|
|
24632
25093
|
cropJpeg: string().optional(),
|
|
24633
25094
|
parent: DetailParentSchema,
|
|
24634
|
-
steps: array(string()).optional()
|
|
25095
|
+
steps: array(string()).optional(),
|
|
25096
|
+
/**
|
|
25097
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25098
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25099
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25100
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25101
|
+
* requested step infers as before.
|
|
25102
|
+
*/
|
|
25103
|
+
supplied: object({
|
|
25104
|
+
stepId: string(),
|
|
25105
|
+
modelId: string(),
|
|
25106
|
+
boxes: array(object({
|
|
25107
|
+
bbox: NativeCropBboxSchema,
|
|
25108
|
+
score: number()
|
|
25109
|
+
})).min(1)
|
|
25110
|
+
}).optional()
|
|
24635
25111
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24636
25112
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24637
25113
|
stepId: string(),
|
|
@@ -24694,14 +25170,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24694
25170
|
settings: record(string(), unknown()).readonly().optional()
|
|
24695
25171
|
}).nullable().optional()
|
|
24696
25172
|
});
|
|
24697
|
-
var PipelineTemplateSchema = object({
|
|
24698
|
-
id: string(),
|
|
24699
|
-
name: string(),
|
|
24700
|
-
description: string().optional(),
|
|
24701
|
-
config: CameraPipelineConfigSchema,
|
|
24702
|
-
createdAt: string(),
|
|
24703
|
-
updatedAt: string()
|
|
24704
|
-
});
|
|
24705
25173
|
var DeviceStepConfigSchema = object({
|
|
24706
25174
|
modelId: string().optional(),
|
|
24707
25175
|
settings: record(string(), unknown()).optional(),
|
|
@@ -24775,9 +25243,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
24775
25243
|
modelId: string().optional(),
|
|
24776
25244
|
settings: record(string(), unknown()).readonly().optional()
|
|
24777
25245
|
});
|
|
25246
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
24778
25247
|
var CameraPipelineSettingsSchema = object({
|
|
24779
|
-
pinnedAgentNodeId: string().optional(),
|
|
24780
25248
|
stepToggles: record(string(), boolean()).optional(),
|
|
25249
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
24781
25250
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
24782
25251
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
24783
25252
|
});
|
|
@@ -24810,7 +25279,10 @@ var PipelineAssignmentSchema = object({
|
|
|
24810
25279
|
});
|
|
24811
25280
|
/**
|
|
24812
25281
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
24813
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25282
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25283
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25284
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25285
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
24814
25286
|
*/
|
|
24815
25287
|
var AgentLoadSummarySchema = object({
|
|
24816
25288
|
nodeId: string(),
|
|
@@ -24899,26 +25371,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
24899
25371
|
width: number(),
|
|
24900
25372
|
height: number(),
|
|
24901
25373
|
subscribers: number(),
|
|
24902
|
-
|
|
24903
|
-
|
|
25374
|
+
/**
|
|
25375
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25376
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25377
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25378
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25379
|
+
* camera and is not served (D758).
|
|
25380
|
+
*/
|
|
25381
|
+
inFps: number().nullable()
|
|
24904
25382
|
})).readonly(),
|
|
24905
25383
|
webrtcSessions: number(),
|
|
24906
25384
|
rtspRestream: boolean()
|
|
24907
25385
|
});
|
|
24908
|
-
/**
|
|
24909
|
-
|
|
24910
|
-
|
|
24911
|
-
|
|
24912
|
-
|
|
24913
|
-
|
|
24914
|
-
|
|
24915
|
-
|
|
24916
|
-
var CameraDecoderStatusSchema = object({
|
|
24917
|
-
nodeId: string(),
|
|
24918
|
-
formats: array(string()).readonly(),
|
|
24919
|
-
sessionCount: number(),
|
|
24920
|
-
shm: CameraDecoderShmSchema
|
|
24921
|
-
});
|
|
25386
|
+
/**
|
|
25387
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25388
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25389
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25390
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25391
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25392
|
+
* detector), never from a counter nothing feeds.
|
|
25393
|
+
*/
|
|
25394
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
24922
25395
|
/** Motion block — null when motion detection is not active for this device. */
|
|
24923
25396
|
var CameraMotionStatusSchema = object({
|
|
24924
25397
|
enabled: boolean(),
|
|
@@ -25275,12 +25748,6 @@ method(object({
|
|
|
25275
25748
|
}), object({ success: literal(true) }), {
|
|
25276
25749
|
kind: "mutation",
|
|
25277
25750
|
auth: "admin"
|
|
25278
|
-
}), method(object({
|
|
25279
|
-
agentNodeId: string(),
|
|
25280
|
-
detectWeight: number().positive().nullable()
|
|
25281
|
-
}), object({ success: literal(true) }), {
|
|
25282
|
-
kind: "mutation",
|
|
25283
|
-
auth: "admin"
|
|
25284
25751
|
}), method(object({
|
|
25285
25752
|
agentNodeId: string(),
|
|
25286
25753
|
detect: boolean().nullable().optional(),
|
|
@@ -25322,6 +25789,15 @@ method(object({
|
|
|
25322
25789
|
}), {
|
|
25323
25790
|
kind: "mutation",
|
|
25324
25791
|
auth: "admin"
|
|
25792
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25793
|
+
kind: "mutation",
|
|
25794
|
+
auth: "admin"
|
|
25795
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
25796
|
+
kind: "mutation",
|
|
25797
|
+
auth: "admin"
|
|
25798
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
25799
|
+
kind: "mutation",
|
|
25800
|
+
auth: "admin"
|
|
25325
25801
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25326
25802
|
deviceId: number(),
|
|
25327
25803
|
addonId: string(),
|
|
@@ -25338,6 +25814,13 @@ method(object({
|
|
|
25338
25814
|
}), object({ success: literal(true) }), {
|
|
25339
25815
|
kind: "mutation",
|
|
25340
25816
|
auth: "admin"
|
|
25817
|
+
}), method(object({
|
|
25818
|
+
deviceId: number(),
|
|
25819
|
+
addonId: string(),
|
|
25820
|
+
settings: record(string(), unknown()).nullable()
|
|
25821
|
+
}), object({ success: literal(true) }), {
|
|
25822
|
+
kind: "mutation",
|
|
25823
|
+
auth: "admin"
|
|
25341
25824
|
}), method(object({
|
|
25342
25825
|
deviceId: number(),
|
|
25343
25826
|
agentNodeId: string(),
|
|
@@ -25361,25 +25844,7 @@ method(object({
|
|
|
25361
25844
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25362
25845
|
kind: "mutation",
|
|
25363
25846
|
auth: "admin"
|
|
25364
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25365
|
-
name: string(),
|
|
25366
|
-
description: string().optional(),
|
|
25367
|
-
config: CameraPipelineConfigSchema
|
|
25368
|
-
}), PipelineTemplateSchema, {
|
|
25369
|
-
kind: "mutation",
|
|
25370
|
-
auth: "admin"
|
|
25371
|
-
}), method(object({
|
|
25372
|
-
id: string(),
|
|
25373
|
-
name: string().optional(),
|
|
25374
|
-
description: string().optional(),
|
|
25375
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25376
|
-
}), PipelineTemplateSchema, {
|
|
25377
|
-
kind: "mutation",
|
|
25378
|
-
auth: "admin"
|
|
25379
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25380
|
-
kind: "mutation",
|
|
25381
|
-
auth: "admin"
|
|
25382
|
-
});
|
|
25847
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25383
25848
|
/**
|
|
25384
25849
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25385
25850
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26073,7 +26538,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26073
26538
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26074
26539
|
* operator already consented to.
|
|
26075
26540
|
*/
|
|
26076
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26541
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26542
|
+
/**
|
|
26543
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26544
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26545
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26546
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26547
|
+
*/
|
|
26548
|
+
linkIntent: string().optional(),
|
|
26549
|
+
/**
|
|
26550
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26551
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26552
|
+
*/
|
|
26553
|
+
issuer: string().optional()
|
|
26077
26554
|
});
|
|
26078
26555
|
method(object({
|
|
26079
26556
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -27703,8 +28180,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27703
28180
|
]).nullable(),
|
|
27704
28181
|
/** Input FPS from the camera (null for adaptive). */
|
|
27705
28182
|
inputFps: number().nullable(),
|
|
27706
|
-
/** Decoded FPS (null for adaptive). */
|
|
27707
|
-
decodeFps: number().nullable(),
|
|
27708
28183
|
/** Bitrate in kbps (null for adaptive). */
|
|
27709
28184
|
bitrateKbps: number().nullable()
|
|
27710
28185
|
});
|
|
@@ -27981,7 +28456,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
27981
28456
|
* field their hints were silently stripped by the schema and the
|
|
27982
28457
|
* adaptive ladder started blind on the client's display size.
|
|
27983
28458
|
*/
|
|
27984
|
-
hints: webrtcClientHintsSchema.optional()
|
|
28459
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
28460
|
+
/**
|
|
28461
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
28462
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
28463
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
28464
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
28465
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
28466
|
+
*
|
|
28467
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
28468
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
28469
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
28470
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
28471
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
28472
|
+
* flag must not become a second door to the camera's speaker.
|
|
28473
|
+
*/
|
|
28474
|
+
talkback: boolean().optional()
|
|
27985
28475
|
}), object({
|
|
27986
28476
|
sessionId: string(),
|
|
27987
28477
|
sdpAnswer: string()
|
|
@@ -28036,6 +28526,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28036
28526
|
*/
|
|
28037
28527
|
alive: boolean()
|
|
28038
28528
|
})), method(object({
|
|
28529
|
+
deviceId: number().int().nonnegative(),
|
|
28530
|
+
sessionId: string(),
|
|
28531
|
+
downlinkMbps: number().nonnegative()
|
|
28532
|
+
}), object({
|
|
28533
|
+
outcome: _enum(["switching", "held"]),
|
|
28534
|
+
tier: CamProfileSchema.nullable(),
|
|
28535
|
+
reason: string()
|
|
28536
|
+
}), { kind: "mutation" }), method(object({
|
|
28039
28537
|
deviceId: number().int().nonnegative(),
|
|
28040
28538
|
sessionId: string()
|
|
28041
28539
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28275,6 +28773,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28275
28773
|
var RestartAddonResultSchema = unknown();
|
|
28276
28774
|
var InstallPackageResultSchema = unknown();
|
|
28277
28775
|
var ReloadPackagesResultSchema = unknown();
|
|
28776
|
+
/**
|
|
28777
|
+
* What an uninstall did on ONE node.
|
|
28778
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28779
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28780
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28781
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28782
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28783
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28784
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28785
|
+
*/
|
|
28786
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28787
|
+
"uninstalled",
|
|
28788
|
+
"not-installed",
|
|
28789
|
+
"refused",
|
|
28790
|
+
"failed",
|
|
28791
|
+
"pending-reconnect"
|
|
28792
|
+
]);
|
|
28793
|
+
var UninstallNodeResultSchema = object({
|
|
28794
|
+
nodeId: string(),
|
|
28795
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28796
|
+
error: string().optional(),
|
|
28797
|
+
addonIds: array(string()).readonly(),
|
|
28798
|
+
runnersStopped: array(string()).readonly(),
|
|
28799
|
+
warnings: array(string()).readonly()
|
|
28800
|
+
});
|
|
28801
|
+
var UninstallPackageResultSchema = object({
|
|
28802
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28803
|
+
success: boolean(),
|
|
28804
|
+
packageName: string(),
|
|
28805
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28806
|
+
});
|
|
28807
|
+
/**
|
|
28808
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28809
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28810
|
+
*/
|
|
28811
|
+
var PackageInstallationsSchema = object({
|
|
28812
|
+
installations: array(object({
|
|
28813
|
+
packageName: string(),
|
|
28814
|
+
nodeId: string(),
|
|
28815
|
+
nodeName: string(),
|
|
28816
|
+
isHub: boolean(),
|
|
28817
|
+
isOnline: boolean(),
|
|
28818
|
+
version: string().nullable(),
|
|
28819
|
+
addonIds: array(string()).readonly(),
|
|
28820
|
+
source: _enum(["live", "recorded"]),
|
|
28821
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28822
|
+
onHub: boolean()
|
|
28823
|
+
})).readonly(),
|
|
28824
|
+
unreachable: array(object({
|
|
28825
|
+
nodeId: string(),
|
|
28826
|
+
error: string()
|
|
28827
|
+
})).readonly()
|
|
28828
|
+
});
|
|
28278
28829
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28279
28830
|
"queued",
|
|
28280
28831
|
"updating",
|
|
@@ -28357,10 +28908,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28357
28908
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28358
28909
|
kind: "mutation",
|
|
28359
28910
|
auth: "admin"
|
|
28360
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28911
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28912
|
+
packageName: string().min(1),
|
|
28913
|
+
nodeId: string().optional(),
|
|
28914
|
+
everywhere: boolean().optional()
|
|
28915
|
+
}), UninstallPackageResultSchema, {
|
|
28361
28916
|
kind: "mutation",
|
|
28362
28917
|
auth: "admin"
|
|
28363
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28918
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28364
28919
|
kind: "mutation",
|
|
28365
28920
|
auth: "admin"
|
|
28366
28921
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -30656,7 +31211,7 @@ var LocalInterfaceSchema = object({
|
|
|
30656
31211
|
name: string(),
|
|
30657
31212
|
family: _enum(["IPv4", "IPv6"]),
|
|
30658
31213
|
address: string(),
|
|
30659
|
-
/** CIDR shorthand (e.g. `192.168.
|
|
31214
|
+
/** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
|
|
30660
31215
|
cidr: string(),
|
|
30661
31216
|
/** OS netmask. Stable across calls so the SDK can hash on it. */
|
|
30662
31217
|
netmask: string(),
|
|
@@ -30710,7 +31265,9 @@ var ConnectionEndpointSchema = object({
|
|
|
30710
31265
|
"lan-ipv4",
|
|
30711
31266
|
"lan-ipv6",
|
|
30712
31267
|
"public",
|
|
30713
|
-
"loopback"
|
|
31268
|
+
"loopback",
|
|
31269
|
+
"app-link",
|
|
31270
|
+
"custom"
|
|
30714
31271
|
]),
|
|
30715
31272
|
/**
|
|
30716
31273
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -30779,15 +31336,27 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
30779
31336
|
localPort: AdvertisedLocalPortSchema
|
|
30780
31337
|
});
|
|
30781
31338
|
/**
|
|
30782
|
-
* The
|
|
30783
|
-
*
|
|
30784
|
-
*
|
|
31339
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
31340
|
+
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
31341
|
+
* so the UI can show it either way.
|
|
30785
31342
|
*/
|
|
30786
31343
|
var NotificationEndpointSchema = object({
|
|
30787
31344
|
/** The operator's explicit choice, or null for AUTO. */
|
|
30788
31345
|
baseUrl: string().nullable(),
|
|
30789
|
-
/**
|
|
30790
|
-
|
|
31346
|
+
/**
|
|
31347
|
+
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
31348
|
+
* CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
|
|
31349
|
+
* answered the public tunnel / mesh here, or null.
|
|
31350
|
+
*/
|
|
31351
|
+
resolved: string().nullable(),
|
|
31352
|
+
/**
|
|
31353
|
+
* The hub origin an app link carries as `hub=` (D709): the hub's best
|
|
31354
|
+
* public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
|
|
31355
|
+
* picked from this cap's own palette by `pickAppLinkHub`. `null` when the
|
|
31356
|
+
* hub advertises neither; the app link is then minted without `hub=`.
|
|
31357
|
+
* Absent on a pre-D709 hub.
|
|
31358
|
+
*/
|
|
31359
|
+
appLinkHub: string().nullable()
|
|
30791
31360
|
});
|
|
30792
31361
|
/**
|
|
30793
31362
|
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
@@ -30800,6 +31369,72 @@ var ViewerEndpointsSchema = object({
|
|
|
30800
31369
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
30801
31370
|
resolved: array(string()).readonly()
|
|
30802
31371
|
});
|
|
31372
|
+
/**
|
|
31373
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
31374
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
31375
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
31376
|
+
*/
|
|
31377
|
+
var HubAddressSnapshotSchema = object({
|
|
31378
|
+
override: string().nullable(),
|
|
31379
|
+
resolved: string().nullable(),
|
|
31380
|
+
source: _enum([
|
|
31381
|
+
"override",
|
|
31382
|
+
"auto",
|
|
31383
|
+
"none"
|
|
31384
|
+
])
|
|
31385
|
+
});
|
|
31386
|
+
var HubAddressesSchema = object({
|
|
31387
|
+
cluster: HubAddressSnapshotSchema,
|
|
31388
|
+
browser: HubAddressSnapshotSchema
|
|
31389
|
+
});
|
|
31390
|
+
/**
|
|
31391
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
31392
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
31393
|
+
* by at most one address.
|
|
31394
|
+
*/
|
|
31395
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
31396
|
+
var RoleSourceSchema = _enum([
|
|
31397
|
+
"flagged",
|
|
31398
|
+
"auto",
|
|
31399
|
+
"none"
|
|
31400
|
+
]);
|
|
31401
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
31402
|
+
var HubAddressRoleResolutionSchema = object({
|
|
31403
|
+
/** The address carrying the flag, or null = automatic. */
|
|
31404
|
+
flagged: string().nullable(),
|
|
31405
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
31406
|
+
resolved: string().nullable(),
|
|
31407
|
+
source: RoleSourceSchema
|
|
31408
|
+
});
|
|
31409
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
31410
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
31411
|
+
flagged: array(string()).readonly(),
|
|
31412
|
+
/** What the apps race right now. */
|
|
31413
|
+
resolved: array(string()).readonly(),
|
|
31414
|
+
source: RoleSourceSchema
|
|
31415
|
+
});
|
|
31416
|
+
var HubAddressBookSchema = object({
|
|
31417
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
31418
|
+
/** In the hub's detected palette right now. */
|
|
31419
|
+
detected: boolean(),
|
|
31420
|
+
/** Entered by the operator (removable). */
|
|
31421
|
+
custom: boolean(),
|
|
31422
|
+
/** The roles explicitly flagged on this address. */
|
|
31423
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
31424
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
31425
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
31426
|
+
/** The roles this address may be flagged with. */
|
|
31427
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
31428
|
+
})).readonly(),
|
|
31429
|
+
roles: object({
|
|
31430
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
31431
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
31432
|
+
internal: HubAddressRoleResolutionSchema,
|
|
31433
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
31434
|
+
}),
|
|
31435
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
31436
|
+
appLinkHub: string().nullable()
|
|
31437
|
+
});
|
|
30803
31438
|
var AllowedAddressesSchema = object({
|
|
30804
31439
|
/**
|
|
30805
31440
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30841,8 +31476,29 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30841
31476
|
* Pass `'https'` when the caller is itself loaded over HTTPS
|
|
30842
31477
|
* to avoid mixed-content blocks in the browser. The public
|
|
30843
31478
|
* tunnel always emits `https://` regardless. */
|
|
30844
|
-
scheme: _enum(["http", "https"]).optional()
|
|
30845
|
-
|
|
31479
|
+
scheme: _enum(["http", "https"]).optional(),
|
|
31480
|
+
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
31481
|
+
* an address notification taps can be flagged with, not a hub
|
|
31482
|
+
* route. Default `false`: racers and rankers never see it. */
|
|
31483
|
+
includeAppLink: boolean().optional()
|
|
31484
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
31485
|
+
baseUrl: string(),
|
|
31486
|
+
label: string().max(80)
|
|
31487
|
+
}), HubAddressBookSchema, {
|
|
31488
|
+
kind: "mutation",
|
|
31489
|
+
auth: "admin"
|
|
31490
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
31491
|
+
kind: "mutation",
|
|
31492
|
+
auth: "admin"
|
|
31493
|
+
}), method(object({
|
|
31494
|
+
role: HubAddressRoleSchema,
|
|
31495
|
+
baseUrl: string().nullable(),
|
|
31496
|
+
enabled: boolean(),
|
|
31497
|
+
acceptInsecureHttp: boolean().optional()
|
|
31498
|
+
}), HubAddressBookSchema, {
|
|
31499
|
+
kind: "mutation",
|
|
31500
|
+
auth: "admin"
|
|
31501
|
+
}), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
30846
31502
|
kind: "mutation",
|
|
30847
31503
|
auth: "admin"
|
|
30848
31504
|
}), method(object({
|
|
@@ -31102,7 +31758,7 @@ var MeshPeerSchema = object({
|
|
|
31102
31758
|
tags: array(string()).readonly(),
|
|
31103
31759
|
/** True when the peer advertises itself as an exit-node candidate. */
|
|
31104
31760
|
exitNodeOption: boolean(),
|
|
31105
|
-
/** Subnet routes the peer advertises (e.g. `["192.168.
|
|
31761
|
+
/** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
|
|
31106
31762
|
advertisedRoutes: array(string()).readonly(),
|
|
31107
31763
|
/** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
|
|
31108
31764
|
userLogin: string().nullable(),
|
|
@@ -31232,7 +31888,8 @@ object({
|
|
|
31232
31888
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
31233
31889
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
31234
31890
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
31235
|
-
* A provider's `isDetected`
|
|
31891
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31892
|
+
* (`hubMotionNativeProvider`).
|
|
31236
31893
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
31237
31894
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
31238
31895
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -32046,7 +32703,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
32046
32703
|
*/
|
|
32047
32704
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
32048
32705
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
32049
|
-
readOnly: boolean().optional()
|
|
32706
|
+
readOnly: boolean().optional(),
|
|
32707
|
+
/**
|
|
32708
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
32709
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
32710
|
+
* copy on the binding.
|
|
32711
|
+
*/
|
|
32712
|
+
maxCharacters: number().int().positive().optional()
|
|
32050
32713
|
})).readonly() });
|
|
32051
32714
|
var OsdOverlayPatchSchema = object({
|
|
32052
32715
|
enabled: boolean().optional(),
|
|
@@ -32097,7 +32760,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
32097
32760
|
valuePath: string().min(1).max(64),
|
|
32098
32761
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
32099
32762
|
displayUnit: string().max(16).optional(),
|
|
32100
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
32763
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
32764
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
32765
|
+
valueMap: record(string(), string()).optional()
|
|
32101
32766
|
});
|
|
32102
32767
|
/**
|
|
32103
32768
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -32147,18 +32812,11 @@ var OsdSlotBindingSchema = object({
|
|
|
32147
32812
|
source: OsdSourceSchema,
|
|
32148
32813
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
32149
32814
|
template: string().max(96).default("${value}"),
|
|
32150
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
32151
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
32152
32815
|
/**
|
|
32153
32816
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
32154
32817
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
32155
32818
|
*/
|
|
32156
32819
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
32157
|
-
/**
|
|
32158
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
32159
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
32160
|
-
*/
|
|
32161
|
-
unitLabel: string().max(8).optional(),
|
|
32162
32820
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
32163
32821
|
valueMap: record(string(), string()).optional(),
|
|
32164
32822
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -32167,9 +32825,7 @@ var OsdSlotBindingSchema = object({
|
|
|
32167
32825
|
* Display gate, in the notification centre's condition vocabulary.
|
|
32168
32826
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
32169
32827
|
*/
|
|
32170
|
-
conditions: NcConditionsSchema.optional()
|
|
32171
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
32172
|
-
fallbackText: string().max(64).default("")
|
|
32828
|
+
conditions: NcConditionsSchema.optional()
|
|
32173
32829
|
});
|
|
32174
32830
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
32175
32831
|
var OsdSlotViewSchema = object({
|
|
@@ -35951,6 +36607,32 @@ var TotpStatusSchema = object({
|
|
|
35951
36607
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
35952
36608
|
confirmedAt: number().nullable()
|
|
35953
36609
|
});
|
|
36610
|
+
/**
|
|
36611
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
36612
|
+
* and scoped tokens.
|
|
36613
|
+
*
|
|
36614
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
36615
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
36616
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
36617
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
36618
|
+
* provider.
|
|
36619
|
+
*/
|
|
36620
|
+
var ExternalIdentitySchema = object({
|
|
36621
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
36622
|
+
provider: string(),
|
|
36623
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
36624
|
+
subject: string(),
|
|
36625
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
36626
|
+
issuer: string(),
|
|
36627
|
+
userId: string(),
|
|
36628
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
36629
|
+
label: string().optional(),
|
|
36630
|
+
linkedAt: number()
|
|
36631
|
+
});
|
|
36632
|
+
var ExternalIdentityKeySchema = object({
|
|
36633
|
+
provider: string().min(1),
|
|
36634
|
+
subject: string().min(1)
|
|
36635
|
+
});
|
|
35954
36636
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
35955
36637
|
kind: "mutation",
|
|
35956
36638
|
auth: "admin",
|
|
@@ -36064,7 +36746,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
36064
36746
|
userId: string(),
|
|
36065
36747
|
username: string(),
|
|
36066
36748
|
scopes: array(TokenScopeSchema)
|
|
36067
|
-
}).nullable(), { access: "view" }), method(
|
|
36749
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
36750
|
+
userId: string(),
|
|
36751
|
+
issuer: string()
|
|
36752
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
36753
|
+
userId: string(),
|
|
36754
|
+
issuer: string().min(1),
|
|
36755
|
+
label: string().optional()
|
|
36756
|
+
}), object({ success: literal(true) }), {
|
|
36757
|
+
kind: "mutation",
|
|
36758
|
+
auth: "admin",
|
|
36759
|
+
access: "create"
|
|
36760
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
36761
|
+
kind: "mutation",
|
|
36762
|
+
auth: "admin",
|
|
36763
|
+
access: "delete"
|
|
36764
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
36068
36765
|
kind: "mutation",
|
|
36069
36766
|
auth: "admin",
|
|
36070
36767
|
access: "delete"
|
|
@@ -36456,6 +37153,16 @@ DeviceType.Camera, method(object({
|
|
|
36456
37153
|
package: array(ZoneRuleSchema).readonly()
|
|
36457
37154
|
});
|
|
36458
37155
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
37156
|
+
Object.freeze({
|
|
37157
|
+
person: .5,
|
|
37158
|
+
vehicle: .5,
|
|
37159
|
+
animal: .5
|
|
37160
|
+
});
|
|
37161
|
+
Object.freeze({
|
|
37162
|
+
person: .65,
|
|
37163
|
+
vehicle: .65,
|
|
37164
|
+
animal: .65
|
|
37165
|
+
});
|
|
36459
37166
|
/**
|
|
36460
37167
|
* Accessory device helpers — shared across drivers.
|
|
36461
37168
|
*
|
|
@@ -37449,6 +38156,12 @@ Object.freeze({
|
|
|
37449
38156
|
addonId: null,
|
|
37450
38157
|
access: "view"
|
|
37451
38158
|
},
|
|
38159
|
+
"addons.listInstallations": {
|
|
38160
|
+
capName: "addons",
|
|
38161
|
+
capScope: "system",
|
|
38162
|
+
addonId: null,
|
|
38163
|
+
access: "view"
|
|
38164
|
+
},
|
|
37452
38165
|
"addons.listJobs": {
|
|
37453
38166
|
capName: "addons",
|
|
37454
38167
|
capScope: "system",
|
|
@@ -38631,90 +39344,18 @@ Object.freeze({
|
|
|
38631
39344
|
addonId: null,
|
|
38632
39345
|
access: "create"
|
|
38633
39346
|
},
|
|
38634
|
-
"decoder.createSession": {
|
|
38635
|
-
capName: "decoder",
|
|
38636
|
-
capScope: "system",
|
|
38637
|
-
addonId: null,
|
|
38638
|
-
access: "view"
|
|
38639
|
-
},
|
|
38640
|
-
"decoder.destroySession": {
|
|
38641
|
-
capName: "decoder",
|
|
38642
|
-
capScope: "system",
|
|
38643
|
-
addonId: null,
|
|
38644
|
-
access: "delete"
|
|
38645
|
-
},
|
|
38646
|
-
"decoder.getFrame": {
|
|
38647
|
-
capName: "decoder",
|
|
38648
|
-
capScope: "system",
|
|
38649
|
-
addonId: null,
|
|
38650
|
-
access: "view"
|
|
38651
|
-
},
|
|
38652
39347
|
"decoder.getInfo": {
|
|
38653
39348
|
capName: "decoder",
|
|
38654
39349
|
capScope: "system",
|
|
38655
39350
|
addonId: null,
|
|
38656
39351
|
access: "view"
|
|
38657
39352
|
},
|
|
38658
|
-
"decoder.getShmStats": {
|
|
38659
|
-
capName: "decoder",
|
|
38660
|
-
capScope: "system",
|
|
38661
|
-
addonId: null,
|
|
38662
|
-
access: "view"
|
|
38663
|
-
},
|
|
38664
|
-
"decoder.getStats": {
|
|
38665
|
-
capName: "decoder",
|
|
38666
|
-
capScope: "system",
|
|
38667
|
-
addonId: null,
|
|
38668
|
-
access: "view"
|
|
38669
|
-
},
|
|
38670
|
-
"decoder.listActiveSessions": {
|
|
38671
|
-
capName: "decoder",
|
|
38672
|
-
capScope: "system",
|
|
38673
|
-
addonId: null,
|
|
38674
|
-
access: "view"
|
|
38675
|
-
},
|
|
38676
|
-
"decoder.openStream": {
|
|
38677
|
-
capName: "decoder",
|
|
38678
|
-
capScope: "system",
|
|
38679
|
-
addonId: null,
|
|
38680
|
-
access: "view"
|
|
38681
|
-
},
|
|
38682
|
-
"decoder.pullFrames": {
|
|
38683
|
-
capName: "decoder",
|
|
38684
|
-
capScope: "system",
|
|
38685
|
-
addonId: null,
|
|
38686
|
-
access: "view"
|
|
38687
|
-
},
|
|
38688
|
-
"decoder.pullHandles": {
|
|
38689
|
-
capName: "decoder",
|
|
38690
|
-
capScope: "system",
|
|
38691
|
-
addonId: null,
|
|
38692
|
-
access: "view"
|
|
38693
|
-
},
|
|
38694
|
-
"decoder.pushPacket": {
|
|
38695
|
-
capName: "decoder",
|
|
38696
|
-
capScope: "system",
|
|
38697
|
-
addonId: null,
|
|
38698
|
-
access: "view"
|
|
38699
|
-
},
|
|
38700
39353
|
"decoder.reprobeHwaccel": {
|
|
38701
39354
|
capName: "decoder",
|
|
38702
39355
|
capScope: "system",
|
|
38703
39356
|
addonId: null,
|
|
38704
39357
|
access: "create"
|
|
38705
39358
|
},
|
|
38706
|
-
"decoder.supportsCodec": {
|
|
38707
|
-
capName: "decoder",
|
|
38708
|
-
capScope: "system",
|
|
38709
|
-
addonId: null,
|
|
38710
|
-
access: "view"
|
|
38711
|
-
},
|
|
38712
|
-
"decoder.updateConfig": {
|
|
38713
|
-
capName: "decoder",
|
|
38714
|
-
capScope: "system",
|
|
38715
|
-
addonId: null,
|
|
38716
|
-
access: "view"
|
|
38717
|
-
},
|
|
38718
39359
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
38719
39360
|
capName: "detection-pipeline",
|
|
38720
39361
|
capScope: "device",
|
|
@@ -40203,12 +40844,24 @@ Object.freeze({
|
|
|
40203
40844
|
addonId: null,
|
|
40204
40845
|
access: "view"
|
|
40205
40846
|
},
|
|
40847
|
+
"localNetwork.addCustomAddress": {
|
|
40848
|
+
capName: "local-network",
|
|
40849
|
+
capScope: "system",
|
|
40850
|
+
addonId: null,
|
|
40851
|
+
access: "create"
|
|
40852
|
+
},
|
|
40206
40853
|
"localNetwork.downloadCa": {
|
|
40207
40854
|
capName: "local-network",
|
|
40208
40855
|
capScope: "system",
|
|
40209
40856
|
addonId: null,
|
|
40210
40857
|
access: "view"
|
|
40211
40858
|
},
|
|
40859
|
+
"localNetwork.getAddresses": {
|
|
40860
|
+
capName: "local-network",
|
|
40861
|
+
capScope: "system",
|
|
40862
|
+
addonId: null,
|
|
40863
|
+
access: "view"
|
|
40864
|
+
},
|
|
40212
40865
|
"localNetwork.getAllowedAddresses": {
|
|
40213
40866
|
capName: "local-network",
|
|
40214
40867
|
capScope: "system",
|
|
@@ -40221,6 +40874,12 @@ Object.freeze({
|
|
|
40221
40874
|
addonId: null,
|
|
40222
40875
|
access: "view"
|
|
40223
40876
|
},
|
|
40877
|
+
"localNetwork.getHubAddresses": {
|
|
40878
|
+
capName: "local-network",
|
|
40879
|
+
capScope: "system",
|
|
40880
|
+
addonId: null,
|
|
40881
|
+
access: "view"
|
|
40882
|
+
},
|
|
40224
40883
|
"localNetwork.getNotificationEndpoint": {
|
|
40225
40884
|
capName: "local-network",
|
|
40226
40885
|
capScope: "system",
|
|
@@ -40257,6 +40916,12 @@ Object.freeze({
|
|
|
40257
40916
|
addonId: null,
|
|
40258
40917
|
access: "create"
|
|
40259
40918
|
},
|
|
40919
|
+
"localNetwork.removeCustomAddress": {
|
|
40920
|
+
capName: "local-network",
|
|
40921
|
+
capScope: "system",
|
|
40922
|
+
addonId: null,
|
|
40923
|
+
access: "delete"
|
|
40924
|
+
},
|
|
40260
40925
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
40261
40926
|
capName: "local-network",
|
|
40262
40927
|
capScope: "system",
|
|
@@ -40269,6 +40934,12 @@ Object.freeze({
|
|
|
40269
40934
|
addonId: null,
|
|
40270
40935
|
access: "create"
|
|
40271
40936
|
},
|
|
40937
|
+
"localNetwork.setAddressRole": {
|
|
40938
|
+
capName: "local-network",
|
|
40939
|
+
capScope: "system",
|
|
40940
|
+
addonId: null,
|
|
40941
|
+
access: "create"
|
|
40942
|
+
},
|
|
40272
40943
|
"localNetwork.setAllowedAddresses": {
|
|
40273
40944
|
capName: "local-network",
|
|
40274
40945
|
capScope: "system",
|
|
@@ -41715,6 +42386,12 @@ Object.freeze({
|
|
|
41715
42386
|
addonId: null,
|
|
41716
42387
|
access: "create"
|
|
41717
42388
|
},
|
|
42389
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
42390
|
+
capName: "pipeline-analytics",
|
|
42391
|
+
capScope: "device",
|
|
42392
|
+
addonId: null,
|
|
42393
|
+
access: "create"
|
|
42394
|
+
},
|
|
41718
42395
|
"pipelineAnalytics.setTrackFlags": {
|
|
41719
42396
|
capName: "pipeline-analytics",
|
|
41720
42397
|
capScope: "device",
|
|
@@ -41751,6 +42428,12 @@ Object.freeze({
|
|
|
41751
42428
|
addonId: null,
|
|
41752
42429
|
access: "delete"
|
|
41753
42430
|
},
|
|
42431
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
42432
|
+
capName: "pipeline-analytics",
|
|
42433
|
+
capScope: "device",
|
|
42434
|
+
addonId: null,
|
|
42435
|
+
access: "create"
|
|
42436
|
+
},
|
|
41754
42437
|
"pipelineExecutor.cacheFrameInPool": {
|
|
41755
42438
|
capName: "pipeline-executor",
|
|
41756
42439
|
capScope: "system",
|
|
@@ -41763,13 +42446,13 @@ Object.freeze({
|
|
|
41763
42446
|
addonId: null,
|
|
41764
42447
|
access: "delete"
|
|
41765
42448
|
},
|
|
41766
|
-
"pipelineExecutor.
|
|
42449
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
41767
42450
|
capName: "pipeline-executor",
|
|
41768
42451
|
capScope: "system",
|
|
41769
42452
|
addonId: null,
|
|
41770
42453
|
access: "delete"
|
|
41771
42454
|
},
|
|
41772
|
-
"pipelineExecutor.
|
|
42455
|
+
"pipelineExecutor.deleteModel": {
|
|
41773
42456
|
capName: "pipeline-executor",
|
|
41774
42457
|
capScope: "system",
|
|
41775
42458
|
addonId: null,
|
|
@@ -41913,12 +42596,6 @@ Object.freeze({
|
|
|
41913
42596
|
addonId: null,
|
|
41914
42597
|
access: "view"
|
|
41915
42598
|
},
|
|
41916
|
-
"pipelineExecutor.listTemplates": {
|
|
41917
|
-
capName: "pipeline-executor",
|
|
41918
|
-
capScope: "system",
|
|
41919
|
-
addonId: null,
|
|
41920
|
-
access: "view"
|
|
41921
|
-
},
|
|
41922
42599
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
41923
42600
|
capName: "pipeline-executor",
|
|
41924
42601
|
capScope: "system",
|
|
@@ -41943,12 +42620,6 @@ Object.freeze({
|
|
|
41943
42620
|
addonId: null,
|
|
41944
42621
|
access: "create"
|
|
41945
42622
|
},
|
|
41946
|
-
"pipelineExecutor.saveTemplate": {
|
|
41947
|
-
capName: "pipeline-executor",
|
|
41948
|
-
capScope: "system",
|
|
41949
|
-
addonId: null,
|
|
41950
|
-
access: "create"
|
|
41951
|
-
},
|
|
41952
42623
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
41953
42624
|
capName: "pipeline-executor",
|
|
41954
42625
|
capScope: "system",
|
|
@@ -41967,41 +42638,35 @@ Object.freeze({
|
|
|
41967
42638
|
addonId: null,
|
|
41968
42639
|
access: "create"
|
|
41969
42640
|
},
|
|
41970
|
-
"pipelineExecutor.updateTemplate": {
|
|
41971
|
-
capName: "pipeline-executor",
|
|
41972
|
-
capScope: "system",
|
|
41973
|
-
addonId: null,
|
|
41974
|
-
access: "create"
|
|
41975
|
-
},
|
|
41976
42641
|
"pipelineExecutor.validatePipeline": {
|
|
41977
42642
|
capName: "pipeline-executor",
|
|
41978
42643
|
capScope: "system",
|
|
41979
42644
|
addonId: null,
|
|
41980
42645
|
access: "view"
|
|
41981
42646
|
},
|
|
41982
|
-
"pipelineOrchestrator.
|
|
42647
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
41983
42648
|
capName: "pipeline-orchestrator",
|
|
41984
42649
|
capScope: "system",
|
|
41985
42650
|
addonId: null,
|
|
41986
42651
|
access: "create"
|
|
41987
42652
|
},
|
|
41988
|
-
"pipelineOrchestrator.
|
|
42653
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
41989
42654
|
capName: "pipeline-orchestrator",
|
|
41990
42655
|
capScope: "system",
|
|
41991
42656
|
addonId: null,
|
|
41992
42657
|
access: "create"
|
|
41993
42658
|
},
|
|
41994
|
-
"pipelineOrchestrator.
|
|
42659
|
+
"pipelineOrchestrator.assignAudio": {
|
|
41995
42660
|
capName: "pipeline-orchestrator",
|
|
41996
42661
|
capScope: "system",
|
|
41997
42662
|
addonId: null,
|
|
41998
42663
|
access: "create"
|
|
41999
42664
|
},
|
|
42000
|
-
"pipelineOrchestrator.
|
|
42665
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
42001
42666
|
capName: "pipeline-orchestrator",
|
|
42002
42667
|
capScope: "system",
|
|
42003
42668
|
addonId: null,
|
|
42004
|
-
access: "
|
|
42669
|
+
access: "create"
|
|
42005
42670
|
},
|
|
42006
42671
|
"pipelineOrchestrator.getAgentLoad": {
|
|
42007
42672
|
capName: "pipeline-orchestrator",
|
|
@@ -42093,6 +42758,12 @@ Object.freeze({
|
|
|
42093
42758
|
addonId: null,
|
|
42094
42759
|
access: "view"
|
|
42095
42760
|
},
|
|
42761
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
42762
|
+
capName: "pipeline-orchestrator",
|
|
42763
|
+
capScope: "system",
|
|
42764
|
+
addonId: null,
|
|
42765
|
+
access: "view"
|
|
42766
|
+
},
|
|
42096
42767
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
42097
42768
|
capName: "pipeline-orchestrator",
|
|
42098
42769
|
capScope: "system",
|
|
@@ -42129,19 +42800,19 @@ Object.freeze({
|
|
|
42129
42800
|
addonId: null,
|
|
42130
42801
|
access: "view"
|
|
42131
42802
|
},
|
|
42132
|
-
"pipelineOrchestrator.
|
|
42803
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
42133
42804
|
capName: "pipeline-orchestrator",
|
|
42134
42805
|
capScope: "system",
|
|
42135
42806
|
addonId: null,
|
|
42136
42807
|
access: "view"
|
|
42137
42808
|
},
|
|
42138
|
-
"pipelineOrchestrator.
|
|
42809
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
42139
42810
|
capName: "pipeline-orchestrator",
|
|
42140
42811
|
capScope: "system",
|
|
42141
42812
|
addonId: null,
|
|
42142
42813
|
access: "view"
|
|
42143
42814
|
},
|
|
42144
|
-
"pipelineOrchestrator.
|
|
42815
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
42145
42816
|
capName: "pipeline-orchestrator",
|
|
42146
42817
|
capScope: "system",
|
|
42147
42818
|
addonId: null,
|
|
@@ -42153,6 +42824,12 @@ Object.freeze({
|
|
|
42153
42824
|
addonId: null,
|
|
42154
42825
|
access: "create"
|
|
42155
42826
|
},
|
|
42827
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
42828
|
+
capName: "pipeline-orchestrator",
|
|
42829
|
+
capScope: "system",
|
|
42830
|
+
addonId: null,
|
|
42831
|
+
access: "view"
|
|
42832
|
+
},
|
|
42156
42833
|
"pipelineOrchestrator.rebalance": {
|
|
42157
42834
|
capName: "pipeline-orchestrator",
|
|
42158
42835
|
capScope: "system",
|
|
@@ -42195,12 +42872,6 @@ Object.freeze({
|
|
|
42195
42872
|
addonId: null,
|
|
42196
42873
|
access: "create"
|
|
42197
42874
|
},
|
|
42198
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
42199
|
-
capName: "pipeline-orchestrator",
|
|
42200
|
-
capScope: "system",
|
|
42201
|
-
addonId: null,
|
|
42202
|
-
access: "create"
|
|
42203
|
-
},
|
|
42204
42875
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
42205
42876
|
capName: "pipeline-orchestrator",
|
|
42206
42877
|
capScope: "system",
|
|
@@ -42213,12 +42884,6 @@ Object.freeze({
|
|
|
42213
42884
|
addonId: null,
|
|
42214
42885
|
access: "create"
|
|
42215
42886
|
},
|
|
42216
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
42217
|
-
capName: "pipeline-orchestrator",
|
|
42218
|
-
capScope: "system",
|
|
42219
|
-
addonId: null,
|
|
42220
|
-
access: "create"
|
|
42221
|
-
},
|
|
42222
42887
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
42223
42888
|
capName: "pipeline-orchestrator",
|
|
42224
42889
|
capScope: "system",
|
|
@@ -42255,6 +42920,12 @@ Object.freeze({
|
|
|
42255
42920
|
addonId: null,
|
|
42256
42921
|
access: "create"
|
|
42257
42922
|
},
|
|
42923
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
42924
|
+
capName: "pipeline-orchestrator",
|
|
42925
|
+
capScope: "system",
|
|
42926
|
+
addonId: null,
|
|
42927
|
+
access: "create"
|
|
42928
|
+
},
|
|
42258
42929
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
42259
42930
|
capName: "pipeline-orchestrator",
|
|
42260
42931
|
capScope: "system",
|
|
@@ -42273,25 +42944,37 @@ Object.freeze({
|
|
|
42273
42944
|
addonId: null,
|
|
42274
42945
|
access: "create"
|
|
42275
42946
|
},
|
|
42947
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
42948
|
+
capName: "pipeline-orchestrator",
|
|
42949
|
+
capScope: "system",
|
|
42950
|
+
addonId: null,
|
|
42951
|
+
access: "create"
|
|
42952
|
+
},
|
|
42276
42953
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
42277
42954
|
capName: "pipeline-orchestrator",
|
|
42278
42955
|
capScope: "system",
|
|
42279
42956
|
addonId: null,
|
|
42280
42957
|
access: "create"
|
|
42281
42958
|
},
|
|
42282
|
-
"pipelineOrchestrator.
|
|
42959
|
+
"pipelineOrchestrator.setShareSource": {
|
|
42283
42960
|
capName: "pipeline-orchestrator",
|
|
42284
42961
|
capScope: "system",
|
|
42285
42962
|
addonId: null,
|
|
42286
42963
|
access: "create"
|
|
42287
42964
|
},
|
|
42288
|
-
"pipelineOrchestrator.
|
|
42965
|
+
"pipelineOrchestrator.suggestShares": {
|
|
42966
|
+
capName: "pipeline-orchestrator",
|
|
42967
|
+
capScope: "system",
|
|
42968
|
+
addonId: null,
|
|
42969
|
+
access: "view"
|
|
42970
|
+
},
|
|
42971
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
42289
42972
|
capName: "pipeline-orchestrator",
|
|
42290
42973
|
capScope: "system",
|
|
42291
42974
|
addonId: null,
|
|
42292
42975
|
access: "create"
|
|
42293
42976
|
},
|
|
42294
|
-
"pipelineOrchestrator.
|
|
42977
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
42295
42978
|
capName: "pipeline-orchestrator",
|
|
42296
42979
|
capScope: "system",
|
|
42297
42980
|
addonId: null,
|
|
@@ -43731,12 +44414,6 @@ Object.freeze({
|
|
|
43731
44414
|
addonId: null,
|
|
43732
44415
|
access: "view"
|
|
43733
44416
|
},
|
|
43734
|
-
"streamBroker.pullFrameHandles": {
|
|
43735
|
-
capName: "stream-broker",
|
|
43736
|
-
capScope: "system",
|
|
43737
|
-
addonId: null,
|
|
43738
|
-
access: "view"
|
|
43739
|
-
},
|
|
43740
44417
|
"streamBroker.regenerateRtspToken": {
|
|
43741
44418
|
capName: "stream-broker",
|
|
43742
44419
|
capScope: "system",
|
|
@@ -43803,12 +44480,6 @@ Object.freeze({
|
|
|
43803
44480
|
addonId: null,
|
|
43804
44481
|
access: "create"
|
|
43805
44482
|
},
|
|
43806
|
-
"streamBroker.subscribeFrames": {
|
|
43807
|
-
capName: "stream-broker",
|
|
43808
|
-
capScope: "system",
|
|
43809
|
-
addonId: null,
|
|
43810
|
-
access: "create"
|
|
43811
|
-
},
|
|
43812
44483
|
"streamBroker.unassignProfile": {
|
|
43813
44484
|
capName: "stream-broker",
|
|
43814
44485
|
capScope: "system",
|
|
@@ -43821,12 +44492,6 @@ Object.freeze({
|
|
|
43821
44492
|
addonId: null,
|
|
43822
44493
|
access: "create"
|
|
43823
44494
|
},
|
|
43824
|
-
"streamBroker.unsubscribeFrames": {
|
|
43825
|
-
capName: "stream-broker",
|
|
43826
|
-
capScope: "system",
|
|
43827
|
-
addonId: null,
|
|
43828
|
-
access: "create"
|
|
43829
|
-
},
|
|
43830
44495
|
"streamCatalog.getCatalog": {
|
|
43831
44496
|
capName: "stream-catalog",
|
|
43832
44497
|
capScope: "device",
|
|
@@ -44121,18 +44786,36 @@ Object.freeze({
|
|
|
44121
44786
|
addonId: null,
|
|
44122
44787
|
access: "delete"
|
|
44123
44788
|
},
|
|
44789
|
+
"userManagement.findUserByExternalIdentity": {
|
|
44790
|
+
capName: "user-management",
|
|
44791
|
+
capScope: "system",
|
|
44792
|
+
addonId: null,
|
|
44793
|
+
access: "view"
|
|
44794
|
+
},
|
|
44124
44795
|
"userManagement.getTotpStatus": {
|
|
44125
44796
|
capName: "user-management",
|
|
44126
44797
|
capScope: "system",
|
|
44127
44798
|
addonId: null,
|
|
44128
44799
|
access: "view"
|
|
44129
44800
|
},
|
|
44801
|
+
"userManagement.linkExternalIdentity": {
|
|
44802
|
+
capName: "user-management",
|
|
44803
|
+
capScope: "system",
|
|
44804
|
+
addonId: null,
|
|
44805
|
+
access: "create"
|
|
44806
|
+
},
|
|
44130
44807
|
"userManagement.listApiKeys": {
|
|
44131
44808
|
capName: "user-management",
|
|
44132
44809
|
capScope: "system",
|
|
44133
44810
|
addonId: null,
|
|
44134
44811
|
access: "view"
|
|
44135
44812
|
},
|
|
44813
|
+
"userManagement.listExternalIdentities": {
|
|
44814
|
+
capName: "user-management",
|
|
44815
|
+
capScope: "system",
|
|
44816
|
+
addonId: null,
|
|
44817
|
+
access: "view"
|
|
44818
|
+
},
|
|
44136
44819
|
"userManagement.listOauthSessions": {
|
|
44137
44820
|
capName: "user-management",
|
|
44138
44821
|
capScope: "system",
|
|
@@ -44211,6 +44894,12 @@ Object.freeze({
|
|
|
44211
44894
|
addonId: null,
|
|
44212
44895
|
access: "create"
|
|
44213
44896
|
},
|
|
44897
|
+
"userManagement.unlinkExternalIdentity": {
|
|
44898
|
+
capName: "user-management",
|
|
44899
|
+
capScope: "system",
|
|
44900
|
+
addonId: null,
|
|
44901
|
+
access: "delete"
|
|
44902
|
+
},
|
|
44214
44903
|
"userManagement.updateUser": {
|
|
44215
44904
|
capName: "user-management",
|
|
44216
44905
|
capScope: "system",
|
|
@@ -44523,6 +45212,12 @@ Object.freeze({
|
|
|
44523
45212
|
addonId: null,
|
|
44524
45213
|
access: "create"
|
|
44525
45214
|
},
|
|
45215
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
45216
|
+
capName: "webrtc-session",
|
|
45217
|
+
capScope: "device",
|
|
45218
|
+
addonId: null,
|
|
45219
|
+
access: "create"
|
|
45220
|
+
},
|
|
44526
45221
|
"webrtcSession.closeSession": {
|
|
44527
45222
|
capName: "webrtc-session",
|
|
44528
45223
|
capScope: "device",
|
|
@@ -46400,11 +47095,6 @@ Object.freeze({
|
|
|
46400
47095
|
form: "single",
|
|
46401
47096
|
optional: false
|
|
46402
47097
|
}],
|
|
46403
|
-
"decoder.createSession": [{
|
|
46404
|
-
name: "deviceId",
|
|
46405
|
-
form: "single",
|
|
46406
|
-
optional: true
|
|
46407
|
-
}],
|
|
46408
47098
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
46409
47099
|
name: "deviceId",
|
|
46410
47100
|
form: "single",
|
|
@@ -47615,6 +48305,11 @@ Object.freeze({
|
|
|
47615
48305
|
form: "single",
|
|
47616
48306
|
optional: false
|
|
47617
48307
|
}],
|
|
48308
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
48309
|
+
name: "deviceId",
|
|
48310
|
+
form: "single",
|
|
48311
|
+
optional: false
|
|
48312
|
+
}],
|
|
47618
48313
|
"pipelineAnalytics.setTrackFlags": [{
|
|
47619
48314
|
name: "deviceId",
|
|
47620
48315
|
form: "single",
|
|
@@ -47635,6 +48330,11 @@ Object.freeze({
|
|
|
47635
48330
|
form: "single",
|
|
47636
48331
|
optional: false
|
|
47637
48332
|
}],
|
|
48333
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
48334
|
+
name: "deviceIds",
|
|
48335
|
+
form: "array",
|
|
48336
|
+
optional: true
|
|
48337
|
+
}],
|
|
47638
48338
|
"pipelineExecutor.runPipeline": [{
|
|
47639
48339
|
name: "deviceId",
|
|
47640
48340
|
form: "single",
|
|
@@ -47740,6 +48440,11 @@ Object.freeze({
|
|
|
47740
48440
|
form: "single",
|
|
47741
48441
|
optional: false
|
|
47742
48442
|
}],
|
|
48443
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
48444
|
+
name: "deviceId",
|
|
48445
|
+
form: "single",
|
|
48446
|
+
optional: false
|
|
48447
|
+
}],
|
|
47743
48448
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
47744
48449
|
name: "deviceId",
|
|
47745
48450
|
form: "single",
|
|
@@ -48511,6 +49216,11 @@ Object.freeze({
|
|
|
48511
49216
|
form: "single",
|
|
48512
49217
|
optional: false
|
|
48513
49218
|
}],
|
|
49219
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
49220
|
+
name: "deviceId",
|
|
49221
|
+
form: "single",
|
|
49222
|
+
optional: false
|
|
49223
|
+
}],
|
|
48514
49224
|
"webrtcSession.closeSession": [{
|
|
48515
49225
|
name: "deviceId",
|
|
48516
49226
|
form: "single",
|
|
@@ -48740,6 +49450,8 @@ new Map(Object.entries({
|
|
|
48740
49450
|
"detection-blind": "device-events",
|
|
48741
49451
|
"node-online": "system",
|
|
48742
49452
|
"node-offline": "system",
|
|
49453
|
+
"node-restarting": "system",
|
|
49454
|
+
"node-updating": "system",
|
|
48743
49455
|
"node-inference-unavailable": "system",
|
|
48744
49456
|
"addon-crash-loop": "system",
|
|
48745
49457
|
"addon-update-available": "system",
|
|
@@ -48817,18 +49529,21 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
48817
49529
|
kinds: [
|
|
48818
49530
|
"node-offline",
|
|
48819
49531
|
"node-online",
|
|
49532
|
+
"node-restarting",
|
|
48820
49533
|
"node-inference-unavailable"
|
|
48821
49534
|
]
|
|
48822
49535
|
},
|
|
48823
49536
|
{
|
|
48824
49537
|
id: "addons",
|
|
48825
49538
|
family: "system",
|
|
48826
|
-
label: "Addons",
|
|
48827
|
-
kinds: [
|
|
48828
|
-
|
|
48829
|
-
|
|
48830
|
-
|
|
48831
|
-
|
|
49539
|
+
label: "Addons stopped",
|
|
49540
|
+
kinds: ["addon-crash-loop"]
|
|
49541
|
+
},
|
|
49542
|
+
{
|
|
49543
|
+
id: "addon-updates",
|
|
49544
|
+
family: "system",
|
|
49545
|
+
label: "Addon updates",
|
|
49546
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
48832
49547
|
},
|
|
48833
49548
|
{
|
|
48834
49549
|
id: "updates",
|
|
@@ -48836,6 +49551,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
48836
49551
|
label: "Server & container updates",
|
|
48837
49552
|
kinds: [
|
|
48838
49553
|
"server-update-available",
|
|
49554
|
+
"node-updating",
|
|
48839
49555
|
"server-updated",
|
|
48840
49556
|
"wrapper-update-available"
|
|
48841
49557
|
]
|
|
@@ -48983,18 +49699,21 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
48983
49699
|
kinds: [
|
|
48984
49700
|
"node-offline",
|
|
48985
49701
|
"node-online",
|
|
49702
|
+
"node-restarting",
|
|
48986
49703
|
"node-inference-unavailable"
|
|
48987
49704
|
]
|
|
48988
49705
|
},
|
|
48989
49706
|
{
|
|
48990
49707
|
name: "summaryAddons",
|
|
48991
|
-
label: "Summary: addons",
|
|
48992
|
-
example: "
|
|
48993
|
-
kinds: [
|
|
48994
|
-
|
|
48995
|
-
|
|
48996
|
-
|
|
48997
|
-
|
|
49708
|
+
label: "Summary: addons stopped",
|
|
49709
|
+
example: "hub — recorder stopped after repeated crashes",
|
|
49710
|
+
kinds: ["addon-crash-loop"]
|
|
49711
|
+
},
|
|
49712
|
+
{
|
|
49713
|
+
name: "summaryAddonUpdates",
|
|
49714
|
+
label: "Summary: addon updates",
|
|
49715
|
+
example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
|
|
49716
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
48998
49717
|
},
|
|
48999
49718
|
{
|
|
49000
49719
|
name: "summaryUpdates",
|
|
@@ -49002,6 +49721,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
49002
49721
|
example: "server 1.2.377 → 1.2.378",
|
|
49003
49722
|
kinds: [
|
|
49004
49723
|
"server-update-available",
|
|
49724
|
+
"node-updating",
|
|
49005
49725
|
"server-updated",
|
|
49006
49726
|
"wrapper-update-available"
|
|
49007
49727
|
]
|
|
@@ -49034,7 +49754,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
49034
49754
|
{
|
|
49035
49755
|
name: "summarySection",
|
|
49036
49756
|
label: "Summary: this section",
|
|
49037
|
-
description: "The section a per-section summary row is about
|
|
49757
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
49038
49758
|
example: "Batterie scariche",
|
|
49039
49759
|
group: "system",
|
|
49040
49760
|
families: ["rule"],
|
|
@@ -49078,6 +49798,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
49078
49798
|
[...RULE_BODY_ONLY],
|
|
49079
49799
|
[...RULE_TEXT],
|
|
49080
49800
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
49801
|
+
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
49081
49802
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
49082
49803
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
49083
49804
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
@@ -49118,6 +49839,8 @@ var STATE_SUMMARY_VARS = [
|
|
|
49118
49839
|
[...RULE_TEXT],
|
|
49119
49840
|
[...RULE_TEXT],
|
|
49120
49841
|
[...RULE_TEXT],
|
|
49842
|
+
[...RULE_TEXT],
|
|
49843
|
+
[...RULE_TEXT],
|
|
49121
49844
|
...STATE_SUMMARY_VARS
|
|
49122
49845
|
];
|
|
49123
49846
|
new Set([
|
|
@@ -58599,7 +59322,7 @@ var onvifCameraSchema = object({
|
|
|
58599
59322
|
host: string().describe("Camera IP address or hostname"),
|
|
58600
59323
|
port: number().default(80).describe("ONVIF port (default: 80)"),
|
|
58601
59324
|
username: string().default("").describe("ONVIF username"),
|
|
58602
|
-
password: string().default("").describe("ONVIF password"),
|
|
59325
|
+
password: string().default("").describe("ONVIF password").meta({ secret: true }),
|
|
58603
59326
|
rtspUrl: string().describe("Primary RTSP stream URL"),
|
|
58604
59327
|
subStreamUrl: string().default("").describe("Sub-stream RTSP URL (optional)"),
|
|
58605
59328
|
snapshotUrl: string().default("").describe("Native snapshot URL (optional)"),
|
|
@@ -59038,7 +59761,7 @@ var OnvifProviderAddon = class extends BaseDeviceProvider {
|
|
|
59038
59761
|
key: "host",
|
|
59039
59762
|
label: "Host",
|
|
59040
59763
|
required: true,
|
|
59041
|
-
placeholder: "192.168.
|
|
59764
|
+
placeholder: "192.168.10.10"
|
|
59042
59765
|
},
|
|
59043
59766
|
{
|
|
59044
59767
|
type: "number",
|