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