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