@camstack/addon-smtp-nodemailer 1.2.117 → 1.2.118
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/smtp.addon.js +1265 -542
- package/dist/smtp.addon.mjs +1265 -542
- package/package.json +1 -1
package/dist/smtp.addon.mjs
CHANGED
|
@@ -34,7 +34,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -535,15 +535,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
535
535
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
536
536
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
537
537
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
538
|
-
/**
|
|
539
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
540
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
541
|
-
* `createSession`, so running sessions keep their current backend until
|
|
542
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
543
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
544
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
545
|
-
*/
|
|
546
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
547
538
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
548
539
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
549
540
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5414,7 +5405,7 @@ var ZodIssueCode = {
|
|
|
5414
5405
|
var ZodFirstPartyTypeKind;
|
|
5415
5406
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5416
5407
|
//#endregion
|
|
5417
|
-
//#region ../types/dist/sleep-
|
|
5408
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5418
5409
|
/**
|
|
5419
5410
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5420
5411
|
* window to float samples (D455).
|
|
@@ -6780,32 +6771,12 @@ object({
|
|
|
6780
6771
|
audioCodec: string().optional(),
|
|
6781
6772
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6782
6773
|
});
|
|
6783
|
-
var EncodedPacketSchema = object({
|
|
6784
|
-
type: _enum(["video", "audio"]),
|
|
6785
|
-
data: _instanceof(Uint8Array),
|
|
6786
|
-
pts: number(),
|
|
6787
|
-
dts: number(),
|
|
6788
|
-
keyframe: boolean(),
|
|
6789
|
-
codec: string()
|
|
6790
|
-
});
|
|
6791
|
-
var DecodedFrameSchema = object({
|
|
6792
|
-
data: _instanceof(Uint8Array),
|
|
6793
|
-
width: number(),
|
|
6794
|
-
height: number(),
|
|
6795
|
-
format: _enum([
|
|
6796
|
-
"jpeg",
|
|
6797
|
-
"rgb",
|
|
6798
|
-
"bgr",
|
|
6799
|
-
"yuv420",
|
|
6800
|
-
"gray"
|
|
6801
|
-
]),
|
|
6802
|
-
timestamp: number()
|
|
6803
|
-
});
|
|
6804
6774
|
/**
|
|
6805
6775
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6806
6776
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6807
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6808
|
-
*
|
|
6777
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6778
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6779
|
+
* over tRPC / Moleculer.
|
|
6809
6780
|
*
|
|
6810
6781
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6811
6782
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6831,50 +6802,6 @@ var FrameHandleSchema = object({
|
|
|
6831
6802
|
slotCount: number().int().positive()
|
|
6832
6803
|
});
|
|
6833
6804
|
/**
|
|
6834
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6835
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6836
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6837
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6838
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6839
|
-
*/
|
|
6840
|
-
var FrameHandleFormatSchema = _enum([
|
|
6841
|
-
"rgb",
|
|
6842
|
-
"bgr",
|
|
6843
|
-
"yuv420",
|
|
6844
|
-
"gray"
|
|
6845
|
-
]);
|
|
6846
|
-
/**
|
|
6847
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6848
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6849
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6850
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6851
|
-
* they asked for with no broker-side conversion.
|
|
6852
|
-
*/
|
|
6853
|
-
var SubscribeFramesInputSchema = object({
|
|
6854
|
-
brokerId: string(),
|
|
6855
|
-
format: FrameHandleFormatSchema,
|
|
6856
|
-
/**
|
|
6857
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6858
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6859
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6860
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6861
|
-
*/
|
|
6862
|
-
maxFps: number().positive().optional(),
|
|
6863
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6864
|
-
tag: string().optional()
|
|
6865
|
-
});
|
|
6866
|
-
/**
|
|
6867
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6868
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6869
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6870
|
-
*/
|
|
6871
|
-
var SubscribeFramesResultSchema = object({
|
|
6872
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6873
|
-
subscriptionId: string(),
|
|
6874
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6875
|
-
maxFps: number().nonnegative()
|
|
6876
|
-
});
|
|
6877
|
-
/**
|
|
6878
6805
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6879
6806
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6880
6807
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6882,8 +6809,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6882
6809
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6883
6810
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6884
6811
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6885
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6886
|
-
*
|
|
6812
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6813
|
+
* it.
|
|
6887
6814
|
*/
|
|
6888
6815
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6889
6816
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6901,11 +6828,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6901
6828
|
format: AudioChunkFormatSchema.optional()
|
|
6902
6829
|
});
|
|
6903
6830
|
/**
|
|
6904
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6905
|
-
*
|
|
6906
|
-
*
|
|
6907
|
-
*
|
|
6908
|
-
* `pullAudioChunks`.
|
|
6831
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6832
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6833
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6834
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6909
6835
|
*/
|
|
6910
6836
|
var SubscribeAudioChunksInputSchema = object({
|
|
6911
6837
|
brokerId: string(),
|
|
@@ -6936,9 +6862,7 @@ var BrokerStatsSchema = object({
|
|
|
6936
6862
|
"stopped"
|
|
6937
6863
|
]),
|
|
6938
6864
|
inputFps: number(),
|
|
6939
|
-
decodeFps: number(),
|
|
6940
6865
|
encodedSubscribers: number(),
|
|
6941
|
-
decodedSubscribers: number(),
|
|
6942
6866
|
uptimeMs: number(),
|
|
6943
6867
|
bitrateKbps: number(),
|
|
6944
6868
|
idrIntervalMs: number(),
|
|
@@ -6951,14 +6875,6 @@ var BrokerStatsSchema = object({
|
|
|
6951
6875
|
preBufferMs: number(),
|
|
6952
6876
|
preBufferPackets: number(),
|
|
6953
6877
|
/**
|
|
6954
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6955
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6956
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6957
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6958
|
-
* a separate cap call per broker.
|
|
6959
|
-
*/
|
|
6960
|
-
decoderNodeId: string().nullable(),
|
|
6961
|
-
/**
|
|
6962
6878
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6963
6879
|
* when the stream has no audio track or the broker is in cold start.
|
|
6964
6880
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10280,70 +10196,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10280
10196
|
"backup"
|
|
10281
10197
|
]).optional()
|
|
10282
10198
|
});
|
|
10283
|
-
var DecoderStatsSchema = object({
|
|
10284
|
-
inputFps: number(),
|
|
10285
|
-
outputFps: number(),
|
|
10286
|
-
avgDecodeTimeMs: number(),
|
|
10287
|
-
droppedFrames: number(),
|
|
10288
|
-
/**
|
|
10289
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10290
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10291
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10292
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10293
|
-
*/
|
|
10294
|
-
lagMs: number().optional(),
|
|
10295
|
-
effectiveFps: number().optional(),
|
|
10296
|
-
adaptiveFps: number().optional()
|
|
10297
|
-
});
|
|
10298
|
-
var DecoderSessionConfigSchema = object({
|
|
10299
|
-
codec: string(),
|
|
10300
|
-
maxFps: number().default(0),
|
|
10301
|
-
outputFormat: _enum([
|
|
10302
|
-
"jpeg",
|
|
10303
|
-
"rgb",
|
|
10304
|
-
"bgr",
|
|
10305
|
-
"yuv420",
|
|
10306
|
-
"gray"
|
|
10307
|
-
]).default("jpeg"),
|
|
10308
|
-
scale: number().default(1),
|
|
10309
|
-
width: number().optional(),
|
|
10310
|
-
height: number().optional(),
|
|
10311
|
-
/**
|
|
10312
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10313
|
-
* because the cap is generic (any caller could request decode), but
|
|
10314
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10315
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10316
|
-
* sendPacket errors on a single hung camera).
|
|
10317
|
-
*/
|
|
10318
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10319
|
-
/**
|
|
10320
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10321
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10322
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10323
|
-
* profile cleanly.
|
|
10324
|
-
*/
|
|
10325
|
-
tag: string().optional(),
|
|
10326
|
-
/**
|
|
10327
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10328
|
-
*
|
|
10329
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10330
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10331
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10332
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10333
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10334
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10335
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10336
|
-
*/
|
|
10337
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10338
|
-
/**
|
|
10339
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10340
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10341
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10342
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10343
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10344
|
-
*/
|
|
10345
|
-
debug: boolean().optional()
|
|
10346
|
-
});
|
|
10347
10199
|
/**
|
|
10348
10200
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10349
10201
|
* an addon declares its channels in.
|
|
@@ -10486,6 +10338,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10486
10338
|
"balanced",
|
|
10487
10339
|
"strict"
|
|
10488
10340
|
]);
|
|
10341
|
+
/** Steps whose effect a root label can BE. */
|
|
10342
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10343
|
+
"animal-classifier",
|
|
10344
|
+
"vehicle-classifier",
|
|
10345
|
+
"package-detection"
|
|
10346
|
+
];
|
|
10347
|
+
/** Steps whose box a root detection can BE. */
|
|
10348
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10349
|
+
/**
|
|
10350
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10351
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10352
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10353
|
+
* no camera tree carries.)
|
|
10354
|
+
*/
|
|
10355
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10356
|
+
[
|
|
10357
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10358
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10359
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10360
|
+
];
|
|
10489
10361
|
var MODEL_FORMATS = [
|
|
10490
10362
|
"onnx",
|
|
10491
10363
|
"coreml",
|
|
@@ -10514,7 +10386,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10514
10386
|
/** Multi-file payload (directory members or sibling files). */
|
|
10515
10387
|
files: array(string()).readonly().optional(),
|
|
10516
10388
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10517
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10389
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10390
|
+
/**
|
|
10391
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10392
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10393
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10394
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10395
|
+
* node records the revision it downloaded next to the file
|
|
10396
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10397
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10398
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10399
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10400
|
+
*/
|
|
10401
|
+
revision: string().min(1).optional()
|
|
10402
|
+
});
|
|
10403
|
+
/**
|
|
10404
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10405
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10406
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10407
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10408
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10409
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10410
|
+
*/
|
|
10411
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10412
|
+
"current",
|
|
10413
|
+
"stale",
|
|
10414
|
+
"missing"
|
|
10415
|
+
]);
|
|
10416
|
+
/**
|
|
10417
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10418
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10419
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10420
|
+
*/
|
|
10421
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10422
|
+
"fp32",
|
|
10423
|
+
"fp16",
|
|
10424
|
+
"int8"
|
|
10425
|
+
]);
|
|
10426
|
+
/**
|
|
10427
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10428
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10429
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10430
|
+
*/
|
|
10431
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10432
|
+
downloaded: boolean(),
|
|
10433
|
+
sizeMB: number(),
|
|
10434
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10435
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10518
10436
|
});
|
|
10519
10437
|
/**
|
|
10520
10438
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10555,11 +10473,11 @@ var ModelVariantGroupSchema = object({
|
|
|
10555
10473
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
10556
10474
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
10557
10475
|
/**
|
|
10558
|
-
*
|
|
10559
|
-
*
|
|
10560
|
-
*
|
|
10476
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
10477
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
10478
|
+
* label is "Test".
|
|
10561
10479
|
*/
|
|
10562
|
-
optimization: _enum(["standard", "
|
|
10480
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
10563
10481
|
/**
|
|
10564
10482
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
10565
10483
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -10582,9 +10500,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
10582
10500
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
10583
10501
|
* string still parses — the string is lifted into `{ weights }`.
|
|
10584
10502
|
*
|
|
10585
|
-
* Every licence surface (the
|
|
10586
|
-
*
|
|
10587
|
-
*
|
|
10503
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
10504
|
+
* model table) is GENERATED from these records by
|
|
10505
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
10506
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
10588
10507
|
*/
|
|
10589
10508
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10590
10509
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -10617,6 +10536,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10617
10536
|
/** True when the weights or their data forbid commercial use. */
|
|
10618
10537
|
nonCommercial: boolean().optional()
|
|
10619
10538
|
}));
|
|
10539
|
+
/**
|
|
10540
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10541
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10542
|
+
*
|
|
10543
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10544
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10545
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10546
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10547
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10548
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10549
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10550
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10551
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10552
|
+
* postprocessor on read, never stored by an import.
|
|
10553
|
+
*/
|
|
10554
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10555
|
+
object({
|
|
10556
|
+
kind: literal("label"),
|
|
10557
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10558
|
+
labelToEffect: record(string(), string()),
|
|
10559
|
+
uncovered: array(string()).readonly()
|
|
10560
|
+
}),
|
|
10561
|
+
object({
|
|
10562
|
+
kind: literal("crop"),
|
|
10563
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10564
|
+
rootLabels: array(string()).readonly(),
|
|
10565
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10566
|
+
childClass: _enum(["plate", "face"]),
|
|
10567
|
+
/**
|
|
10568
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10569
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10570
|
+
* stored by an import.
|
|
10571
|
+
*/
|
|
10572
|
+
rootInputPx: number().int().positive().optional()
|
|
10573
|
+
}),
|
|
10574
|
+
object({
|
|
10575
|
+
kind: literal("mask"),
|
|
10576
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10577
|
+
})
|
|
10578
|
+
]);
|
|
10620
10579
|
var ModelCatalogEntrySchema = object({
|
|
10621
10580
|
id: string(),
|
|
10622
10581
|
name: string(),
|
|
@@ -10682,6 +10641,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10682
10641
|
*/
|
|
10683
10642
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10684
10643
|
/**
|
|
10644
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10645
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10646
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10647
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10648
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10649
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10650
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10651
|
+
*/
|
|
10652
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10653
|
+
/**
|
|
10654
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10655
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10656
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10657
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10658
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10659
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10660
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10661
|
+
*/
|
|
10662
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10663
|
+
/**
|
|
10664
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10665
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10666
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10667
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10668
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10669
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10670
|
+
*/
|
|
10671
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10672
|
+
/**
|
|
10685
10673
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10686
10674
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10687
10675
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10743,6 +10731,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10743
10731
|
*/
|
|
10744
10732
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10745
10733
|
/**
|
|
10734
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10735
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10736
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10737
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10738
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10739
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10740
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10741
|
+
*/
|
|
10742
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10743
|
+
/**
|
|
10746
10744
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10747
10745
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10748
10746
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12344,13 +12342,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12344
12342
|
lastRtpAt: number(),
|
|
12345
12343
|
bytesSent: number()
|
|
12346
12344
|
});
|
|
12347
|
-
var BrokerDecodedClientSchema = object({
|
|
12348
|
-
tag: string(),
|
|
12349
|
-
subscribedAt: number(),
|
|
12350
|
-
maxFps: number(),
|
|
12351
|
-
framesDelivered: number(),
|
|
12352
|
-
framesDropped: number()
|
|
12353
|
-
});
|
|
12354
12345
|
var BrokerAudioClientSchema = object({
|
|
12355
12346
|
tag: string(),
|
|
12356
12347
|
subscribedAt: number(),
|
|
@@ -12442,7 +12433,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12442
12433
|
});
|
|
12443
12434
|
var BrokerClientsSchema = object({
|
|
12444
12435
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12445
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12446
12436
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12447
12437
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12448
12438
|
pipeClients: number(),
|
|
@@ -12811,11 +12801,7 @@ method(object({
|
|
|
12811
12801
|
auth: "admin"
|
|
12812
12802
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12813
12803
|
brokerId: string(),
|
|
12814
|
-
channel: _enum([
|
|
12815
|
-
"rtsp",
|
|
12816
|
-
"decoded",
|
|
12817
|
-
"audio"
|
|
12818
|
-
]),
|
|
12804
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12819
12805
|
handle: string()
|
|
12820
12806
|
}), object({ killed: boolean() }), {
|
|
12821
12807
|
kind: "mutation",
|
|
@@ -12850,10 +12836,7 @@ method(object({
|
|
|
12850
12836
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12851
12837
|
subscriptionId: string(),
|
|
12852
12838
|
maxCount: number().int().positive().default(8)
|
|
12853
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12854
|
-
subscriptionId: string(),
|
|
12855
|
-
maxCount: number().int().positive().default(4)
|
|
12856
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12839
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12857
12840
|
brokerId: string(),
|
|
12858
12841
|
seconds: number().min(0).max(30)
|
|
12859
12842
|
}), _void(), {
|
|
@@ -14010,54 +13993,12 @@ id: union([string(), number()]) }), {
|
|
|
14010
13993
|
kind: "mutation",
|
|
14011
13994
|
auth: "admin"
|
|
14012
13995
|
});
|
|
14013
|
-
|
|
14014
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14015
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14016
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14017
|
-
*/
|
|
14018
|
-
var ShmRingStatsSchema = object({
|
|
14019
|
-
sessionId: string(),
|
|
14020
|
-
slotCount: number().int(),
|
|
14021
|
-
slotByteLength: number().int(),
|
|
14022
|
-
segmentBytes: number().int(),
|
|
14023
|
-
budgetMb: number().int(),
|
|
14024
|
-
framesWritten: number().int(),
|
|
14025
|
-
getFrameHits: number().int(),
|
|
14026
|
-
getFrameMisses: number().int()
|
|
14027
|
-
});
|
|
14028
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
13996
|
+
method(_void(), object({
|
|
14029
13997
|
id: string(),
|
|
14030
13998
|
name: string(),
|
|
14031
|
-
isPullMode: boolean().optional(),
|
|
14032
|
-
priority: number().optional(),
|
|
14033
13999
|
hwaccel: string().optional(),
|
|
14034
14000
|
probedBestHwaccel: string().optional()
|
|
14035
|
-
})), method(
|
|
14036
|
-
sessionId: string(),
|
|
14037
|
-
nodeId: string()
|
|
14038
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14039
|
-
sessionId: string(),
|
|
14040
|
-
packet: EncodedPacketSchema
|
|
14041
|
-
}), _void()), method(object({
|
|
14042
|
-
sessionId: string(),
|
|
14043
|
-
url: string()
|
|
14044
|
-
}), _void()), method(object({
|
|
14045
|
-
sessionId: string(),
|
|
14046
|
-
maxCount: number().default(1),
|
|
14047
|
-
waitMs: number().optional()
|
|
14048
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14049
|
-
sessionId: string(),
|
|
14050
|
-
maxCount: number().default(1),
|
|
14051
|
-
waitMs: number().optional()
|
|
14052
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14053
|
-
sessionId: string(),
|
|
14054
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14055
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14056
|
-
sessionId: string(),
|
|
14057
|
-
codec: string(),
|
|
14058
|
-
outputFormat: string(),
|
|
14059
|
-
createdAtMs: number()
|
|
14060
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14001
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14061
14002
|
kind: "mutation",
|
|
14062
14003
|
auth: "admin"
|
|
14063
14004
|
});
|
|
@@ -14113,7 +14054,7 @@ DeviceType.Camera;
|
|
|
14113
14054
|
* This matters here more than anywhere else in the repo, because every provider
|
|
14114
14055
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
14115
14056
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
14116
|
-
* and `http://admin:hunter2@192.168.
|
|
14057
|
+
* and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
|
|
14117
14058
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
14118
14059
|
* filling it is the operator's business, not ours.
|
|
14119
14060
|
*
|
|
@@ -14869,6 +14810,10 @@ var DeviceInfoSchema = object({
|
|
|
14869
14810
|
isCamera: boolean(),
|
|
14870
14811
|
/** Current config values — serializable snapshot */
|
|
14871
14812
|
config: record(string(), unknown()),
|
|
14813
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
14814
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
14815
|
+
* when the owning runner has not reported them. */
|
|
14816
|
+
secretConfigPaths: array(string()).optional(),
|
|
14872
14817
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
14873
14818
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
14874
14819
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15074,7 +15019,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15074
15019
|
* call (workers re-register on init), so probe-driven updates
|
|
15075
15020
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15076
15021
|
features: array(string()).optional(),
|
|
15077
|
-
config: record(string(), unknown())
|
|
15022
|
+
config: record(string(), unknown()),
|
|
15023
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15024
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15025
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15026
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15027
|
+
* omits it and the keyword backstop applies. */
|
|
15028
|
+
secretConfigPaths: array(string()).optional()
|
|
15078
15029
|
});
|
|
15079
15030
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15080
15031
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -15901,6 +15852,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
15901
15852
|
kind: "mutation",
|
|
15902
15853
|
auth: "admin"
|
|
15903
15854
|
});
|
|
15855
|
+
var HUB_ADDRESS_ROLES = [
|
|
15856
|
+
"appConnections",
|
|
15857
|
+
"notificationTaps",
|
|
15858
|
+
"internal",
|
|
15859
|
+
"publicEndpoint"
|
|
15860
|
+
];
|
|
15904
15861
|
/**
|
|
15905
15862
|
* Transport bounds for AI capability methods.
|
|
15906
15863
|
*
|
|
@@ -16727,7 +16684,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
16727
16684
|
icon: string().optional(),
|
|
16728
16685
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16729
16686
|
startUrl: string(),
|
|
16730
|
-
stage: LoginStageEnum
|
|
16687
|
+
stage: LoginStageEnum,
|
|
16688
|
+
/**
|
|
16689
|
+
* The provider names an external identity a signed-in user can link to
|
|
16690
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
16691
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
16692
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
16693
|
+
*/
|
|
16694
|
+
linkable: boolean().optional()
|
|
16731
16695
|
}),
|
|
16732
16696
|
object({
|
|
16733
16697
|
kind: literal("widget"),
|
|
@@ -17097,7 +17061,7 @@ method(object({
|
|
|
17097
17061
|
timeoutMs: 6e5
|
|
17098
17062
|
});
|
|
17099
17063
|
method(object({
|
|
17100
|
-
|
|
17064
|
+
targetNodeId: string(),
|
|
17101
17065
|
modelId: string(),
|
|
17102
17066
|
format: _enum(MODEL_FORMATS),
|
|
17103
17067
|
entry: ModelCatalogEntrySchema
|
|
@@ -18465,6 +18429,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18465
18429
|
"stream-offline",
|
|
18466
18430
|
"node-online",
|
|
18467
18431
|
"node-offline",
|
|
18432
|
+
"node-restarting",
|
|
18433
|
+
"node-updating",
|
|
18468
18434
|
"node-inference-unavailable",
|
|
18469
18435
|
"detection-blind",
|
|
18470
18436
|
"addon-crash-loop",
|
|
@@ -19563,8 +19529,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
19563
19529
|
disabledTargetIds: array(string()).default([])
|
|
19564
19530
|
});
|
|
19565
19531
|
/**
|
|
19566
|
-
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that
|
|
19567
|
-
* still-true state. `
|
|
19532
|
+
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
19533
|
+
* report a still-true state. `addons` is the crash-looped addons only and
|
|
19534
|
+
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
19568
19535
|
* job is not an open state, and the alarm stays instant.
|
|
19569
19536
|
*/
|
|
19570
19537
|
var NcStateSummarySectionIdSchema = _enum([
|
|
@@ -19576,6 +19543,7 @@ var NcStateSummarySectionIdSchema = _enum([
|
|
|
19576
19543
|
"detection-blind",
|
|
19577
19544
|
"nodes",
|
|
19578
19545
|
"addons",
|
|
19546
|
+
"addon-updates",
|
|
19579
19547
|
"updates"
|
|
19580
19548
|
]);
|
|
19581
19549
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
@@ -20056,7 +20024,25 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20056
20024
|
* When this mode may be armed. Absent / null = always allowed (same as a
|
|
20057
20025
|
* rule with no `schedule`). Evaluated with {@link isScheduleActive}.
|
|
20058
20026
|
*/
|
|
20059
|
-
schedule: NcScheduleSchema.optional()
|
|
20027
|
+
schedule: NcScheduleSchema.optional(),
|
|
20028
|
+
/**
|
|
20029
|
+
* D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
|
|
20030
|
+
* intrusion naming the locations)? Absent = false — the entry-delay notification is the
|
|
20031
|
+
* only one, and the matches ride the triggered notification's mosaic (D705).
|
|
20032
|
+
*/
|
|
20033
|
+
notifyDuringEntryDelay: boolean().optional(),
|
|
20034
|
+
/**
|
|
20035
|
+
* D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
|
|
20036
|
+
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20037
|
+
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20038
|
+
*/
|
|
20039
|
+
notifySensorRewatched: boolean().optional(),
|
|
20040
|
+
/**
|
|
20041
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20042
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20043
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20044
|
+
*/
|
|
20045
|
+
notifySensorIgnored: boolean().optional()
|
|
20060
20046
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20061
20047
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20062
20048
|
mode: AlarmArmModeSchema,
|
|
@@ -20065,7 +20051,13 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20065
20051
|
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
|
|
20066
20052
|
postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
|
|
20067
20053
|
/** Set a schedule, or `null` to clear (mode always allowed again). */
|
|
20068
|
-
schedule: NcScheduleSchema.nullable().optional()
|
|
20054
|
+
schedule: NcScheduleSchema.nullable().optional(),
|
|
20055
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20056
|
+
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20057
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20058
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20059
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20060
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20069
20061
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20070
20062
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20071
20063
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21026,45 +21018,25 @@ Object.freeze(Object.fromEntries([{
|
|
|
21026
21018
|
label: "Face recognition model",
|
|
21027
21019
|
defaultModelId: "auraface-r100",
|
|
21028
21020
|
indexName: "the enrolled face gallery",
|
|
21029
|
-
options: [
|
|
21030
|
-
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
},
|
|
21034
|
-
{
|
|
21035
|
-
id: "arcface-r100",
|
|
21036
|
-
label: "ArcFace (ResNet34)"
|
|
21037
|
-
},
|
|
21038
|
-
{
|
|
21039
|
-
id: "inception-resnet-v1",
|
|
21040
|
-
label: "Inception ResNet V1"
|
|
21041
|
-
}
|
|
21042
|
-
]
|
|
21021
|
+
options: [{
|
|
21022
|
+
id: "auraface-r100",
|
|
21023
|
+
label: "AuraFace R100"
|
|
21024
|
+
}]
|
|
21043
21025
|
}, {
|
|
21044
21026
|
stepId: "clip-embedding",
|
|
21045
21027
|
label: "Semantic search model",
|
|
21046
|
-
defaultModelId: "
|
|
21028
|
+
defaultModelId: "siglip2-b16-224",
|
|
21047
21029
|
indexName: "the object semantic-search index",
|
|
21048
|
-
options: [
|
|
21049
|
-
|
|
21050
|
-
|
|
21051
|
-
|
|
21052
|
-
},
|
|
21053
|
-
{
|
|
21054
|
-
id: "mobileclip-s2",
|
|
21055
|
-
label: "MobileCLIP S2"
|
|
21056
|
-
},
|
|
21057
|
-
{
|
|
21058
|
-
id: "siglip2-b16-224",
|
|
21059
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21060
|
-
}
|
|
21061
|
-
]
|
|
21030
|
+
options: [{
|
|
21031
|
+
id: "siglip2-b16-224",
|
|
21032
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21033
|
+
}]
|
|
21062
21034
|
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
21063
21035
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21064
21036
|
stepId: "face-embedding",
|
|
21065
21037
|
key: "minLandmarkFaceSize",
|
|
21066
|
-
label: "Min face size
|
|
21067
|
-
description: "
|
|
21038
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21039
|
+
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.",
|
|
21068
21040
|
type: "slider",
|
|
21069
21041
|
min: 0,
|
|
21070
21042
|
max: 64,
|
|
@@ -22116,7 +22088,13 @@ var RetrainFrameSchema = object({
|
|
|
22116
22088
|
sizeBytes: number().int(),
|
|
22117
22089
|
width: number().int(),
|
|
22118
22090
|
height: number().int(),
|
|
22119
|
-
copiedAt: number()
|
|
22091
|
+
copiedAt: number(),
|
|
22092
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22093
|
+
capturedAt: number().optional(),
|
|
22094
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22095
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22096
|
+
* a false positive. */
|
|
22097
|
+
complete: boolean()
|
|
22120
22098
|
});
|
|
22121
22099
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22122
22100
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22137,6 +22115,51 @@ var RetrainFrameListSchema = object({
|
|
|
22137
22115
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22138
22116
|
autoPickMediaId: number().int().optional()
|
|
22139
22117
|
});
|
|
22118
|
+
/**
|
|
22119
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22120
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22121
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22122
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22123
|
+
* export carried (`exportedInBatch`).
|
|
22124
|
+
*/
|
|
22125
|
+
var RetrainExportFilterSchema = object({
|
|
22126
|
+
deviceIds: array(number()).optional(),
|
|
22127
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22128
|
+
batchId: string().optional(),
|
|
22129
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22130
|
+
completeOnly: boolean().optional()
|
|
22131
|
+
});
|
|
22132
|
+
/**
|
|
22133
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22134
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22135
|
+
* convention — the classifier layout.
|
|
22136
|
+
*/
|
|
22137
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22138
|
+
/**
|
|
22139
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22140
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22141
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22142
|
+
* logged.
|
|
22143
|
+
*/
|
|
22144
|
+
var RetrainArchiveTargetSchema = object({
|
|
22145
|
+
kind: literal("http"),
|
|
22146
|
+
method: _enum(["PUT", "POST"]),
|
|
22147
|
+
url: string().url(),
|
|
22148
|
+
headers: record(string(), string()).optional()
|
|
22149
|
+
});
|
|
22150
|
+
var RetrainArchiveResultSchema = object({
|
|
22151
|
+
batchId: string(),
|
|
22152
|
+
frames: number().int(),
|
|
22153
|
+
crops: number().int(),
|
|
22154
|
+
annotations: number().int(),
|
|
22155
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22156
|
+
missing: number().int(),
|
|
22157
|
+
bytes: number().int(),
|
|
22158
|
+
/** sha256 of the exact bytes sent. */
|
|
22159
|
+
sha256: string(),
|
|
22160
|
+
/** The target's HTTP status. */
|
|
22161
|
+
status: number().int()
|
|
22162
|
+
});
|
|
22140
22163
|
/** What the operator asked the assist to look for. */
|
|
22141
22164
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22142
22165
|
kind: literal("package"),
|
|
@@ -22931,9 +22954,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22931
22954
|
}), RetrainTransitionResultSchema, {
|
|
22932
22955
|
kind: "mutation",
|
|
22933
22956
|
auth: "admin"
|
|
22934
|
-
}), method(
|
|
22957
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
22935
22958
|
kind: "query",
|
|
22936
22959
|
auth: "admin"
|
|
22960
|
+
}), method(object({
|
|
22961
|
+
deviceId: number(),
|
|
22962
|
+
trackId: string(),
|
|
22963
|
+
frameId: string(),
|
|
22964
|
+
complete: boolean()
|
|
22965
|
+
}), RetrainFrameSchema, {
|
|
22966
|
+
kind: "mutation",
|
|
22967
|
+
auth: "admin"
|
|
22968
|
+
}), method(object({
|
|
22969
|
+
filter: RetrainExportFilterSchema,
|
|
22970
|
+
layout: RetrainExportLayoutSchema,
|
|
22971
|
+
target: RetrainArchiveTargetSchema
|
|
22972
|
+
}), RetrainArchiveResultSchema, {
|
|
22973
|
+
kind: "mutation",
|
|
22974
|
+
auth: "admin",
|
|
22975
|
+
timeoutMs: 60 * 6e4
|
|
22937
22976
|
}), method(object({
|
|
22938
22977
|
/** Which of the three event tables owns the row. */
|
|
22939
22978
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -22984,6 +23023,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22984
23023
|
timestamp: number()
|
|
22985
23024
|
});
|
|
22986
23025
|
/**
|
|
23026
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23027
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23028
|
+
*/
|
|
23029
|
+
var SuppliedRootOutputSchema = object({
|
|
23030
|
+
stepId: string(),
|
|
23031
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23032
|
+
modelId: string(),
|
|
23033
|
+
detections: array(object({
|
|
23034
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23035
|
+
bbox: tuple([
|
|
23036
|
+
number(),
|
|
23037
|
+
number(),
|
|
23038
|
+
number(),
|
|
23039
|
+
number()
|
|
23040
|
+
]),
|
|
23041
|
+
score: number(),
|
|
23042
|
+
/**
|
|
23043
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23044
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23045
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23046
|
+
*/
|
|
23047
|
+
landmarks: array(object({
|
|
23048
|
+
x: number(),
|
|
23049
|
+
y: number()
|
|
23050
|
+
})).optional()
|
|
23051
|
+
})).min(1)
|
|
23052
|
+
});
|
|
23053
|
+
/**
|
|
22987
23054
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
22988
23055
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
22989
23056
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23031,7 +23098,7 @@ var FrameRefSchema = object({
|
|
|
23031
23098
|
timestamp: number(),
|
|
23032
23099
|
capturedAt: number().optional()
|
|
23033
23100
|
});
|
|
23034
|
-
var ModelFormatSchema$
|
|
23101
|
+
var ModelFormatSchema$2 = _enum([
|
|
23035
23102
|
"onnx",
|
|
23036
23103
|
"coreml",
|
|
23037
23104
|
"openvino",
|
|
@@ -23049,7 +23116,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23049
23116
|
var PipelineEngineChoiceSchema = object({
|
|
23050
23117
|
runtime: literal("python"),
|
|
23051
23118
|
backend: string(),
|
|
23052
|
-
format: ModelFormatSchema$
|
|
23119
|
+
format: ModelFormatSchema$2,
|
|
23053
23120
|
device: string().optional()
|
|
23054
23121
|
});
|
|
23055
23122
|
/**
|
|
@@ -23088,32 +23155,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23088
23155
|
group: string().optional(),
|
|
23089
23156
|
settings: record(string(), unknown()).optional()
|
|
23090
23157
|
}));
|
|
23091
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23092
|
-
addonId: string(),
|
|
23093
|
-
enabled: boolean(),
|
|
23094
|
-
modelId: string(),
|
|
23095
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23096
|
-
settings: record(string(), unknown()).optional()
|
|
23097
|
-
}));
|
|
23098
|
-
var PipelineTemplateSchema$1 = object({
|
|
23099
|
-
id: string(),
|
|
23100
|
-
name: string(),
|
|
23101
|
-
createdAt: string(),
|
|
23102
|
-
updatedAt: string(),
|
|
23103
|
-
engine: PipelineEngineChoiceSchema,
|
|
23104
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23105
|
-
});
|
|
23106
23158
|
var PipelineModelOptionSchema = object({
|
|
23107
23159
|
id: string(),
|
|
23108
23160
|
name: string(),
|
|
23109
|
-
formats: record(string(),
|
|
23110
|
-
downloaded: boolean(),
|
|
23111
|
-
sizeMB: number()
|
|
23112
|
-
})),
|
|
23161
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23113
23162
|
group: ModelVariantGroupSchema.optional(),
|
|
23114
23163
|
legacy: boolean().optional(),
|
|
23115
23164
|
provider: ModelProviderIdSchema.optional(),
|
|
23116
|
-
defaultConfidence: number().optional()
|
|
23165
|
+
defaultConfidence: number().optional(),
|
|
23166
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23117
23167
|
});
|
|
23118
23168
|
var ConfigFieldBridge = custom();
|
|
23119
23169
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23275,6 +23325,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23275
23325
|
}), {
|
|
23276
23326
|
kind: "mutation",
|
|
23277
23327
|
auth: "admin"
|
|
23328
|
+
}), method(object({
|
|
23329
|
+
nodeId: string(),
|
|
23330
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23331
|
+
dryRun: boolean()
|
|
23332
|
+
}), object({
|
|
23333
|
+
entries: array(object({
|
|
23334
|
+
deviceId: number(),
|
|
23335
|
+
keys: array(string()).readonly()
|
|
23336
|
+
})).readonly(),
|
|
23337
|
+
refused: array(object({
|
|
23338
|
+
deviceId: number(),
|
|
23339
|
+
reason: string()
|
|
23340
|
+
})).readonly()
|
|
23341
|
+
}), {
|
|
23342
|
+
kind: "mutation",
|
|
23343
|
+
auth: "admin"
|
|
23278
23344
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23279
23345
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23280
23346
|
deviceKey: string(),
|
|
@@ -23300,22 +23366,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23300
23366
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23301
23367
|
steps: array(PipelineStepInputSchema),
|
|
23302
23368
|
deviceKey: string().optional()
|
|
23303
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23304
|
-
name: string(),
|
|
23305
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23306
|
-
engine: PipelineEngineChoiceSchema
|
|
23307
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23308
|
-
id: string(),
|
|
23309
|
-
name: string().optional(),
|
|
23310
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23311
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23369
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23312
23370
|
addonId: string(),
|
|
23313
23371
|
modelId: string(),
|
|
23314
|
-
format: ModelFormatSchema$
|
|
23372
|
+
format: ModelFormatSchema$2
|
|
23315
23373
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23316
23374
|
addonId: string(),
|
|
23317
23375
|
modelId: string(),
|
|
23318
|
-
format: ModelFormatSchema$
|
|
23376
|
+
format: ModelFormatSchema$2
|
|
23319
23377
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23320
23378
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23321
23379
|
frame: FrameInputSchema.optional(),
|
|
@@ -23381,7 +23439,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23381
23439
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23382
23440
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23383
23441
|
*/
|
|
23384
|
-
replay: literal(true).optional()
|
|
23442
|
+
replay: literal(true).optional(),
|
|
23443
|
+
/**
|
|
23444
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23445
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23446
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23447
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23448
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23449
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23450
|
+
*/
|
|
23451
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23385
23452
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23386
23453
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23387
23454
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23463,6 +23530,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23463
23530
|
filename: string().optional(),
|
|
23464
23531
|
settings: record(string(), unknown()).optional()
|
|
23465
23532
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23533
|
+
/**
|
|
23534
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23535
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23536
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23537
|
+
* schemas are what crosses the cap boundary.
|
|
23538
|
+
*/
|
|
23539
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23540
|
+
/** The operator's range for it. */
|
|
23541
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23542
|
+
min: 1,
|
|
23543
|
+
max: 8
|
|
23544
|
+
};
|
|
23545
|
+
var HardwareClassIdSchema = _enum([
|
|
23546
|
+
"intel-core-ultra",
|
|
23547
|
+
"intel-n-series",
|
|
23548
|
+
"apple-m-base",
|
|
23549
|
+
"apple-m-pro",
|
|
23550
|
+
"unknown"
|
|
23551
|
+
]);
|
|
23552
|
+
var AcceleratorKindSchema = _enum([
|
|
23553
|
+
"intel-npu",
|
|
23554
|
+
"intel-igpu",
|
|
23555
|
+
"x86-cpu",
|
|
23556
|
+
"arm-cpu",
|
|
23557
|
+
"apple-ane",
|
|
23558
|
+
"coral"
|
|
23559
|
+
]);
|
|
23560
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23561
|
+
object({
|
|
23562
|
+
kind: literal("capacity"),
|
|
23563
|
+
sessions: number(),
|
|
23564
|
+
minSessions: number()
|
|
23565
|
+
}),
|
|
23566
|
+
object({
|
|
23567
|
+
kind: literal("tie-faster"),
|
|
23568
|
+
over: string(),
|
|
23569
|
+
recallDelta: number()
|
|
23570
|
+
}),
|
|
23571
|
+
object({
|
|
23572
|
+
kind: literal("stepped-down"),
|
|
23573
|
+
from: string(),
|
|
23574
|
+
to: string(),
|
|
23575
|
+
limitedBy: string()
|
|
23576
|
+
}),
|
|
23577
|
+
object({
|
|
23578
|
+
kind: literal("no-fit-lightest"),
|
|
23579
|
+
sessions: number(),
|
|
23580
|
+
minSessions: number()
|
|
23581
|
+
}),
|
|
23582
|
+
object({
|
|
23583
|
+
kind: literal("derived-latency"),
|
|
23584
|
+
modelId: string()
|
|
23585
|
+
}),
|
|
23586
|
+
object({ kind: literal("cpu-device") }),
|
|
23587
|
+
object({ kind: literal("coral-untouched") }),
|
|
23588
|
+
object({ kind: literal("device-disabled") }),
|
|
23589
|
+
object({ kind: literal("device-unavailable") }),
|
|
23590
|
+
object({ kind: literal("node-offline") }),
|
|
23591
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23592
|
+
object({
|
|
23593
|
+
kind: literal("no-measured-data"),
|
|
23594
|
+
hardwareClass: HardwareClassIdSchema
|
|
23595
|
+
}),
|
|
23596
|
+
object({
|
|
23597
|
+
kind: literal("no-family-build"),
|
|
23598
|
+
format: ModelFormatSchema$1
|
|
23599
|
+
})
|
|
23600
|
+
]);
|
|
23601
|
+
var DeviceModelChoiceSchema = object({
|
|
23602
|
+
modelId: string(),
|
|
23603
|
+
p50Ms: number(),
|
|
23604
|
+
fps: number(),
|
|
23605
|
+
measured: boolean(),
|
|
23606
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23607
|
+
capacitySessions: number(),
|
|
23608
|
+
personRecall: number()
|
|
23609
|
+
});
|
|
23610
|
+
var DeviceRecommendationSchema = object({
|
|
23611
|
+
deviceKey: string(),
|
|
23612
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23613
|
+
enabled: boolean(),
|
|
23614
|
+
available: boolean(),
|
|
23615
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23616
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23617
|
+
});
|
|
23618
|
+
var NodeRecommendationSchema = object({
|
|
23619
|
+
nodeId: string(),
|
|
23620
|
+
reachable: boolean(),
|
|
23621
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23622
|
+
cpuModel: string().nullable(),
|
|
23623
|
+
skipped: boolean(),
|
|
23624
|
+
acceleratorModelId: string().nullable(),
|
|
23625
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23626
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23627
|
+
});
|
|
23628
|
+
var ModelPinChangeSchema = object({
|
|
23629
|
+
stepId: string(),
|
|
23630
|
+
before: string().nullable(),
|
|
23631
|
+
after: string().nullable()
|
|
23632
|
+
});
|
|
23633
|
+
var NodeDeviceChangeSchema = object({
|
|
23634
|
+
nodeId: string(),
|
|
23635
|
+
deviceKey: string(),
|
|
23636
|
+
madeExplicit: boolean(),
|
|
23637
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23638
|
+
thresholds: array(object({
|
|
23639
|
+
stepId: string(),
|
|
23640
|
+
keys: array(string()).readonly()
|
|
23641
|
+
})).readonly()
|
|
23642
|
+
});
|
|
23643
|
+
var CameraOverrideClearSchema = object({
|
|
23644
|
+
deviceId: number(),
|
|
23645
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23646
|
+
nodeId: string(),
|
|
23647
|
+
deviceKey: string().nullable(),
|
|
23648
|
+
stepId: string(),
|
|
23649
|
+
modelIdBefore: string().nullable(),
|
|
23650
|
+
keys: array(string()).readonly()
|
|
23651
|
+
});
|
|
23652
|
+
var DetectorStoreClearSchema = object({
|
|
23653
|
+
deviceId: number(),
|
|
23654
|
+
keys: array(string()).readonly()
|
|
23655
|
+
});
|
|
23656
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23657
|
+
object({
|
|
23658
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23659
|
+
skippedNodes: array(string()).readonly()
|
|
23660
|
+
}),
|
|
23661
|
+
object({
|
|
23662
|
+
kind: literal("detector-store-unreadable"),
|
|
23663
|
+
error: string()
|
|
23664
|
+
}),
|
|
23665
|
+
object({
|
|
23666
|
+
kind: literal("coral-enabled"),
|
|
23667
|
+
nodeId: string(),
|
|
23668
|
+
deviceKey: string()
|
|
23669
|
+
})
|
|
23670
|
+
]);
|
|
23671
|
+
var AutoTuneOptionsSchema = object({
|
|
23672
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
23673
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23674
|
+
/**
|
|
23675
|
+
* The least number of parallel sessions every device must sustain at the
|
|
23676
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
23677
|
+
* that reaches it wins.
|
|
23678
|
+
*/
|
|
23679
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23680
|
+
});
|
|
23681
|
+
var AutoTunePlanSchema = object({
|
|
23682
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
23683
|
+
planHash: string(),
|
|
23684
|
+
family: literal("yolov9"),
|
|
23685
|
+
headroom: number(),
|
|
23686
|
+
minSessionsPerDevice: number(),
|
|
23687
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
23688
|
+
cameraFps: number(),
|
|
23689
|
+
generatedAt: number(),
|
|
23690
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
23691
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
23692
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
23693
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
23694
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
23695
|
+
});
|
|
23696
|
+
var AutoTuneApplyInputSchema = object({
|
|
23697
|
+
planHash: string(),
|
|
23698
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23699
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23700
|
+
});
|
|
23701
|
+
var AutoTunePhaseResultSchema = object({
|
|
23702
|
+
phase: _enum([
|
|
23703
|
+
"download",
|
|
23704
|
+
"camera-overrides",
|
|
23705
|
+
"detector-thresholds",
|
|
23706
|
+
"node-models",
|
|
23707
|
+
"redispatch"
|
|
23708
|
+
]),
|
|
23709
|
+
ok: boolean(),
|
|
23710
|
+
detail: string()
|
|
23711
|
+
});
|
|
23712
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
23713
|
+
object({
|
|
23714
|
+
kind: literal("applied"),
|
|
23715
|
+
planHash: string(),
|
|
23716
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23717
|
+
}),
|
|
23718
|
+
object({
|
|
23719
|
+
kind: literal("aborted"),
|
|
23720
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23721
|
+
}),
|
|
23722
|
+
object({
|
|
23723
|
+
kind: literal("stale"),
|
|
23724
|
+
plan: AutoTunePlanSchema
|
|
23725
|
+
}),
|
|
23726
|
+
object({
|
|
23727
|
+
kind: literal("refused"),
|
|
23728
|
+
reason: _enum(["apply-in-progress"])
|
|
23729
|
+
})
|
|
23730
|
+
]);
|
|
23731
|
+
/**
|
|
23732
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
23733
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
23734
|
+
* hardware share suggestion and the stale device pins.
|
|
23735
|
+
*/
|
|
23736
|
+
/**
|
|
23737
|
+
* How a new detection session picks its node and device.
|
|
23738
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
23739
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
23740
|
+
* weight only bites once a node already holds a session.
|
|
23741
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
23742
|
+
* full or drowning node yields to a free one (D748).
|
|
23743
|
+
*/
|
|
23744
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
23745
|
+
var LoadBalancingSharesInputSchema = object({
|
|
23746
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
23747
|
+
nodes: record(string(), number().positive()).default({}),
|
|
23748
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
23749
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
23750
|
+
});
|
|
23751
|
+
var PlacementStatsInputSchema = object({
|
|
23752
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
23753
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
23754
|
+
var PlacementDeviceStatsSchema = object({
|
|
23755
|
+
deviceKey: string(),
|
|
23756
|
+
/** Sessions running on this device now. */
|
|
23757
|
+
sessionsNow: number(),
|
|
23758
|
+
/** Sessions started on this device inside the window. */
|
|
23759
|
+
sessionsStarted: number(),
|
|
23760
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
23761
|
+
observedShare: number().nullable()
|
|
23762
|
+
});
|
|
23763
|
+
var PlacementNodeStatsSchema = object({
|
|
23764
|
+
nodeId: string(),
|
|
23765
|
+
sessionsNow: number(),
|
|
23766
|
+
sessionsStarted: number(),
|
|
23767
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
23768
|
+
observedShare: number().nullable(),
|
|
23769
|
+
/** Most sessions this node ran at once inside the window. */
|
|
23770
|
+
peakSessions: number(),
|
|
23771
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
23772
|
+
yieldsAway: number(),
|
|
23773
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
23774
|
+
});
|
|
23775
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
23776
|
+
var StaleDevicePinSchema = object({
|
|
23777
|
+
deviceId: number(),
|
|
23778
|
+
deviceKey: string(),
|
|
23779
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
23780
|
+
reason: _enum(["disabled", "absent"])
|
|
23781
|
+
});
|
|
23782
|
+
var PlacementStatsSchema = object({
|
|
23783
|
+
policy: SessionPlacementPolicySchema,
|
|
23784
|
+
windowMs: number(),
|
|
23785
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
23786
|
+
observedForMs: number(),
|
|
23787
|
+
sessionsNow: number(),
|
|
23788
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
23789
|
+
clusterPeakSessions: number(),
|
|
23790
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
23791
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
23792
|
+
});
|
|
23793
|
+
/**
|
|
23794
|
+
* Where an automatic share's capacity comes from (D755).
|
|
23795
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
23796
|
+
* the measured latency table for the node's hardware class.
|
|
23797
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
23798
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
23799
|
+
*/
|
|
23800
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
23801
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
23802
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
23803
|
+
var SuggestSharesInputSchema = object({
|
|
23804
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23805
|
+
/** Default `hardware`. */
|
|
23806
|
+
source: CapacitySourceSchema.default("hardware")
|
|
23807
|
+
});
|
|
23808
|
+
var SuggestedDeviceShareSchema = object({
|
|
23809
|
+
deviceKey: string(),
|
|
23810
|
+
/** Share of the node (0–100, rounded). */
|
|
23811
|
+
share: number(),
|
|
23812
|
+
modelId: string().nullable(),
|
|
23813
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
23814
|
+
fps: number().nullable(),
|
|
23815
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
23816
|
+
measured: boolean(),
|
|
23817
|
+
/**
|
|
23818
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
23819
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
23820
|
+
*/
|
|
23821
|
+
suggestedMaxSessions: number().nullable()
|
|
23822
|
+
});
|
|
23823
|
+
var SuggestedNodeShareSchema = object({
|
|
23824
|
+
nodeId: string(),
|
|
23825
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
23826
|
+
share: number().nullable(),
|
|
23827
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
23828
|
+
capacitySessions: number(),
|
|
23829
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
23830
|
+
skippedReason: string().nullable(),
|
|
23831
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
23832
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
23833
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
23834
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
23835
|
+
});
|
|
23836
|
+
var SuggestSharesResultSchema = object({
|
|
23837
|
+
headroom: number(),
|
|
23838
|
+
/** The source asked for; each node says what it actually used. */
|
|
23839
|
+
source: CapacitySourceSchema,
|
|
23840
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
23841
|
+
cameraFps: number(),
|
|
23842
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
23843
|
+
minSessionsPerDevice: number(),
|
|
23844
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
23845
|
+
});
|
|
23846
|
+
/**
|
|
23847
|
+
* Where the node and device shares come from (D750, D755).
|
|
23848
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
23849
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
23850
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
23851
|
+
* switched on or off, or changes model. No load input.
|
|
23852
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
23853
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
23854
|
+
* - `manual` — the operator's stored sliders.
|
|
23855
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
23856
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
23857
|
+
*/
|
|
23858
|
+
var ShareSourceSchema = _enum([
|
|
23859
|
+
"hardware",
|
|
23860
|
+
"benchmark",
|
|
23861
|
+
"manual"
|
|
23862
|
+
]);
|
|
23863
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
23864
|
+
object({
|
|
23865
|
+
nodes: record(string(), number()),
|
|
23866
|
+
devices: record(string(), record(string(), number()))
|
|
23867
|
+
});
|
|
23868
|
+
var EffectiveDeviceShareSchema = object({
|
|
23869
|
+
deviceKey: string(),
|
|
23870
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
23871
|
+
eligible: boolean(),
|
|
23872
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
23873
|
+
configuredPct: number(),
|
|
23874
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
23875
|
+
effectivePct: number()
|
|
23876
|
+
});
|
|
23877
|
+
var EffectiveNodeShareSchema = object({
|
|
23878
|
+
nodeId: string(),
|
|
23879
|
+
eligible: boolean(),
|
|
23880
|
+
configuredPct: number(),
|
|
23881
|
+
effectivePct: number(),
|
|
23882
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
23883
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
23884
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
23885
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
23886
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
23887
|
+
});
|
|
23888
|
+
var EffectiveSharesSchema = object({
|
|
23889
|
+
source: ShareSourceSchema,
|
|
23890
|
+
policy: SessionPlacementPolicySchema,
|
|
23891
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
23892
|
+
autoPending: boolean(),
|
|
23893
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
23894
|
+
computedAt: number().nullable(),
|
|
23895
|
+
/** What made the system recompute them last. */
|
|
23896
|
+
trigger: string().nullable(),
|
|
23897
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
23898
|
+
/** The relative weights the election reads (before eligibility). */
|
|
23899
|
+
nodeWeights: record(string(), number()),
|
|
23900
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
23901
|
+
});
|
|
23466
23902
|
object({
|
|
23467
23903
|
activeCameras: number(),
|
|
23468
23904
|
throttledCameras: number(),
|
|
@@ -23906,6 +24342,22 @@ var MotionSourceEnum = _enum([
|
|
|
23906
24342
|
"device-activity"
|
|
23907
24343
|
]);
|
|
23908
24344
|
/**
|
|
24345
|
+
* What opened an on-motion detection SESSION: the motion source that passed the
|
|
24346
|
+
* camera's `motionSources` gate, and what raised it (the camera itself, or a
|
|
24347
|
+
* sensor the operator attached — D672). `sensorName` is the attached sensor's
|
|
24348
|
+
* device name as the orchestrator's camera-sensors resolution last read it;
|
|
24349
|
+
* absent when unknown or when the camera itself triggered.
|
|
24350
|
+
*
|
|
24351
|
+
* Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
|
|
24352
|
+
* can say what started the session (D672 rule 11, amended 2026-10-06). The
|
|
24353
|
+
* runner never decides anything on it.
|
|
24354
|
+
*/
|
|
24355
|
+
var SessionTriggerSchema = object({
|
|
24356
|
+
source: MotionSourceEnum,
|
|
24357
|
+
triggeredBy: MotionTriggeredBySchema,
|
|
24358
|
+
sensorName: string().optional()
|
|
24359
|
+
});
|
|
24360
|
+
/**
|
|
23909
24361
|
* List of motion sources active on a camera. Empty array is valid:
|
|
23910
24362
|
* "no source" — happens for battery cams without firmware motion when
|
|
23911
24363
|
* the operator hasn't opted into the SW analyzer (would hold the
|
|
@@ -24157,6 +24609,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
24157
24609
|
*/
|
|
24158
24610
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
24159
24611
|
/**
|
|
24612
|
+
* What opened this attach, on a SESSION attach only (see
|
|
24613
|
+
* {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
|
|
24614
|
+
* standing attach, an occupancy burst, a re-dispatch with no motion event
|
|
24615
|
+
* behind it, and every attach from an orchestrator older than the field — the
|
|
24616
|
+
* runner then names no source on the phase event.
|
|
24617
|
+
*/
|
|
24618
|
+
sessionTrigger: SessionTriggerSchema.optional(),
|
|
24619
|
+
/**
|
|
24160
24620
|
* WHICH root detector runs for this camera. The detection counterpart of
|
|
24161
24621
|
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
24162
24622
|
* of sources the system understands, vendor-agnostic, owned here.
|
|
@@ -24316,14 +24776,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24316
24776
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24317
24777
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24318
24778
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24319
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24320
|
-
* per
|
|
24779
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
24780
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
24781
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
24782
|
+
* (D762).
|
|
24321
24783
|
*/
|
|
24322
24784
|
devices: array(object({
|
|
24323
24785
|
deviceKey: string(),
|
|
24324
24786
|
backend: string(),
|
|
24325
|
-
attachedCameras: number()
|
|
24326
|
-
queueDepthTotal: number()
|
|
24787
|
+
attachedCameras: number()
|
|
24327
24788
|
})).default([]),
|
|
24328
24789
|
/** Hardware capability flags reported by this node. */
|
|
24329
24790
|
hardware: object({
|
|
@@ -24459,7 +24920,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24459
24920
|
*/
|
|
24460
24921
|
cropJpeg: string().optional(),
|
|
24461
24922
|
parent: DetailParentSchema,
|
|
24462
|
-
steps: array(string()).optional()
|
|
24923
|
+
steps: array(string()).optional(),
|
|
24924
|
+
/**
|
|
24925
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
24926
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
24927
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
24928
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
24929
|
+
* requested step infers as before.
|
|
24930
|
+
*/
|
|
24931
|
+
supplied: object({
|
|
24932
|
+
stepId: string(),
|
|
24933
|
+
modelId: string(),
|
|
24934
|
+
boxes: array(object({
|
|
24935
|
+
bbox: NativeCropBboxSchema,
|
|
24936
|
+
score: number()
|
|
24937
|
+
})).min(1)
|
|
24938
|
+
}).optional()
|
|
24463
24939
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24464
24940
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24465
24941
|
stepId: string(),
|
|
@@ -24522,14 +24998,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24522
24998
|
settings: record(string(), unknown()).readonly().optional()
|
|
24523
24999
|
}).nullable().optional()
|
|
24524
25000
|
});
|
|
24525
|
-
var PipelineTemplateSchema = object({
|
|
24526
|
-
id: string(),
|
|
24527
|
-
name: string(),
|
|
24528
|
-
description: string().optional(),
|
|
24529
|
-
config: CameraPipelineConfigSchema,
|
|
24530
|
-
createdAt: string(),
|
|
24531
|
-
updatedAt: string()
|
|
24532
|
-
});
|
|
24533
25001
|
var DeviceStepConfigSchema = object({
|
|
24534
25002
|
modelId: string().optional(),
|
|
24535
25003
|
settings: record(string(), unknown()).optional(),
|
|
@@ -24603,9 +25071,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
24603
25071
|
modelId: string().optional(),
|
|
24604
25072
|
settings: record(string(), unknown()).readonly().optional()
|
|
24605
25073
|
});
|
|
25074
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
24606
25075
|
var CameraPipelineSettingsSchema = object({
|
|
24607
|
-
pinnedAgentNodeId: string().optional(),
|
|
24608
25076
|
stepToggles: record(string(), boolean()).optional(),
|
|
25077
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
24609
25078
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
24610
25079
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
24611
25080
|
});
|
|
@@ -24638,7 +25107,10 @@ var PipelineAssignmentSchema = object({
|
|
|
24638
25107
|
});
|
|
24639
25108
|
/**
|
|
24640
25109
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
24641
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25110
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25111
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25112
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25113
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
24642
25114
|
*/
|
|
24643
25115
|
var AgentLoadSummarySchema = object({
|
|
24644
25116
|
nodeId: string(),
|
|
@@ -24727,26 +25199,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
24727
25199
|
width: number(),
|
|
24728
25200
|
height: number(),
|
|
24729
25201
|
subscribers: number(),
|
|
24730
|
-
|
|
24731
|
-
|
|
25202
|
+
/**
|
|
25203
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25204
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25205
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25206
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25207
|
+
* camera and is not served (D758).
|
|
25208
|
+
*/
|
|
25209
|
+
inFps: number().nullable()
|
|
24732
25210
|
})).readonly(),
|
|
24733
25211
|
webrtcSessions: number(),
|
|
24734
25212
|
rtspRestream: boolean()
|
|
24735
25213
|
});
|
|
24736
|
-
/**
|
|
24737
|
-
|
|
24738
|
-
|
|
24739
|
-
|
|
24740
|
-
|
|
24741
|
-
|
|
24742
|
-
|
|
24743
|
-
|
|
24744
|
-
var CameraDecoderStatusSchema = object({
|
|
24745
|
-
nodeId: string(),
|
|
24746
|
-
formats: array(string()).readonly(),
|
|
24747
|
-
sessionCount: number(),
|
|
24748
|
-
shm: CameraDecoderShmSchema
|
|
24749
|
-
});
|
|
25214
|
+
/**
|
|
25215
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25216
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25217
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25218
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25219
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25220
|
+
* detector), never from a counter nothing feeds.
|
|
25221
|
+
*/
|
|
25222
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
24750
25223
|
/** Motion block — null when motion detection is not active for this device. */
|
|
24751
25224
|
var CameraMotionStatusSchema = object({
|
|
24752
25225
|
enabled: boolean(),
|
|
@@ -25103,12 +25576,6 @@ method(object({
|
|
|
25103
25576
|
}), object({ success: literal(true) }), {
|
|
25104
25577
|
kind: "mutation",
|
|
25105
25578
|
auth: "admin"
|
|
25106
|
-
}), method(object({
|
|
25107
|
-
agentNodeId: string(),
|
|
25108
|
-
detectWeight: number().positive().nullable()
|
|
25109
|
-
}), object({ success: literal(true) }), {
|
|
25110
|
-
kind: "mutation",
|
|
25111
|
-
auth: "admin"
|
|
25112
25579
|
}), method(object({
|
|
25113
25580
|
agentNodeId: string(),
|
|
25114
25581
|
detect: boolean().nullable().optional(),
|
|
@@ -25150,6 +25617,15 @@ method(object({
|
|
|
25150
25617
|
}), {
|
|
25151
25618
|
kind: "mutation",
|
|
25152
25619
|
auth: "admin"
|
|
25620
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25621
|
+
kind: "mutation",
|
|
25622
|
+
auth: "admin"
|
|
25623
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
25624
|
+
kind: "mutation",
|
|
25625
|
+
auth: "admin"
|
|
25626
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
25627
|
+
kind: "mutation",
|
|
25628
|
+
auth: "admin"
|
|
25153
25629
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25154
25630
|
deviceId: number(),
|
|
25155
25631
|
addonId: string(),
|
|
@@ -25166,6 +25642,13 @@ method(object({
|
|
|
25166
25642
|
}), object({ success: literal(true) }), {
|
|
25167
25643
|
kind: "mutation",
|
|
25168
25644
|
auth: "admin"
|
|
25645
|
+
}), method(object({
|
|
25646
|
+
deviceId: number(),
|
|
25647
|
+
addonId: string(),
|
|
25648
|
+
settings: record(string(), unknown()).nullable()
|
|
25649
|
+
}), object({ success: literal(true) }), {
|
|
25650
|
+
kind: "mutation",
|
|
25651
|
+
auth: "admin"
|
|
25169
25652
|
}), method(object({
|
|
25170
25653
|
deviceId: number(),
|
|
25171
25654
|
agentNodeId: string(),
|
|
@@ -25189,25 +25672,7 @@ method(object({
|
|
|
25189
25672
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25190
25673
|
kind: "mutation",
|
|
25191
25674
|
auth: "admin"
|
|
25192
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25193
|
-
name: string(),
|
|
25194
|
-
description: string().optional(),
|
|
25195
|
-
config: CameraPipelineConfigSchema
|
|
25196
|
-
}), PipelineTemplateSchema, {
|
|
25197
|
-
kind: "mutation",
|
|
25198
|
-
auth: "admin"
|
|
25199
|
-
}), method(object({
|
|
25200
|
-
id: string(),
|
|
25201
|
-
name: string().optional(),
|
|
25202
|
-
description: string().optional(),
|
|
25203
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25204
|
-
}), PipelineTemplateSchema, {
|
|
25205
|
-
kind: "mutation",
|
|
25206
|
-
auth: "admin"
|
|
25207
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25208
|
-
kind: "mutation",
|
|
25209
|
-
auth: "admin"
|
|
25210
|
-
});
|
|
25675
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25211
25676
|
/**
|
|
25212
25677
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25213
25678
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -25810,7 +26275,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
25810
26275
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
25811
26276
|
* operator already consented to.
|
|
25812
26277
|
*/
|
|
25813
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26278
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26279
|
+
/**
|
|
26280
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26281
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26282
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26283
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26284
|
+
*/
|
|
26285
|
+
linkIntent: string().optional(),
|
|
26286
|
+
/**
|
|
26287
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26288
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26289
|
+
*/
|
|
26290
|
+
issuer: string().optional()
|
|
25814
26291
|
});
|
|
25815
26292
|
method(object({
|
|
25816
26293
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -27440,8 +27917,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27440
27917
|
]).nullable(),
|
|
27441
27918
|
/** Input FPS from the camera (null for adaptive). */
|
|
27442
27919
|
inputFps: number().nullable(),
|
|
27443
|
-
/** Decoded FPS (null for adaptive). */
|
|
27444
|
-
decodeFps: number().nullable(),
|
|
27445
27920
|
/** Bitrate in kbps (null for adaptive). */
|
|
27446
27921
|
bitrateKbps: number().nullable()
|
|
27447
27922
|
});
|
|
@@ -27718,7 +28193,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
27718
28193
|
* field their hints were silently stripped by the schema and the
|
|
27719
28194
|
* adaptive ladder started blind on the client's display size.
|
|
27720
28195
|
*/
|
|
27721
|
-
hints: webrtcClientHintsSchema.optional()
|
|
28196
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
28197
|
+
/**
|
|
28198
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
28199
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
28200
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
28201
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
28202
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
28203
|
+
*
|
|
28204
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
28205
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
28206
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
28207
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
28208
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
28209
|
+
* flag must not become a second door to the camera's speaker.
|
|
28210
|
+
*/
|
|
28211
|
+
talkback: boolean().optional()
|
|
27722
28212
|
}), object({
|
|
27723
28213
|
sessionId: string(),
|
|
27724
28214
|
sdpAnswer: string()
|
|
@@ -27773,6 +28263,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
27773
28263
|
*/
|
|
27774
28264
|
alive: boolean()
|
|
27775
28265
|
})), method(object({
|
|
28266
|
+
deviceId: number().int().nonnegative(),
|
|
28267
|
+
sessionId: string(),
|
|
28268
|
+
downlinkMbps: number().nonnegative()
|
|
28269
|
+
}), object({
|
|
28270
|
+
outcome: _enum(["switching", "held"]),
|
|
28271
|
+
tier: CamProfileSchema.nullable(),
|
|
28272
|
+
reason: string()
|
|
28273
|
+
}), { kind: "mutation" }), method(object({
|
|
27776
28274
|
deviceId: number().int().nonnegative(),
|
|
27777
28275
|
sessionId: string()
|
|
27778
28276
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28012,6 +28510,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28012
28510
|
var RestartAddonResultSchema = unknown();
|
|
28013
28511
|
var InstallPackageResultSchema = unknown();
|
|
28014
28512
|
var ReloadPackagesResultSchema = unknown();
|
|
28513
|
+
/**
|
|
28514
|
+
* What an uninstall did on ONE node.
|
|
28515
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28516
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28517
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28518
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28519
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28520
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28521
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28522
|
+
*/
|
|
28523
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28524
|
+
"uninstalled",
|
|
28525
|
+
"not-installed",
|
|
28526
|
+
"refused",
|
|
28527
|
+
"failed",
|
|
28528
|
+
"pending-reconnect"
|
|
28529
|
+
]);
|
|
28530
|
+
var UninstallNodeResultSchema = object({
|
|
28531
|
+
nodeId: string(),
|
|
28532
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28533
|
+
error: string().optional(),
|
|
28534
|
+
addonIds: array(string()).readonly(),
|
|
28535
|
+
runnersStopped: array(string()).readonly(),
|
|
28536
|
+
warnings: array(string()).readonly()
|
|
28537
|
+
});
|
|
28538
|
+
var UninstallPackageResultSchema = object({
|
|
28539
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28540
|
+
success: boolean(),
|
|
28541
|
+
packageName: string(),
|
|
28542
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28543
|
+
});
|
|
28544
|
+
/**
|
|
28545
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28546
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28547
|
+
*/
|
|
28548
|
+
var PackageInstallationsSchema = object({
|
|
28549
|
+
installations: array(object({
|
|
28550
|
+
packageName: string(),
|
|
28551
|
+
nodeId: string(),
|
|
28552
|
+
nodeName: string(),
|
|
28553
|
+
isHub: boolean(),
|
|
28554
|
+
isOnline: boolean(),
|
|
28555
|
+
version: string().nullable(),
|
|
28556
|
+
addonIds: array(string()).readonly(),
|
|
28557
|
+
source: _enum(["live", "recorded"]),
|
|
28558
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28559
|
+
onHub: boolean()
|
|
28560
|
+
})).readonly(),
|
|
28561
|
+
unreachable: array(object({
|
|
28562
|
+
nodeId: string(),
|
|
28563
|
+
error: string()
|
|
28564
|
+
})).readonly()
|
|
28565
|
+
});
|
|
28015
28566
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28016
28567
|
"queued",
|
|
28017
28568
|
"updating",
|
|
@@ -28094,10 +28645,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28094
28645
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28095
28646
|
kind: "mutation",
|
|
28096
28647
|
auth: "admin"
|
|
28097
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28648
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28649
|
+
packageName: string().min(1),
|
|
28650
|
+
nodeId: string().optional(),
|
|
28651
|
+
everywhere: boolean().optional()
|
|
28652
|
+
}), UninstallPackageResultSchema, {
|
|
28098
28653
|
kind: "mutation",
|
|
28099
28654
|
auth: "admin"
|
|
28100
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28655
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28101
28656
|
kind: "mutation",
|
|
28102
28657
|
auth: "admin"
|
|
28103
28658
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -30393,7 +30948,7 @@ var LocalInterfaceSchema = object({
|
|
|
30393
30948
|
name: string(),
|
|
30394
30949
|
family: _enum(["IPv4", "IPv6"]),
|
|
30395
30950
|
address: string(),
|
|
30396
|
-
/** CIDR shorthand (e.g. `192.168.
|
|
30951
|
+
/** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
|
|
30397
30952
|
cidr: string(),
|
|
30398
30953
|
/** OS netmask. Stable across calls so the SDK can hash on it. */
|
|
30399
30954
|
netmask: string(),
|
|
@@ -30447,7 +31002,9 @@ var ConnectionEndpointSchema = object({
|
|
|
30447
31002
|
"lan-ipv4",
|
|
30448
31003
|
"lan-ipv6",
|
|
30449
31004
|
"public",
|
|
30450
|
-
"loopback"
|
|
31005
|
+
"loopback",
|
|
31006
|
+
"app-link",
|
|
31007
|
+
"custom"
|
|
30451
31008
|
]),
|
|
30452
31009
|
/**
|
|
30453
31010
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -30516,15 +31073,27 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
30516
31073
|
localPort: AdvertisedLocalPortSchema
|
|
30517
31074
|
});
|
|
30518
31075
|
/**
|
|
30519
|
-
* The
|
|
30520
|
-
*
|
|
30521
|
-
*
|
|
31076
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
31077
|
+
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
31078
|
+
* so the UI can show it either way.
|
|
30522
31079
|
*/
|
|
30523
31080
|
var NotificationEndpointSchema = object({
|
|
30524
31081
|
/** The operator's explicit choice, or null for AUTO. */
|
|
30525
31082
|
baseUrl: string().nullable(),
|
|
30526
|
-
/**
|
|
30527
|
-
|
|
31083
|
+
/**
|
|
31084
|
+
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
31085
|
+
* CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
|
|
31086
|
+
* answered the public tunnel / mesh here, or null.
|
|
31087
|
+
*/
|
|
31088
|
+
resolved: string().nullable(),
|
|
31089
|
+
/**
|
|
31090
|
+
* The hub origin an app link carries as `hub=` (D709): the hub's best
|
|
31091
|
+
* public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
|
|
31092
|
+
* picked from this cap's own palette by `pickAppLinkHub`. `null` when the
|
|
31093
|
+
* hub advertises neither; the app link is then minted without `hub=`.
|
|
31094
|
+
* Absent on a pre-D709 hub.
|
|
31095
|
+
*/
|
|
31096
|
+
appLinkHub: string().nullable()
|
|
30528
31097
|
});
|
|
30529
31098
|
/**
|
|
30530
31099
|
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
@@ -30537,6 +31106,72 @@ var ViewerEndpointsSchema = object({
|
|
|
30537
31106
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
30538
31107
|
resolved: array(string()).readonly()
|
|
30539
31108
|
});
|
|
31109
|
+
/**
|
|
31110
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
31111
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
31112
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
31113
|
+
*/
|
|
31114
|
+
var HubAddressSnapshotSchema = object({
|
|
31115
|
+
override: string().nullable(),
|
|
31116
|
+
resolved: string().nullable(),
|
|
31117
|
+
source: _enum([
|
|
31118
|
+
"override",
|
|
31119
|
+
"auto",
|
|
31120
|
+
"none"
|
|
31121
|
+
])
|
|
31122
|
+
});
|
|
31123
|
+
var HubAddressesSchema = object({
|
|
31124
|
+
cluster: HubAddressSnapshotSchema,
|
|
31125
|
+
browser: HubAddressSnapshotSchema
|
|
31126
|
+
});
|
|
31127
|
+
/**
|
|
31128
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
31129
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
31130
|
+
* by at most one address.
|
|
31131
|
+
*/
|
|
31132
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
31133
|
+
var RoleSourceSchema = _enum([
|
|
31134
|
+
"flagged",
|
|
31135
|
+
"auto",
|
|
31136
|
+
"none"
|
|
31137
|
+
]);
|
|
31138
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
31139
|
+
var HubAddressRoleResolutionSchema = object({
|
|
31140
|
+
/** The address carrying the flag, or null = automatic. */
|
|
31141
|
+
flagged: string().nullable(),
|
|
31142
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
31143
|
+
resolved: string().nullable(),
|
|
31144
|
+
source: RoleSourceSchema
|
|
31145
|
+
});
|
|
31146
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
31147
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
31148
|
+
flagged: array(string()).readonly(),
|
|
31149
|
+
/** What the apps race right now. */
|
|
31150
|
+
resolved: array(string()).readonly(),
|
|
31151
|
+
source: RoleSourceSchema
|
|
31152
|
+
});
|
|
31153
|
+
var HubAddressBookSchema = object({
|
|
31154
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
31155
|
+
/** In the hub's detected palette right now. */
|
|
31156
|
+
detected: boolean(),
|
|
31157
|
+
/** Entered by the operator (removable). */
|
|
31158
|
+
custom: boolean(),
|
|
31159
|
+
/** The roles explicitly flagged on this address. */
|
|
31160
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
31161
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
31162
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
31163
|
+
/** The roles this address may be flagged with. */
|
|
31164
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
31165
|
+
})).readonly(),
|
|
31166
|
+
roles: object({
|
|
31167
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
31168
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
31169
|
+
internal: HubAddressRoleResolutionSchema,
|
|
31170
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
31171
|
+
}),
|
|
31172
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
31173
|
+
appLinkHub: string().nullable()
|
|
31174
|
+
});
|
|
30540
31175
|
var AllowedAddressesSchema = object({
|
|
30541
31176
|
/**
|
|
30542
31177
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30578,8 +31213,29 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30578
31213
|
* Pass `'https'` when the caller is itself loaded over HTTPS
|
|
30579
31214
|
* to avoid mixed-content blocks in the browser. The public
|
|
30580
31215
|
* tunnel always emits `https://` regardless. */
|
|
30581
|
-
scheme: _enum(["http", "https"]).optional()
|
|
30582
|
-
|
|
31216
|
+
scheme: _enum(["http", "https"]).optional(),
|
|
31217
|
+
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
31218
|
+
* an address notification taps can be flagged with, not a hub
|
|
31219
|
+
* route. Default `false`: racers and rankers never see it. */
|
|
31220
|
+
includeAppLink: boolean().optional()
|
|
31221
|
+
}), 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({
|
|
31222
|
+
baseUrl: string(),
|
|
31223
|
+
label: string().max(80)
|
|
31224
|
+
}), HubAddressBookSchema, {
|
|
31225
|
+
kind: "mutation",
|
|
31226
|
+
auth: "admin"
|
|
31227
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
31228
|
+
kind: "mutation",
|
|
31229
|
+
auth: "admin"
|
|
31230
|
+
}), method(object({
|
|
31231
|
+
role: HubAddressRoleSchema,
|
|
31232
|
+
baseUrl: string().nullable(),
|
|
31233
|
+
enabled: boolean(),
|
|
31234
|
+
acceptInsecureHttp: boolean().optional()
|
|
31235
|
+
}), HubAddressBookSchema, {
|
|
31236
|
+
kind: "mutation",
|
|
31237
|
+
auth: "admin"
|
|
31238
|
+
}), 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, {
|
|
30583
31239
|
kind: "mutation",
|
|
30584
31240
|
auth: "admin"
|
|
30585
31241
|
}), method(object({
|
|
@@ -30839,7 +31495,7 @@ var MeshPeerSchema = object({
|
|
|
30839
31495
|
tags: array(string()).readonly(),
|
|
30840
31496
|
/** True when the peer advertises itself as an exit-node candidate. */
|
|
30841
31497
|
exitNodeOption: boolean(),
|
|
30842
|
-
/** Subnet routes the peer advertises (e.g. `["192.168.
|
|
31498
|
+
/** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
|
|
30843
31499
|
advertisedRoutes: array(string()).readonly(),
|
|
30844
31500
|
/** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
|
|
30845
31501
|
userLogin: string().nullable(),
|
|
@@ -30969,7 +31625,8 @@ object({
|
|
|
30969
31625
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
30970
31626
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
30971
31627
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
30972
|
-
* A provider's `isDetected`
|
|
31628
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31629
|
+
* (`hubMotionNativeProvider`).
|
|
30973
31630
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
30974
31631
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
30975
31632
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -31783,7 +32440,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
31783
32440
|
*/
|
|
31784
32441
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
31785
32442
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
31786
|
-
readOnly: boolean().optional()
|
|
32443
|
+
readOnly: boolean().optional(),
|
|
32444
|
+
/**
|
|
32445
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
32446
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
32447
|
+
* copy on the binding.
|
|
32448
|
+
*/
|
|
32449
|
+
maxCharacters: number().int().positive().optional()
|
|
31787
32450
|
})).readonly() });
|
|
31788
32451
|
var OsdOverlayPatchSchema = object({
|
|
31789
32452
|
enabled: boolean().optional(),
|
|
@@ -31834,7 +32497,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
31834
32497
|
valuePath: string().min(1).max(64),
|
|
31835
32498
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
31836
32499
|
displayUnit: string().max(16).optional(),
|
|
31837
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
32500
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
32501
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
32502
|
+
valueMap: record(string(), string()).optional()
|
|
31838
32503
|
});
|
|
31839
32504
|
/**
|
|
31840
32505
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -31884,18 +32549,11 @@ var OsdSlotBindingSchema = object({
|
|
|
31884
32549
|
source: OsdSourceSchema,
|
|
31885
32550
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
31886
32551
|
template: string().max(96).default("${value}"),
|
|
31887
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
31888
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
31889
32552
|
/**
|
|
31890
32553
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
31891
32554
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
31892
32555
|
*/
|
|
31893
32556
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
31894
|
-
/**
|
|
31895
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
31896
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
31897
|
-
*/
|
|
31898
|
-
unitLabel: string().max(8).optional(),
|
|
31899
32557
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
31900
32558
|
valueMap: record(string(), string()).optional(),
|
|
31901
32559
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -31904,9 +32562,7 @@ var OsdSlotBindingSchema = object({
|
|
|
31904
32562
|
* Display gate, in the notification centre's condition vocabulary.
|
|
31905
32563
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
31906
32564
|
*/
|
|
31907
|
-
conditions: NcConditionsSchema.optional()
|
|
31908
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
31909
|
-
fallbackText: string().max(64).default("")
|
|
32565
|
+
conditions: NcConditionsSchema.optional()
|
|
31910
32566
|
});
|
|
31911
32567
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
31912
32568
|
var OsdSlotViewSchema = object({
|
|
@@ -35596,6 +36252,32 @@ var TotpStatusSchema = object({
|
|
|
35596
36252
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
35597
36253
|
confirmedAt: number().nullable()
|
|
35598
36254
|
});
|
|
36255
|
+
/**
|
|
36256
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
36257
|
+
* and scoped tokens.
|
|
36258
|
+
*
|
|
36259
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
36260
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
36261
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
36262
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
36263
|
+
* provider.
|
|
36264
|
+
*/
|
|
36265
|
+
var ExternalIdentitySchema = object({
|
|
36266
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
36267
|
+
provider: string(),
|
|
36268
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
36269
|
+
subject: string(),
|
|
36270
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
36271
|
+
issuer: string(),
|
|
36272
|
+
userId: string(),
|
|
36273
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
36274
|
+
label: string().optional(),
|
|
36275
|
+
linkedAt: number()
|
|
36276
|
+
});
|
|
36277
|
+
var ExternalIdentityKeySchema = object({
|
|
36278
|
+
provider: string().min(1),
|
|
36279
|
+
subject: string().min(1)
|
|
36280
|
+
});
|
|
35599
36281
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
35600
36282
|
kind: "mutation",
|
|
35601
36283
|
auth: "admin",
|
|
@@ -35709,7 +36391,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
35709
36391
|
userId: string(),
|
|
35710
36392
|
username: string(),
|
|
35711
36393
|
scopes: array(TokenScopeSchema)
|
|
35712
|
-
}).nullable(), { access: "view" }), method(
|
|
36394
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
36395
|
+
userId: string(),
|
|
36396
|
+
issuer: string()
|
|
36397
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
36398
|
+
userId: string(),
|
|
36399
|
+
issuer: string().min(1),
|
|
36400
|
+
label: string().optional()
|
|
36401
|
+
}), object({ success: literal(true) }), {
|
|
36402
|
+
kind: "mutation",
|
|
36403
|
+
auth: "admin",
|
|
36404
|
+
access: "create"
|
|
36405
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
36406
|
+
kind: "mutation",
|
|
36407
|
+
auth: "admin",
|
|
36408
|
+
access: "delete"
|
|
36409
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
35713
36410
|
kind: "mutation",
|
|
35714
36411
|
auth: "admin",
|
|
35715
36412
|
access: "delete"
|
|
@@ -36101,6 +36798,16 @@ DeviceType.Camera, method(object({
|
|
|
36101
36798
|
package: array(ZoneRuleSchema).readonly()
|
|
36102
36799
|
});
|
|
36103
36800
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
36801
|
+
Object.freeze({
|
|
36802
|
+
person: .5,
|
|
36803
|
+
vehicle: .5,
|
|
36804
|
+
animal: .5
|
|
36805
|
+
});
|
|
36806
|
+
Object.freeze({
|
|
36807
|
+
person: .65,
|
|
36808
|
+
vehicle: .65,
|
|
36809
|
+
animal: .65
|
|
36810
|
+
});
|
|
36104
36811
|
/**
|
|
36105
36812
|
* Accessory device helpers — shared across drivers.
|
|
36106
36813
|
*
|
|
@@ -36275,6 +36982,12 @@ Object.freeze({
|
|
|
36275
36982
|
addonId: null,
|
|
36276
36983
|
access: "view"
|
|
36277
36984
|
},
|
|
36985
|
+
"addons.listInstallations": {
|
|
36986
|
+
capName: "addons",
|
|
36987
|
+
capScope: "system",
|
|
36988
|
+
addonId: null,
|
|
36989
|
+
access: "view"
|
|
36990
|
+
},
|
|
36278
36991
|
"addons.listJobs": {
|
|
36279
36992
|
capName: "addons",
|
|
36280
36993
|
capScope: "system",
|
|
@@ -37457,90 +38170,18 @@ Object.freeze({
|
|
|
37457
38170
|
addonId: null,
|
|
37458
38171
|
access: "create"
|
|
37459
38172
|
},
|
|
37460
|
-
"decoder.createSession": {
|
|
37461
|
-
capName: "decoder",
|
|
37462
|
-
capScope: "system",
|
|
37463
|
-
addonId: null,
|
|
37464
|
-
access: "view"
|
|
37465
|
-
},
|
|
37466
|
-
"decoder.destroySession": {
|
|
37467
|
-
capName: "decoder",
|
|
37468
|
-
capScope: "system",
|
|
37469
|
-
addonId: null,
|
|
37470
|
-
access: "delete"
|
|
37471
|
-
},
|
|
37472
|
-
"decoder.getFrame": {
|
|
37473
|
-
capName: "decoder",
|
|
37474
|
-
capScope: "system",
|
|
37475
|
-
addonId: null,
|
|
37476
|
-
access: "view"
|
|
37477
|
-
},
|
|
37478
38173
|
"decoder.getInfo": {
|
|
37479
38174
|
capName: "decoder",
|
|
37480
38175
|
capScope: "system",
|
|
37481
38176
|
addonId: null,
|
|
37482
38177
|
access: "view"
|
|
37483
38178
|
},
|
|
37484
|
-
"decoder.getShmStats": {
|
|
37485
|
-
capName: "decoder",
|
|
37486
|
-
capScope: "system",
|
|
37487
|
-
addonId: null,
|
|
37488
|
-
access: "view"
|
|
37489
|
-
},
|
|
37490
|
-
"decoder.getStats": {
|
|
37491
|
-
capName: "decoder",
|
|
37492
|
-
capScope: "system",
|
|
37493
|
-
addonId: null,
|
|
37494
|
-
access: "view"
|
|
37495
|
-
},
|
|
37496
|
-
"decoder.listActiveSessions": {
|
|
37497
|
-
capName: "decoder",
|
|
37498
|
-
capScope: "system",
|
|
37499
|
-
addonId: null,
|
|
37500
|
-
access: "view"
|
|
37501
|
-
},
|
|
37502
|
-
"decoder.openStream": {
|
|
37503
|
-
capName: "decoder",
|
|
37504
|
-
capScope: "system",
|
|
37505
|
-
addonId: null,
|
|
37506
|
-
access: "view"
|
|
37507
|
-
},
|
|
37508
|
-
"decoder.pullFrames": {
|
|
37509
|
-
capName: "decoder",
|
|
37510
|
-
capScope: "system",
|
|
37511
|
-
addonId: null,
|
|
37512
|
-
access: "view"
|
|
37513
|
-
},
|
|
37514
|
-
"decoder.pullHandles": {
|
|
37515
|
-
capName: "decoder",
|
|
37516
|
-
capScope: "system",
|
|
37517
|
-
addonId: null,
|
|
37518
|
-
access: "view"
|
|
37519
|
-
},
|
|
37520
|
-
"decoder.pushPacket": {
|
|
37521
|
-
capName: "decoder",
|
|
37522
|
-
capScope: "system",
|
|
37523
|
-
addonId: null,
|
|
37524
|
-
access: "view"
|
|
37525
|
-
},
|
|
37526
38179
|
"decoder.reprobeHwaccel": {
|
|
37527
38180
|
capName: "decoder",
|
|
37528
38181
|
capScope: "system",
|
|
37529
38182
|
addonId: null,
|
|
37530
38183
|
access: "create"
|
|
37531
38184
|
},
|
|
37532
|
-
"decoder.supportsCodec": {
|
|
37533
|
-
capName: "decoder",
|
|
37534
|
-
capScope: "system",
|
|
37535
|
-
addonId: null,
|
|
37536
|
-
access: "view"
|
|
37537
|
-
},
|
|
37538
|
-
"decoder.updateConfig": {
|
|
37539
|
-
capName: "decoder",
|
|
37540
|
-
capScope: "system",
|
|
37541
|
-
addonId: null,
|
|
37542
|
-
access: "view"
|
|
37543
|
-
},
|
|
37544
38185
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
37545
38186
|
capName: "detection-pipeline",
|
|
37546
38187
|
capScope: "device",
|
|
@@ -39029,12 +39670,24 @@ Object.freeze({
|
|
|
39029
39670
|
addonId: null,
|
|
39030
39671
|
access: "view"
|
|
39031
39672
|
},
|
|
39673
|
+
"localNetwork.addCustomAddress": {
|
|
39674
|
+
capName: "local-network",
|
|
39675
|
+
capScope: "system",
|
|
39676
|
+
addonId: null,
|
|
39677
|
+
access: "create"
|
|
39678
|
+
},
|
|
39032
39679
|
"localNetwork.downloadCa": {
|
|
39033
39680
|
capName: "local-network",
|
|
39034
39681
|
capScope: "system",
|
|
39035
39682
|
addonId: null,
|
|
39036
39683
|
access: "view"
|
|
39037
39684
|
},
|
|
39685
|
+
"localNetwork.getAddresses": {
|
|
39686
|
+
capName: "local-network",
|
|
39687
|
+
capScope: "system",
|
|
39688
|
+
addonId: null,
|
|
39689
|
+
access: "view"
|
|
39690
|
+
},
|
|
39038
39691
|
"localNetwork.getAllowedAddresses": {
|
|
39039
39692
|
capName: "local-network",
|
|
39040
39693
|
capScope: "system",
|
|
@@ -39047,6 +39700,12 @@ Object.freeze({
|
|
|
39047
39700
|
addonId: null,
|
|
39048
39701
|
access: "view"
|
|
39049
39702
|
},
|
|
39703
|
+
"localNetwork.getHubAddresses": {
|
|
39704
|
+
capName: "local-network",
|
|
39705
|
+
capScope: "system",
|
|
39706
|
+
addonId: null,
|
|
39707
|
+
access: "view"
|
|
39708
|
+
},
|
|
39050
39709
|
"localNetwork.getNotificationEndpoint": {
|
|
39051
39710
|
capName: "local-network",
|
|
39052
39711
|
capScope: "system",
|
|
@@ -39083,6 +39742,12 @@ Object.freeze({
|
|
|
39083
39742
|
addonId: null,
|
|
39084
39743
|
access: "create"
|
|
39085
39744
|
},
|
|
39745
|
+
"localNetwork.removeCustomAddress": {
|
|
39746
|
+
capName: "local-network",
|
|
39747
|
+
capScope: "system",
|
|
39748
|
+
addonId: null,
|
|
39749
|
+
access: "delete"
|
|
39750
|
+
},
|
|
39086
39751
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
39087
39752
|
capName: "local-network",
|
|
39088
39753
|
capScope: "system",
|
|
@@ -39095,6 +39760,12 @@ Object.freeze({
|
|
|
39095
39760
|
addonId: null,
|
|
39096
39761
|
access: "create"
|
|
39097
39762
|
},
|
|
39763
|
+
"localNetwork.setAddressRole": {
|
|
39764
|
+
capName: "local-network",
|
|
39765
|
+
capScope: "system",
|
|
39766
|
+
addonId: null,
|
|
39767
|
+
access: "create"
|
|
39768
|
+
},
|
|
39098
39769
|
"localNetwork.setAllowedAddresses": {
|
|
39099
39770
|
capName: "local-network",
|
|
39100
39771
|
capScope: "system",
|
|
@@ -40541,6 +41212,12 @@ Object.freeze({
|
|
|
40541
41212
|
addonId: null,
|
|
40542
41213
|
access: "create"
|
|
40543
41214
|
},
|
|
41215
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
41216
|
+
capName: "pipeline-analytics",
|
|
41217
|
+
capScope: "device",
|
|
41218
|
+
addonId: null,
|
|
41219
|
+
access: "create"
|
|
41220
|
+
},
|
|
40544
41221
|
"pipelineAnalytics.setTrackFlags": {
|
|
40545
41222
|
capName: "pipeline-analytics",
|
|
40546
41223
|
capScope: "device",
|
|
@@ -40577,6 +41254,12 @@ Object.freeze({
|
|
|
40577
41254
|
addonId: null,
|
|
40578
41255
|
access: "delete"
|
|
40579
41256
|
},
|
|
41257
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
41258
|
+
capName: "pipeline-analytics",
|
|
41259
|
+
capScope: "device",
|
|
41260
|
+
addonId: null,
|
|
41261
|
+
access: "create"
|
|
41262
|
+
},
|
|
40580
41263
|
"pipelineExecutor.cacheFrameInPool": {
|
|
40581
41264
|
capName: "pipeline-executor",
|
|
40582
41265
|
capScope: "system",
|
|
@@ -40589,13 +41272,13 @@ Object.freeze({
|
|
|
40589
41272
|
addonId: null,
|
|
40590
41273
|
access: "delete"
|
|
40591
41274
|
},
|
|
40592
|
-
"pipelineExecutor.
|
|
41275
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
40593
41276
|
capName: "pipeline-executor",
|
|
40594
41277
|
capScope: "system",
|
|
40595
41278
|
addonId: null,
|
|
40596
41279
|
access: "delete"
|
|
40597
41280
|
},
|
|
40598
|
-
"pipelineExecutor.
|
|
41281
|
+
"pipelineExecutor.deleteModel": {
|
|
40599
41282
|
capName: "pipeline-executor",
|
|
40600
41283
|
capScope: "system",
|
|
40601
41284
|
addonId: null,
|
|
@@ -40739,12 +41422,6 @@ Object.freeze({
|
|
|
40739
41422
|
addonId: null,
|
|
40740
41423
|
access: "view"
|
|
40741
41424
|
},
|
|
40742
|
-
"pipelineExecutor.listTemplates": {
|
|
40743
|
-
capName: "pipeline-executor",
|
|
40744
|
-
capScope: "system",
|
|
40745
|
-
addonId: null,
|
|
40746
|
-
access: "view"
|
|
40747
|
-
},
|
|
40748
41425
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
40749
41426
|
capName: "pipeline-executor",
|
|
40750
41427
|
capScope: "system",
|
|
@@ -40769,12 +41446,6 @@ Object.freeze({
|
|
|
40769
41446
|
addonId: null,
|
|
40770
41447
|
access: "create"
|
|
40771
41448
|
},
|
|
40772
|
-
"pipelineExecutor.saveTemplate": {
|
|
40773
|
-
capName: "pipeline-executor",
|
|
40774
|
-
capScope: "system",
|
|
40775
|
-
addonId: null,
|
|
40776
|
-
access: "create"
|
|
40777
|
-
},
|
|
40778
41449
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
40779
41450
|
capName: "pipeline-executor",
|
|
40780
41451
|
capScope: "system",
|
|
@@ -40793,41 +41464,35 @@ Object.freeze({
|
|
|
40793
41464
|
addonId: null,
|
|
40794
41465
|
access: "create"
|
|
40795
41466
|
},
|
|
40796
|
-
"pipelineExecutor.updateTemplate": {
|
|
40797
|
-
capName: "pipeline-executor",
|
|
40798
|
-
capScope: "system",
|
|
40799
|
-
addonId: null,
|
|
40800
|
-
access: "create"
|
|
40801
|
-
},
|
|
40802
41467
|
"pipelineExecutor.validatePipeline": {
|
|
40803
41468
|
capName: "pipeline-executor",
|
|
40804
41469
|
capScope: "system",
|
|
40805
41470
|
addonId: null,
|
|
40806
41471
|
access: "view"
|
|
40807
41472
|
},
|
|
40808
|
-
"pipelineOrchestrator.
|
|
41473
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
40809
41474
|
capName: "pipeline-orchestrator",
|
|
40810
41475
|
capScope: "system",
|
|
40811
41476
|
addonId: null,
|
|
40812
41477
|
access: "create"
|
|
40813
41478
|
},
|
|
40814
|
-
"pipelineOrchestrator.
|
|
41479
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
40815
41480
|
capName: "pipeline-orchestrator",
|
|
40816
41481
|
capScope: "system",
|
|
40817
41482
|
addonId: null,
|
|
40818
41483
|
access: "create"
|
|
40819
41484
|
},
|
|
40820
|
-
"pipelineOrchestrator.
|
|
41485
|
+
"pipelineOrchestrator.assignAudio": {
|
|
40821
41486
|
capName: "pipeline-orchestrator",
|
|
40822
41487
|
capScope: "system",
|
|
40823
41488
|
addonId: null,
|
|
40824
41489
|
access: "create"
|
|
40825
41490
|
},
|
|
40826
|
-
"pipelineOrchestrator.
|
|
41491
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
40827
41492
|
capName: "pipeline-orchestrator",
|
|
40828
41493
|
capScope: "system",
|
|
40829
41494
|
addonId: null,
|
|
40830
|
-
access: "
|
|
41495
|
+
access: "create"
|
|
40831
41496
|
},
|
|
40832
41497
|
"pipelineOrchestrator.getAgentLoad": {
|
|
40833
41498
|
capName: "pipeline-orchestrator",
|
|
@@ -40919,6 +41584,12 @@ Object.freeze({
|
|
|
40919
41584
|
addonId: null,
|
|
40920
41585
|
access: "view"
|
|
40921
41586
|
},
|
|
41587
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
41588
|
+
capName: "pipeline-orchestrator",
|
|
41589
|
+
capScope: "system",
|
|
41590
|
+
addonId: null,
|
|
41591
|
+
access: "view"
|
|
41592
|
+
},
|
|
40922
41593
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
40923
41594
|
capName: "pipeline-orchestrator",
|
|
40924
41595
|
capScope: "system",
|
|
@@ -40955,19 +41626,19 @@ Object.freeze({
|
|
|
40955
41626
|
addonId: null,
|
|
40956
41627
|
access: "view"
|
|
40957
41628
|
},
|
|
40958
|
-
"pipelineOrchestrator.
|
|
41629
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
40959
41630
|
capName: "pipeline-orchestrator",
|
|
40960
41631
|
capScope: "system",
|
|
40961
41632
|
addonId: null,
|
|
40962
41633
|
access: "view"
|
|
40963
41634
|
},
|
|
40964
|
-
"pipelineOrchestrator.
|
|
41635
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
40965
41636
|
capName: "pipeline-orchestrator",
|
|
40966
41637
|
capScope: "system",
|
|
40967
41638
|
addonId: null,
|
|
40968
41639
|
access: "view"
|
|
40969
41640
|
},
|
|
40970
|
-
"pipelineOrchestrator.
|
|
41641
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
40971
41642
|
capName: "pipeline-orchestrator",
|
|
40972
41643
|
capScope: "system",
|
|
40973
41644
|
addonId: null,
|
|
@@ -40979,6 +41650,12 @@ Object.freeze({
|
|
|
40979
41650
|
addonId: null,
|
|
40980
41651
|
access: "create"
|
|
40981
41652
|
},
|
|
41653
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
41654
|
+
capName: "pipeline-orchestrator",
|
|
41655
|
+
capScope: "system",
|
|
41656
|
+
addonId: null,
|
|
41657
|
+
access: "view"
|
|
41658
|
+
},
|
|
40982
41659
|
"pipelineOrchestrator.rebalance": {
|
|
40983
41660
|
capName: "pipeline-orchestrator",
|
|
40984
41661
|
capScope: "system",
|
|
@@ -41021,12 +41698,6 @@ Object.freeze({
|
|
|
41021
41698
|
addonId: null,
|
|
41022
41699
|
access: "create"
|
|
41023
41700
|
},
|
|
41024
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
41025
|
-
capName: "pipeline-orchestrator",
|
|
41026
|
-
capScope: "system",
|
|
41027
|
-
addonId: null,
|
|
41028
|
-
access: "create"
|
|
41029
|
-
},
|
|
41030
41701
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
41031
41702
|
capName: "pipeline-orchestrator",
|
|
41032
41703
|
capScope: "system",
|
|
@@ -41039,12 +41710,6 @@ Object.freeze({
|
|
|
41039
41710
|
addonId: null,
|
|
41040
41711
|
access: "create"
|
|
41041
41712
|
},
|
|
41042
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
41043
|
-
capName: "pipeline-orchestrator",
|
|
41044
|
-
capScope: "system",
|
|
41045
|
-
addonId: null,
|
|
41046
|
-
access: "create"
|
|
41047
|
-
},
|
|
41048
41713
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
41049
41714
|
capName: "pipeline-orchestrator",
|
|
41050
41715
|
capScope: "system",
|
|
@@ -41081,6 +41746,12 @@ Object.freeze({
|
|
|
41081
41746
|
addonId: null,
|
|
41082
41747
|
access: "create"
|
|
41083
41748
|
},
|
|
41749
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
41750
|
+
capName: "pipeline-orchestrator",
|
|
41751
|
+
capScope: "system",
|
|
41752
|
+
addonId: null,
|
|
41753
|
+
access: "create"
|
|
41754
|
+
},
|
|
41084
41755
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
41085
41756
|
capName: "pipeline-orchestrator",
|
|
41086
41757
|
capScope: "system",
|
|
@@ -41099,25 +41770,37 @@ Object.freeze({
|
|
|
41099
41770
|
addonId: null,
|
|
41100
41771
|
access: "create"
|
|
41101
41772
|
},
|
|
41773
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
41774
|
+
capName: "pipeline-orchestrator",
|
|
41775
|
+
capScope: "system",
|
|
41776
|
+
addonId: null,
|
|
41777
|
+
access: "create"
|
|
41778
|
+
},
|
|
41102
41779
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
41103
41780
|
capName: "pipeline-orchestrator",
|
|
41104
41781
|
capScope: "system",
|
|
41105
41782
|
addonId: null,
|
|
41106
41783
|
access: "create"
|
|
41107
41784
|
},
|
|
41108
|
-
"pipelineOrchestrator.
|
|
41785
|
+
"pipelineOrchestrator.setShareSource": {
|
|
41109
41786
|
capName: "pipeline-orchestrator",
|
|
41110
41787
|
capScope: "system",
|
|
41111
41788
|
addonId: null,
|
|
41112
41789
|
access: "create"
|
|
41113
41790
|
},
|
|
41114
|
-
"pipelineOrchestrator.
|
|
41791
|
+
"pipelineOrchestrator.suggestShares": {
|
|
41792
|
+
capName: "pipeline-orchestrator",
|
|
41793
|
+
capScope: "system",
|
|
41794
|
+
addonId: null,
|
|
41795
|
+
access: "view"
|
|
41796
|
+
},
|
|
41797
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
41115
41798
|
capName: "pipeline-orchestrator",
|
|
41116
41799
|
capScope: "system",
|
|
41117
41800
|
addonId: null,
|
|
41118
41801
|
access: "create"
|
|
41119
41802
|
},
|
|
41120
|
-
"pipelineOrchestrator.
|
|
41803
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
41121
41804
|
capName: "pipeline-orchestrator",
|
|
41122
41805
|
capScope: "system",
|
|
41123
41806
|
addonId: null,
|
|
@@ -42557,12 +43240,6 @@ Object.freeze({
|
|
|
42557
43240
|
addonId: null,
|
|
42558
43241
|
access: "view"
|
|
42559
43242
|
},
|
|
42560
|
-
"streamBroker.pullFrameHandles": {
|
|
42561
|
-
capName: "stream-broker",
|
|
42562
|
-
capScope: "system",
|
|
42563
|
-
addonId: null,
|
|
42564
|
-
access: "view"
|
|
42565
|
-
},
|
|
42566
43243
|
"streamBroker.regenerateRtspToken": {
|
|
42567
43244
|
capName: "stream-broker",
|
|
42568
43245
|
capScope: "system",
|
|
@@ -42629,12 +43306,6 @@ Object.freeze({
|
|
|
42629
43306
|
addonId: null,
|
|
42630
43307
|
access: "create"
|
|
42631
43308
|
},
|
|
42632
|
-
"streamBroker.subscribeFrames": {
|
|
42633
|
-
capName: "stream-broker",
|
|
42634
|
-
capScope: "system",
|
|
42635
|
-
addonId: null,
|
|
42636
|
-
access: "create"
|
|
42637
|
-
},
|
|
42638
43309
|
"streamBroker.unassignProfile": {
|
|
42639
43310
|
capName: "stream-broker",
|
|
42640
43311
|
capScope: "system",
|
|
@@ -42647,12 +43318,6 @@ Object.freeze({
|
|
|
42647
43318
|
addonId: null,
|
|
42648
43319
|
access: "create"
|
|
42649
43320
|
},
|
|
42650
|
-
"streamBroker.unsubscribeFrames": {
|
|
42651
|
-
capName: "stream-broker",
|
|
42652
|
-
capScope: "system",
|
|
42653
|
-
addonId: null,
|
|
42654
|
-
access: "create"
|
|
42655
|
-
},
|
|
42656
43321
|
"streamCatalog.getCatalog": {
|
|
42657
43322
|
capName: "stream-catalog",
|
|
42658
43323
|
capScope: "device",
|
|
@@ -42947,18 +43612,36 @@ Object.freeze({
|
|
|
42947
43612
|
addonId: null,
|
|
42948
43613
|
access: "delete"
|
|
42949
43614
|
},
|
|
43615
|
+
"userManagement.findUserByExternalIdentity": {
|
|
43616
|
+
capName: "user-management",
|
|
43617
|
+
capScope: "system",
|
|
43618
|
+
addonId: null,
|
|
43619
|
+
access: "view"
|
|
43620
|
+
},
|
|
42950
43621
|
"userManagement.getTotpStatus": {
|
|
42951
43622
|
capName: "user-management",
|
|
42952
43623
|
capScope: "system",
|
|
42953
43624
|
addonId: null,
|
|
42954
43625
|
access: "view"
|
|
42955
43626
|
},
|
|
43627
|
+
"userManagement.linkExternalIdentity": {
|
|
43628
|
+
capName: "user-management",
|
|
43629
|
+
capScope: "system",
|
|
43630
|
+
addonId: null,
|
|
43631
|
+
access: "create"
|
|
43632
|
+
},
|
|
42956
43633
|
"userManagement.listApiKeys": {
|
|
42957
43634
|
capName: "user-management",
|
|
42958
43635
|
capScope: "system",
|
|
42959
43636
|
addonId: null,
|
|
42960
43637
|
access: "view"
|
|
42961
43638
|
},
|
|
43639
|
+
"userManagement.listExternalIdentities": {
|
|
43640
|
+
capName: "user-management",
|
|
43641
|
+
capScope: "system",
|
|
43642
|
+
addonId: null,
|
|
43643
|
+
access: "view"
|
|
43644
|
+
},
|
|
42962
43645
|
"userManagement.listOauthSessions": {
|
|
42963
43646
|
capName: "user-management",
|
|
42964
43647
|
capScope: "system",
|
|
@@ -43037,6 +43720,12 @@ Object.freeze({
|
|
|
43037
43720
|
addonId: null,
|
|
43038
43721
|
access: "create"
|
|
43039
43722
|
},
|
|
43723
|
+
"userManagement.unlinkExternalIdentity": {
|
|
43724
|
+
capName: "user-management",
|
|
43725
|
+
capScope: "system",
|
|
43726
|
+
addonId: null,
|
|
43727
|
+
access: "delete"
|
|
43728
|
+
},
|
|
43040
43729
|
"userManagement.updateUser": {
|
|
43041
43730
|
capName: "user-management",
|
|
43042
43731
|
capScope: "system",
|
|
@@ -43349,6 +44038,12 @@ Object.freeze({
|
|
|
43349
44038
|
addonId: null,
|
|
43350
44039
|
access: "create"
|
|
43351
44040
|
},
|
|
44041
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
44042
|
+
capName: "webrtc-session",
|
|
44043
|
+
capScope: "device",
|
|
44044
|
+
addonId: null,
|
|
44045
|
+
access: "create"
|
|
44046
|
+
},
|
|
43352
44047
|
"webrtcSession.closeSession": {
|
|
43353
44048
|
capName: "webrtc-session",
|
|
43354
44049
|
capScope: "device",
|
|
@@ -45160,11 +45855,6 @@ Object.freeze({
|
|
|
45160
45855
|
form: "single",
|
|
45161
45856
|
optional: false
|
|
45162
45857
|
}],
|
|
45163
|
-
"decoder.createSession": [{
|
|
45164
|
-
name: "deviceId",
|
|
45165
|
-
form: "single",
|
|
45166
|
-
optional: true
|
|
45167
|
-
}],
|
|
45168
45858
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
45169
45859
|
name: "deviceId",
|
|
45170
45860
|
form: "single",
|
|
@@ -46375,6 +47065,11 @@ Object.freeze({
|
|
|
46375
47065
|
form: "single",
|
|
46376
47066
|
optional: false
|
|
46377
47067
|
}],
|
|
47068
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
47069
|
+
name: "deviceId",
|
|
47070
|
+
form: "single",
|
|
47071
|
+
optional: false
|
|
47072
|
+
}],
|
|
46378
47073
|
"pipelineAnalytics.setTrackFlags": [{
|
|
46379
47074
|
name: "deviceId",
|
|
46380
47075
|
form: "single",
|
|
@@ -46395,6 +47090,11 @@ Object.freeze({
|
|
|
46395
47090
|
form: "single",
|
|
46396
47091
|
optional: false
|
|
46397
47092
|
}],
|
|
47093
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
47094
|
+
name: "deviceIds",
|
|
47095
|
+
form: "array",
|
|
47096
|
+
optional: true
|
|
47097
|
+
}],
|
|
46398
47098
|
"pipelineExecutor.runPipeline": [{
|
|
46399
47099
|
name: "deviceId",
|
|
46400
47100
|
form: "single",
|
|
@@ -46500,6 +47200,11 @@ Object.freeze({
|
|
|
46500
47200
|
form: "single",
|
|
46501
47201
|
optional: false
|
|
46502
47202
|
}],
|
|
47203
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
47204
|
+
name: "deviceId",
|
|
47205
|
+
form: "single",
|
|
47206
|
+
optional: false
|
|
47207
|
+
}],
|
|
46503
47208
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
46504
47209
|
name: "deviceId",
|
|
46505
47210
|
form: "single",
|
|
@@ -47271,6 +47976,11 @@ Object.freeze({
|
|
|
47271
47976
|
form: "single",
|
|
47272
47977
|
optional: false
|
|
47273
47978
|
}],
|
|
47979
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
47980
|
+
name: "deviceId",
|
|
47981
|
+
form: "single",
|
|
47982
|
+
optional: false
|
|
47983
|
+
}],
|
|
47274
47984
|
"webrtcSession.closeSession": [{
|
|
47275
47985
|
name: "deviceId",
|
|
47276
47986
|
form: "single",
|
|
@@ -47500,6 +48210,8 @@ new Map(Object.entries({
|
|
|
47500
48210
|
"detection-blind": "device-events",
|
|
47501
48211
|
"node-online": "system",
|
|
47502
48212
|
"node-offline": "system",
|
|
48213
|
+
"node-restarting": "system",
|
|
48214
|
+
"node-updating": "system",
|
|
47503
48215
|
"node-inference-unavailable": "system",
|
|
47504
48216
|
"addon-crash-loop": "system",
|
|
47505
48217
|
"addon-update-available": "system",
|
|
@@ -47577,18 +48289,21 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47577
48289
|
kinds: [
|
|
47578
48290
|
"node-offline",
|
|
47579
48291
|
"node-online",
|
|
48292
|
+
"node-restarting",
|
|
47580
48293
|
"node-inference-unavailable"
|
|
47581
48294
|
]
|
|
47582
48295
|
},
|
|
47583
48296
|
{
|
|
47584
48297
|
id: "addons",
|
|
47585
48298
|
family: "system",
|
|
47586
|
-
label: "Addons",
|
|
47587
|
-
kinds: [
|
|
47588
|
-
|
|
47589
|
-
|
|
47590
|
-
|
|
47591
|
-
|
|
48299
|
+
label: "Addons stopped",
|
|
48300
|
+
kinds: ["addon-crash-loop"]
|
|
48301
|
+
},
|
|
48302
|
+
{
|
|
48303
|
+
id: "addon-updates",
|
|
48304
|
+
family: "system",
|
|
48305
|
+
label: "Addon updates",
|
|
48306
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
47592
48307
|
},
|
|
47593
48308
|
{
|
|
47594
48309
|
id: "updates",
|
|
@@ -47596,6 +48311,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47596
48311
|
label: "Server & container updates",
|
|
47597
48312
|
kinds: [
|
|
47598
48313
|
"server-update-available",
|
|
48314
|
+
"node-updating",
|
|
47599
48315
|
"server-updated",
|
|
47600
48316
|
"wrapper-update-available"
|
|
47601
48317
|
]
|
|
@@ -47743,18 +48459,21 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
47743
48459
|
kinds: [
|
|
47744
48460
|
"node-offline",
|
|
47745
48461
|
"node-online",
|
|
48462
|
+
"node-restarting",
|
|
47746
48463
|
"node-inference-unavailable"
|
|
47747
48464
|
]
|
|
47748
48465
|
},
|
|
47749
48466
|
{
|
|
47750
48467
|
name: "summaryAddons",
|
|
47751
|
-
label: "Summary: addons",
|
|
47752
|
-
example: "
|
|
47753
|
-
kinds: [
|
|
47754
|
-
|
|
47755
|
-
|
|
47756
|
-
|
|
47757
|
-
|
|
48468
|
+
label: "Summary: addons stopped",
|
|
48469
|
+
example: "hub — recorder stopped after repeated crashes",
|
|
48470
|
+
kinds: ["addon-crash-loop"]
|
|
48471
|
+
},
|
|
48472
|
+
{
|
|
48473
|
+
name: "summaryAddonUpdates",
|
|
48474
|
+
label: "Summary: addon updates",
|
|
48475
|
+
example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
|
|
48476
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
47758
48477
|
},
|
|
47759
48478
|
{
|
|
47760
48479
|
name: "summaryUpdates",
|
|
@@ -47762,6 +48481,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
47762
48481
|
example: "server 1.2.377 → 1.2.378",
|
|
47763
48482
|
kinds: [
|
|
47764
48483
|
"server-update-available",
|
|
48484
|
+
"node-updating",
|
|
47765
48485
|
"server-updated",
|
|
47766
48486
|
"wrapper-update-available"
|
|
47767
48487
|
]
|
|
@@ -47794,7 +48514,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
47794
48514
|
{
|
|
47795
48515
|
name: "summarySection",
|
|
47796
48516
|
label: "Summary: this section",
|
|
47797
|
-
description: "The section a per-section summary row is about
|
|
48517
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
47798
48518
|
example: "Batterie scariche",
|
|
47799
48519
|
group: "system",
|
|
47800
48520
|
families: ["rule"],
|
|
@@ -47838,6 +48558,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
47838
48558
|
[...RULE_BODY_ONLY],
|
|
47839
48559
|
[...RULE_TEXT],
|
|
47840
48560
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
48561
|
+
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
47841
48562
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
47842
48563
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
47843
48564
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
@@ -47878,6 +48599,8 @@ var STATE_SUMMARY_VARS = [
|
|
|
47878
48599
|
[...RULE_TEXT],
|
|
47879
48600
|
[...RULE_TEXT],
|
|
47880
48601
|
[...RULE_TEXT],
|
|
48602
|
+
[...RULE_TEXT],
|
|
48603
|
+
[...RULE_TEXT],
|
|
47881
48604
|
...STATE_SUMMARY_VARS
|
|
47882
48605
|
];
|
|
47883
48606
|
new Set([
|
|
@@ -59422,7 +60145,7 @@ var DEFAULT_CONFIG = object({
|
|
|
59422
60145
|
* may still STARTTLS — nodemailer auto-detects. */
|
|
59423
60146
|
secure: boolean().default(false),
|
|
59424
60147
|
username: string().default(""),
|
|
59425
|
-
password: string().default(""),
|
|
60148
|
+
password: string().default("").meta({ secret: true }),
|
|
59426
60149
|
/** Default `From` address — used when the caller omits `from`. */
|
|
59427
60150
|
fromAddress: string().default(""),
|
|
59428
60151
|
/** Optional display name prefixing the `From` address. */
|