@camstack/addon-provider-ecowitt 0.2.120 → 0.2.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +947 -463
- package/dist/addon.mjs +947 -463
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createServer } from "http";
|
|
2
2
|
import { EventEmitter } from "events";
|
|
3
3
|
import { createSocket } from "dgram";
|
|
4
|
-
//#region ../types/dist/event-category-
|
|
4
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
5
5
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
6
6
|
EventCategory["SystemBoot"] = "system.boot";
|
|
7
7
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -502,15 +502,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
502
502
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
503
503
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
504
504
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
505
|
-
/**
|
|
506
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
507
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
508
|
-
* `createSession`, so running sessions keep their current backend until
|
|
509
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
510
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
511
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
512
|
-
*/
|
|
513
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
514
505
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
515
506
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
516
507
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5381,7 +5372,7 @@ var ZodIssueCode$1 = {
|
|
|
5381
5372
|
var ZodFirstPartyTypeKind$1;
|
|
5382
5373
|
ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
|
|
5383
5374
|
//#endregion
|
|
5384
|
-
//#region ../types/dist/sleep-
|
|
5375
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
5385
5376
|
/**
|
|
5386
5377
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5387
5378
|
* window to float samples (D455).
|
|
@@ -6747,32 +6738,12 @@ object({
|
|
|
6747
6738
|
audioCodec: string().optional(),
|
|
6748
6739
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6749
6740
|
});
|
|
6750
|
-
var EncodedPacketSchema = object({
|
|
6751
|
-
type: _enum(["video", "audio"]),
|
|
6752
|
-
data: _instanceof(Uint8Array),
|
|
6753
|
-
pts: number(),
|
|
6754
|
-
dts: number(),
|
|
6755
|
-
keyframe: boolean(),
|
|
6756
|
-
codec: string()
|
|
6757
|
-
});
|
|
6758
|
-
var DecodedFrameSchema = object({
|
|
6759
|
-
data: _instanceof(Uint8Array),
|
|
6760
|
-
width: number(),
|
|
6761
|
-
height: number(),
|
|
6762
|
-
format: _enum([
|
|
6763
|
-
"jpeg",
|
|
6764
|
-
"rgb",
|
|
6765
|
-
"bgr",
|
|
6766
|
-
"yuv420",
|
|
6767
|
-
"gray"
|
|
6768
|
-
]),
|
|
6769
|
-
timestamp: number()
|
|
6770
|
-
});
|
|
6771
6741
|
/**
|
|
6772
6742
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6773
6743
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6774
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6775
|
-
*
|
|
6744
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6745
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6746
|
+
* over tRPC / Moleculer.
|
|
6776
6747
|
*
|
|
6777
6748
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6778
6749
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6798,50 +6769,6 @@ var FrameHandleSchema = object({
|
|
|
6798
6769
|
slotCount: number().int().positive()
|
|
6799
6770
|
});
|
|
6800
6771
|
/**
|
|
6801
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6802
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6803
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6804
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6805
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6806
|
-
*/
|
|
6807
|
-
var FrameHandleFormatSchema = _enum([
|
|
6808
|
-
"rgb",
|
|
6809
|
-
"bgr",
|
|
6810
|
-
"yuv420",
|
|
6811
|
-
"gray"
|
|
6812
|
-
]);
|
|
6813
|
-
/**
|
|
6814
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6815
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6816
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6817
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6818
|
-
* they asked for with no broker-side conversion.
|
|
6819
|
-
*/
|
|
6820
|
-
var SubscribeFramesInputSchema = object({
|
|
6821
|
-
brokerId: string(),
|
|
6822
|
-
format: FrameHandleFormatSchema,
|
|
6823
|
-
/**
|
|
6824
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6825
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6826
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6827
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6828
|
-
*/
|
|
6829
|
-
maxFps: number().positive().optional(),
|
|
6830
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6831
|
-
tag: string().optional()
|
|
6832
|
-
});
|
|
6833
|
-
/**
|
|
6834
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6835
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6836
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6837
|
-
*/
|
|
6838
|
-
var SubscribeFramesResultSchema = object({
|
|
6839
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6840
|
-
subscriptionId: string(),
|
|
6841
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6842
|
-
maxFps: number().nonnegative()
|
|
6843
|
-
});
|
|
6844
|
-
/**
|
|
6845
6772
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6846
6773
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6847
6774
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6849,8 +6776,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6849
6776
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6850
6777
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6851
6778
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6852
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6853
|
-
*
|
|
6779
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6780
|
+
* it.
|
|
6854
6781
|
*/
|
|
6855
6782
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6856
6783
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6868,11 +6795,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6868
6795
|
format: AudioChunkFormatSchema.optional()
|
|
6869
6796
|
});
|
|
6870
6797
|
/**
|
|
6871
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6872
|
-
*
|
|
6873
|
-
*
|
|
6874
|
-
*
|
|
6875
|
-
* `pullAudioChunks`.
|
|
6798
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6799
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6800
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6801
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6876
6802
|
*/
|
|
6877
6803
|
var SubscribeAudioChunksInputSchema = object({
|
|
6878
6804
|
brokerId: string(),
|
|
@@ -6903,9 +6829,7 @@ var BrokerStatsSchema = object({
|
|
|
6903
6829
|
"stopped"
|
|
6904
6830
|
]),
|
|
6905
6831
|
inputFps: number(),
|
|
6906
|
-
decodeFps: number(),
|
|
6907
6832
|
encodedSubscribers: number(),
|
|
6908
|
-
decodedSubscribers: number(),
|
|
6909
6833
|
uptimeMs: number(),
|
|
6910
6834
|
bitrateKbps: number(),
|
|
6911
6835
|
idrIntervalMs: number(),
|
|
@@ -6918,14 +6842,6 @@ var BrokerStatsSchema = object({
|
|
|
6918
6842
|
preBufferMs: number(),
|
|
6919
6843
|
preBufferPackets: number(),
|
|
6920
6844
|
/**
|
|
6921
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6922
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6923
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6924
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6925
|
-
* a separate cap call per broker.
|
|
6926
|
-
*/
|
|
6927
|
-
decoderNodeId: string().nullable(),
|
|
6928
|
-
/**
|
|
6929
6845
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6930
6846
|
* when the stream has no audio track or the broker is in cold start.
|
|
6931
6847
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10261,70 +10177,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10261
10177
|
"backup"
|
|
10262
10178
|
]).optional()
|
|
10263
10179
|
});
|
|
10264
|
-
var DecoderStatsSchema = object({
|
|
10265
|
-
inputFps: number(),
|
|
10266
|
-
outputFps: number(),
|
|
10267
|
-
avgDecodeTimeMs: number(),
|
|
10268
|
-
droppedFrames: number(),
|
|
10269
|
-
/**
|
|
10270
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10271
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10272
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10273
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10274
|
-
*/
|
|
10275
|
-
lagMs: number().optional(),
|
|
10276
|
-
effectiveFps: number().optional(),
|
|
10277
|
-
adaptiveFps: number().optional()
|
|
10278
|
-
});
|
|
10279
|
-
var DecoderSessionConfigSchema = object({
|
|
10280
|
-
codec: string(),
|
|
10281
|
-
maxFps: number().default(0),
|
|
10282
|
-
outputFormat: _enum([
|
|
10283
|
-
"jpeg",
|
|
10284
|
-
"rgb",
|
|
10285
|
-
"bgr",
|
|
10286
|
-
"yuv420",
|
|
10287
|
-
"gray"
|
|
10288
|
-
]).default("jpeg"),
|
|
10289
|
-
scale: number().default(1),
|
|
10290
|
-
width: number().optional(),
|
|
10291
|
-
height: number().optional(),
|
|
10292
|
-
/**
|
|
10293
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10294
|
-
* because the cap is generic (any caller could request decode), but
|
|
10295
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10296
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10297
|
-
* sendPacket errors on a single hung camera).
|
|
10298
|
-
*/
|
|
10299
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10300
|
-
/**
|
|
10301
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10302
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10303
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10304
|
-
* profile cleanly.
|
|
10305
|
-
*/
|
|
10306
|
-
tag: string().optional(),
|
|
10307
|
-
/**
|
|
10308
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10309
|
-
*
|
|
10310
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10311
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10312
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10313
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10314
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10315
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10316
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10317
|
-
*/
|
|
10318
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10319
|
-
/**
|
|
10320
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10321
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10322
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10323
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10324
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10325
|
-
*/
|
|
10326
|
-
debug: boolean().optional()
|
|
10327
|
-
});
|
|
10328
10180
|
/**
|
|
10329
10181
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10330
10182
|
* an addon declares its channels in.
|
|
@@ -10467,6 +10319,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10467
10319
|
"balanced",
|
|
10468
10320
|
"strict"
|
|
10469
10321
|
]);
|
|
10322
|
+
/** Steps whose effect a root label can BE. */
|
|
10323
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10324
|
+
"animal-classifier",
|
|
10325
|
+
"vehicle-classifier",
|
|
10326
|
+
"package-detection"
|
|
10327
|
+
];
|
|
10328
|
+
/** Steps whose box a root detection can BE. */
|
|
10329
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10330
|
+
/**
|
|
10331
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10332
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10333
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10334
|
+
* no camera tree carries.)
|
|
10335
|
+
*/
|
|
10336
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10337
|
+
[
|
|
10338
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10339
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10340
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10341
|
+
];
|
|
10470
10342
|
var MODEL_FORMATS = [
|
|
10471
10343
|
"onnx",
|
|
10472
10344
|
"coreml",
|
|
@@ -10495,7 +10367,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10495
10367
|
/** Multi-file payload (directory members or sibling files). */
|
|
10496
10368
|
files: array(string()).readonly().optional(),
|
|
10497
10369
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10498
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10370
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10371
|
+
/**
|
|
10372
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10373
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10374
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10375
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10376
|
+
* node records the revision it downloaded next to the file
|
|
10377
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10378
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10379
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10380
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10381
|
+
*/
|
|
10382
|
+
revision: string().min(1).optional()
|
|
10383
|
+
});
|
|
10384
|
+
/**
|
|
10385
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10386
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10387
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10388
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10389
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10390
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10391
|
+
*/
|
|
10392
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10393
|
+
"current",
|
|
10394
|
+
"stale",
|
|
10395
|
+
"missing"
|
|
10396
|
+
]);
|
|
10397
|
+
/**
|
|
10398
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10399
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10400
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10401
|
+
*/
|
|
10402
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10403
|
+
"fp32",
|
|
10404
|
+
"fp16",
|
|
10405
|
+
"int8"
|
|
10406
|
+
]);
|
|
10407
|
+
/**
|
|
10408
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10409
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10410
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10411
|
+
*/
|
|
10412
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10413
|
+
downloaded: boolean(),
|
|
10414
|
+
sizeMB: number(),
|
|
10415
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10416
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10499
10417
|
});
|
|
10500
10418
|
/**
|
|
10501
10419
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10599,6 +10517,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10599
10517
|
/** True when the weights or their data forbid commercial use. */
|
|
10600
10518
|
nonCommercial: boolean().optional()
|
|
10601
10519
|
}));
|
|
10520
|
+
/**
|
|
10521
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10522
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10523
|
+
*
|
|
10524
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10525
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10526
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10527
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10528
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10529
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10530
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10531
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10532
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10533
|
+
* postprocessor on read, never stored by an import.
|
|
10534
|
+
*/
|
|
10535
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10536
|
+
object({
|
|
10537
|
+
kind: literal("label"),
|
|
10538
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10539
|
+
labelToEffect: record(string(), string()),
|
|
10540
|
+
uncovered: array(string()).readonly()
|
|
10541
|
+
}),
|
|
10542
|
+
object({
|
|
10543
|
+
kind: literal("crop"),
|
|
10544
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10545
|
+
rootLabels: array(string()).readonly(),
|
|
10546
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10547
|
+
childClass: _enum(["plate", "face"]),
|
|
10548
|
+
/**
|
|
10549
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10550
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10551
|
+
* stored by an import.
|
|
10552
|
+
*/
|
|
10553
|
+
rootInputPx: number().int().positive().optional()
|
|
10554
|
+
}),
|
|
10555
|
+
object({
|
|
10556
|
+
kind: literal("mask"),
|
|
10557
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10558
|
+
})
|
|
10559
|
+
]);
|
|
10602
10560
|
var ModelCatalogEntrySchema = object({
|
|
10603
10561
|
id: string(),
|
|
10604
10562
|
name: string(),
|
|
@@ -10664,6 +10622,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10664
10622
|
*/
|
|
10665
10623
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10666
10624
|
/**
|
|
10625
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10626
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10627
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10628
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10629
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10630
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10631
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10632
|
+
*/
|
|
10633
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10634
|
+
/**
|
|
10635
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10636
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10637
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10638
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10639
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10640
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10641
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10642
|
+
*/
|
|
10643
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10644
|
+
/**
|
|
10645
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10646
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10647
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10648
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10649
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10650
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10651
|
+
*/
|
|
10652
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10653
|
+
/**
|
|
10667
10654
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10668
10655
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10669
10656
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10725,6 +10712,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10725
10712
|
*/
|
|
10726
10713
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10727
10714
|
/**
|
|
10715
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10716
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10717
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10718
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10719
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10720
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10721
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10722
|
+
*/
|
|
10723
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10724
|
+
/**
|
|
10728
10725
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10729
10726
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10730
10727
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12326,13 +12323,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12326
12323
|
lastRtpAt: number(),
|
|
12327
12324
|
bytesSent: number()
|
|
12328
12325
|
});
|
|
12329
|
-
var BrokerDecodedClientSchema = object({
|
|
12330
|
-
tag: string(),
|
|
12331
|
-
subscribedAt: number(),
|
|
12332
|
-
maxFps: number(),
|
|
12333
|
-
framesDelivered: number(),
|
|
12334
|
-
framesDropped: number()
|
|
12335
|
-
});
|
|
12336
12326
|
var BrokerAudioClientSchema = object({
|
|
12337
12327
|
tag: string(),
|
|
12338
12328
|
subscribedAt: number(),
|
|
@@ -12424,7 +12414,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12424
12414
|
});
|
|
12425
12415
|
var BrokerClientsSchema = object({
|
|
12426
12416
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12427
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12428
12417
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12429
12418
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12430
12419
|
pipeClients: number(),
|
|
@@ -12793,11 +12782,7 @@ method(object({
|
|
|
12793
12782
|
auth: "admin"
|
|
12794
12783
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12795
12784
|
brokerId: string(),
|
|
12796
|
-
channel: _enum([
|
|
12797
|
-
"rtsp",
|
|
12798
|
-
"decoded",
|
|
12799
|
-
"audio"
|
|
12800
|
-
]),
|
|
12785
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12801
12786
|
handle: string()
|
|
12802
12787
|
}), object({ killed: boolean() }), {
|
|
12803
12788
|
kind: "mutation",
|
|
@@ -12832,10 +12817,7 @@ method(object({
|
|
|
12832
12817
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12833
12818
|
subscriptionId: string(),
|
|
12834
12819
|
maxCount: number().int().positive().default(8)
|
|
12835
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12836
|
-
subscriptionId: string(),
|
|
12837
|
-
maxCount: number().int().positive().default(4)
|
|
12838
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12820
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12839
12821
|
brokerId: string(),
|
|
12840
12822
|
seconds: number().min(0).max(30)
|
|
12841
12823
|
}), _void(), {
|
|
@@ -14094,54 +14076,12 @@ id: union([string(), number()]) }), {
|
|
|
14094
14076
|
kind: "mutation",
|
|
14095
14077
|
auth: "admin"
|
|
14096
14078
|
});
|
|
14097
|
-
|
|
14098
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14099
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14100
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14101
|
-
*/
|
|
14102
|
-
var ShmRingStatsSchema = object({
|
|
14103
|
-
sessionId: string(),
|
|
14104
|
-
slotCount: number().int(),
|
|
14105
|
-
slotByteLength: number().int(),
|
|
14106
|
-
segmentBytes: number().int(),
|
|
14107
|
-
budgetMb: number().int(),
|
|
14108
|
-
framesWritten: number().int(),
|
|
14109
|
-
getFrameHits: number().int(),
|
|
14110
|
-
getFrameMisses: number().int()
|
|
14111
|
-
});
|
|
14112
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14079
|
+
method(_void(), object({
|
|
14113
14080
|
id: string(),
|
|
14114
14081
|
name: string(),
|
|
14115
|
-
isPullMode: boolean().optional(),
|
|
14116
|
-
priority: number().optional(),
|
|
14117
14082
|
hwaccel: string().optional(),
|
|
14118
14083
|
probedBestHwaccel: string().optional()
|
|
14119
|
-
})), method(
|
|
14120
|
-
sessionId: string(),
|
|
14121
|
-
nodeId: string()
|
|
14122
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14123
|
-
sessionId: string(),
|
|
14124
|
-
packet: EncodedPacketSchema
|
|
14125
|
-
}), _void()), method(object({
|
|
14126
|
-
sessionId: string(),
|
|
14127
|
-
url: string()
|
|
14128
|
-
}), _void()), method(object({
|
|
14129
|
-
sessionId: string(),
|
|
14130
|
-
maxCount: number().default(1),
|
|
14131
|
-
waitMs: number().optional()
|
|
14132
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14133
|
-
sessionId: string(),
|
|
14134
|
-
maxCount: number().default(1),
|
|
14135
|
-
waitMs: number().optional()
|
|
14136
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14137
|
-
sessionId: string(),
|
|
14138
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14139
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14140
|
-
sessionId: string(),
|
|
14141
|
-
codec: string(),
|
|
14142
|
-
outputFormat: string(),
|
|
14143
|
-
createdAtMs: number()
|
|
14144
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14084
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14145
14085
|
kind: "mutation",
|
|
14146
14086
|
auth: "admin"
|
|
14147
14087
|
});
|
|
@@ -16286,6 +16226,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16286
16226
|
kind: "mutation",
|
|
16287
16227
|
auth: "admin"
|
|
16288
16228
|
});
|
|
16229
|
+
var HUB_ADDRESS_ROLES = [
|
|
16230
|
+
"appConnections",
|
|
16231
|
+
"notificationTaps",
|
|
16232
|
+
"internal",
|
|
16233
|
+
"publicEndpoint"
|
|
16234
|
+
];
|
|
16289
16235
|
/**
|
|
16290
16236
|
* Transport bounds for AI capability methods.
|
|
16291
16237
|
*
|
|
@@ -18888,6 +18834,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18888
18834
|
"stream-offline",
|
|
18889
18835
|
"node-online",
|
|
18890
18836
|
"node-offline",
|
|
18837
|
+
"node-restarting",
|
|
18838
|
+
"node-updating",
|
|
18891
18839
|
"node-inference-unavailable",
|
|
18892
18840
|
"detection-blind",
|
|
18893
18841
|
"addon-crash-loop",
|
|
@@ -20493,7 +20441,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20493
20441
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20494
20442
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20495
20443
|
*/
|
|
20496
|
-
notifySensorRewatched: boolean().optional()
|
|
20444
|
+
notifySensorRewatched: boolean().optional(),
|
|
20445
|
+
/**
|
|
20446
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20447
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20448
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20449
|
+
*/
|
|
20450
|
+
notifySensorIgnored: boolean().optional()
|
|
20497
20451
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20498
20452
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20499
20453
|
mode: AlarmArmModeSchema,
|
|
@@ -20506,7 +20460,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20506
20460
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20507
20461
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20508
20462
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20509
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20463
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20464
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20465
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20510
20466
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20511
20467
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20512
20468
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21484,8 +21440,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21484
21440
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21485
21441
|
stepId: "face-embedding",
|
|
21486
21442
|
key: "minLandmarkFaceSize",
|
|
21487
|
-
label: "Min face size
|
|
21488
|
-
description: "
|
|
21443
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21444
|
+
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.",
|
|
21489
21445
|
type: "slider",
|
|
21490
21446
|
min: 0,
|
|
21491
21447
|
max: 64,
|
|
@@ -23405,6 +23361,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23405
23361
|
timestamp: number()
|
|
23406
23362
|
});
|
|
23407
23363
|
/**
|
|
23364
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23365
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23366
|
+
*/
|
|
23367
|
+
var SuppliedRootOutputSchema = object({
|
|
23368
|
+
stepId: string(),
|
|
23369
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23370
|
+
modelId: string(),
|
|
23371
|
+
detections: array(object({
|
|
23372
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23373
|
+
bbox: tuple([
|
|
23374
|
+
number(),
|
|
23375
|
+
number(),
|
|
23376
|
+
number(),
|
|
23377
|
+
number()
|
|
23378
|
+
]),
|
|
23379
|
+
score: number(),
|
|
23380
|
+
/**
|
|
23381
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23382
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23383
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23384
|
+
*/
|
|
23385
|
+
landmarks: array(object({
|
|
23386
|
+
x: number(),
|
|
23387
|
+
y: number()
|
|
23388
|
+
})).optional()
|
|
23389
|
+
})).min(1)
|
|
23390
|
+
});
|
|
23391
|
+
/**
|
|
23408
23392
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23409
23393
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23410
23394
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23452,7 +23436,7 @@ var FrameRefSchema = object({
|
|
|
23452
23436
|
timestamp: number(),
|
|
23453
23437
|
capturedAt: number().optional()
|
|
23454
23438
|
});
|
|
23455
|
-
var ModelFormatSchema$
|
|
23439
|
+
var ModelFormatSchema$2 = _enum([
|
|
23456
23440
|
"onnx",
|
|
23457
23441
|
"coreml",
|
|
23458
23442
|
"openvino",
|
|
@@ -23470,7 +23454,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23470
23454
|
var PipelineEngineChoiceSchema = object({
|
|
23471
23455
|
runtime: literal("python"),
|
|
23472
23456
|
backend: string(),
|
|
23473
|
-
format: ModelFormatSchema$
|
|
23457
|
+
format: ModelFormatSchema$2,
|
|
23474
23458
|
device: string().optional()
|
|
23475
23459
|
});
|
|
23476
23460
|
/**
|
|
@@ -23509,32 +23493,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23509
23493
|
group: string().optional(),
|
|
23510
23494
|
settings: record(string(), unknown()).optional()
|
|
23511
23495
|
}));
|
|
23512
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23513
|
-
addonId: string(),
|
|
23514
|
-
enabled: boolean(),
|
|
23515
|
-
modelId: string(),
|
|
23516
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23517
|
-
settings: record(string(), unknown()).optional()
|
|
23518
|
-
}));
|
|
23519
|
-
var PipelineTemplateSchema$1 = object({
|
|
23520
|
-
id: string(),
|
|
23521
|
-
name: string(),
|
|
23522
|
-
createdAt: string(),
|
|
23523
|
-
updatedAt: string(),
|
|
23524
|
-
engine: PipelineEngineChoiceSchema,
|
|
23525
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23526
|
-
});
|
|
23527
23496
|
var PipelineModelOptionSchema = object({
|
|
23528
23497
|
id: string(),
|
|
23529
23498
|
name: string(),
|
|
23530
|
-
formats: record(string(),
|
|
23531
|
-
downloaded: boolean(),
|
|
23532
|
-
sizeMB: number()
|
|
23533
|
-
})),
|
|
23499
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23534
23500
|
group: ModelVariantGroupSchema.optional(),
|
|
23535
23501
|
legacy: boolean().optional(),
|
|
23536
23502
|
provider: ModelProviderIdSchema.optional(),
|
|
23537
|
-
defaultConfidence: number().optional()
|
|
23503
|
+
defaultConfidence: number().optional(),
|
|
23504
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23538
23505
|
});
|
|
23539
23506
|
var ConfigFieldBridge = custom();
|
|
23540
23507
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23696,6 +23663,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23696
23663
|
}), {
|
|
23697
23664
|
kind: "mutation",
|
|
23698
23665
|
auth: "admin"
|
|
23666
|
+
}), method(object({
|
|
23667
|
+
nodeId: string(),
|
|
23668
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23669
|
+
dryRun: boolean()
|
|
23670
|
+
}), object({
|
|
23671
|
+
entries: array(object({
|
|
23672
|
+
deviceId: number(),
|
|
23673
|
+
keys: array(string()).readonly()
|
|
23674
|
+
})).readonly(),
|
|
23675
|
+
refused: array(object({
|
|
23676
|
+
deviceId: number(),
|
|
23677
|
+
reason: string()
|
|
23678
|
+
})).readonly()
|
|
23679
|
+
}), {
|
|
23680
|
+
kind: "mutation",
|
|
23681
|
+
auth: "admin"
|
|
23699
23682
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23700
23683
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23701
23684
|
deviceKey: string(),
|
|
@@ -23721,22 +23704,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23721
23704
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23722
23705
|
steps: array(PipelineStepInputSchema),
|
|
23723
23706
|
deviceKey: string().optional()
|
|
23724
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23725
|
-
name: string(),
|
|
23726
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23727
|
-
engine: PipelineEngineChoiceSchema
|
|
23728
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23729
|
-
id: string(),
|
|
23730
|
-
name: string().optional(),
|
|
23731
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23732
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23707
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23733
23708
|
addonId: string(),
|
|
23734
23709
|
modelId: string(),
|
|
23735
|
-
format: ModelFormatSchema$
|
|
23710
|
+
format: ModelFormatSchema$2
|
|
23736
23711
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23737
23712
|
addonId: string(),
|
|
23738
23713
|
modelId: string(),
|
|
23739
|
-
format: ModelFormatSchema$
|
|
23714
|
+
format: ModelFormatSchema$2
|
|
23740
23715
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23741
23716
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23742
23717
|
frame: FrameInputSchema.optional(),
|
|
@@ -23802,7 +23777,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23802
23777
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23803
23778
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23804
23779
|
*/
|
|
23805
|
-
replay: literal(true).optional()
|
|
23780
|
+
replay: literal(true).optional(),
|
|
23781
|
+
/**
|
|
23782
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23783
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23784
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23785
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23786
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23787
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23788
|
+
*/
|
|
23789
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23806
23790
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23807
23791
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23808
23792
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23884,6 +23868,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23884
23868
|
filename: string().optional(),
|
|
23885
23869
|
settings: record(string(), unknown()).optional()
|
|
23886
23870
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23871
|
+
/**
|
|
23872
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23873
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23874
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23875
|
+
* schemas are what crosses the cap boundary.
|
|
23876
|
+
*/
|
|
23877
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23878
|
+
/** The operator's range for it. */
|
|
23879
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23880
|
+
min: 1,
|
|
23881
|
+
max: 8
|
|
23882
|
+
};
|
|
23883
|
+
var HardwareClassIdSchema = _enum([
|
|
23884
|
+
"intel-core-ultra",
|
|
23885
|
+
"intel-n-series",
|
|
23886
|
+
"apple-m-base",
|
|
23887
|
+
"apple-m-pro",
|
|
23888
|
+
"unknown"
|
|
23889
|
+
]);
|
|
23890
|
+
var AcceleratorKindSchema = _enum([
|
|
23891
|
+
"intel-npu",
|
|
23892
|
+
"intel-igpu",
|
|
23893
|
+
"x86-cpu",
|
|
23894
|
+
"arm-cpu",
|
|
23895
|
+
"apple-ane",
|
|
23896
|
+
"coral"
|
|
23897
|
+
]);
|
|
23898
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23899
|
+
object({
|
|
23900
|
+
kind: literal("capacity"),
|
|
23901
|
+
sessions: number(),
|
|
23902
|
+
minSessions: number()
|
|
23903
|
+
}),
|
|
23904
|
+
object({
|
|
23905
|
+
kind: literal("tie-faster"),
|
|
23906
|
+
over: string(),
|
|
23907
|
+
recallDelta: number()
|
|
23908
|
+
}),
|
|
23909
|
+
object({
|
|
23910
|
+
kind: literal("stepped-down"),
|
|
23911
|
+
from: string(),
|
|
23912
|
+
to: string(),
|
|
23913
|
+
limitedBy: string()
|
|
23914
|
+
}),
|
|
23915
|
+
object({
|
|
23916
|
+
kind: literal("no-fit-lightest"),
|
|
23917
|
+
sessions: number(),
|
|
23918
|
+
minSessions: number()
|
|
23919
|
+
}),
|
|
23920
|
+
object({
|
|
23921
|
+
kind: literal("derived-latency"),
|
|
23922
|
+
modelId: string()
|
|
23923
|
+
}),
|
|
23924
|
+
object({ kind: literal("cpu-device") }),
|
|
23925
|
+
object({ kind: literal("coral-untouched") }),
|
|
23926
|
+
object({ kind: literal("device-disabled") }),
|
|
23927
|
+
object({ kind: literal("device-unavailable") }),
|
|
23928
|
+
object({ kind: literal("node-offline") }),
|
|
23929
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23930
|
+
object({
|
|
23931
|
+
kind: literal("no-measured-data"),
|
|
23932
|
+
hardwareClass: HardwareClassIdSchema
|
|
23933
|
+
}),
|
|
23934
|
+
object({
|
|
23935
|
+
kind: literal("no-family-build"),
|
|
23936
|
+
format: ModelFormatSchema$1
|
|
23937
|
+
})
|
|
23938
|
+
]);
|
|
23939
|
+
var DeviceModelChoiceSchema = object({
|
|
23940
|
+
modelId: string(),
|
|
23941
|
+
p50Ms: number(),
|
|
23942
|
+
fps: number(),
|
|
23943
|
+
measured: boolean(),
|
|
23944
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23945
|
+
capacitySessions: number(),
|
|
23946
|
+
personRecall: number()
|
|
23947
|
+
});
|
|
23948
|
+
var DeviceRecommendationSchema = object({
|
|
23949
|
+
deviceKey: string(),
|
|
23950
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23951
|
+
enabled: boolean(),
|
|
23952
|
+
available: boolean(),
|
|
23953
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23954
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23955
|
+
});
|
|
23956
|
+
var NodeRecommendationSchema = object({
|
|
23957
|
+
nodeId: string(),
|
|
23958
|
+
reachable: boolean(),
|
|
23959
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23960
|
+
cpuModel: string().nullable(),
|
|
23961
|
+
skipped: boolean(),
|
|
23962
|
+
acceleratorModelId: string().nullable(),
|
|
23963
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23964
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23965
|
+
});
|
|
23966
|
+
var ModelPinChangeSchema = object({
|
|
23967
|
+
stepId: string(),
|
|
23968
|
+
before: string().nullable(),
|
|
23969
|
+
after: string().nullable()
|
|
23970
|
+
});
|
|
23971
|
+
var NodeDeviceChangeSchema = object({
|
|
23972
|
+
nodeId: string(),
|
|
23973
|
+
deviceKey: string(),
|
|
23974
|
+
madeExplicit: boolean(),
|
|
23975
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23976
|
+
thresholds: array(object({
|
|
23977
|
+
stepId: string(),
|
|
23978
|
+
keys: array(string()).readonly()
|
|
23979
|
+
})).readonly()
|
|
23980
|
+
});
|
|
23981
|
+
var CameraOverrideClearSchema = object({
|
|
23982
|
+
deviceId: number(),
|
|
23983
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23984
|
+
nodeId: string(),
|
|
23985
|
+
deviceKey: string().nullable(),
|
|
23986
|
+
stepId: string(),
|
|
23987
|
+
modelIdBefore: string().nullable(),
|
|
23988
|
+
keys: array(string()).readonly()
|
|
23989
|
+
});
|
|
23990
|
+
var DetectorStoreClearSchema = object({
|
|
23991
|
+
deviceId: number(),
|
|
23992
|
+
keys: array(string()).readonly()
|
|
23993
|
+
});
|
|
23994
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23995
|
+
object({
|
|
23996
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23997
|
+
skippedNodes: array(string()).readonly()
|
|
23998
|
+
}),
|
|
23999
|
+
object({
|
|
24000
|
+
kind: literal("detector-store-unreadable"),
|
|
24001
|
+
error: string()
|
|
24002
|
+
}),
|
|
24003
|
+
object({
|
|
24004
|
+
kind: literal("coral-enabled"),
|
|
24005
|
+
nodeId: string(),
|
|
24006
|
+
deviceKey: string()
|
|
24007
|
+
})
|
|
24008
|
+
]);
|
|
24009
|
+
var AutoTuneOptionsSchema = object({
|
|
24010
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24011
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24012
|
+
/**
|
|
24013
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24014
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24015
|
+
* that reaches it wins.
|
|
24016
|
+
*/
|
|
24017
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24018
|
+
});
|
|
24019
|
+
var AutoTunePlanSchema = object({
|
|
24020
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24021
|
+
planHash: string(),
|
|
24022
|
+
family: literal("yolov9"),
|
|
24023
|
+
headroom: number(),
|
|
24024
|
+
minSessionsPerDevice: number(),
|
|
24025
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24026
|
+
cameraFps: number(),
|
|
24027
|
+
generatedAt: number(),
|
|
24028
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24029
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24030
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24031
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24032
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24033
|
+
});
|
|
24034
|
+
var AutoTuneApplyInputSchema = object({
|
|
24035
|
+
planHash: string(),
|
|
24036
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24037
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24038
|
+
});
|
|
24039
|
+
var AutoTunePhaseResultSchema = object({
|
|
24040
|
+
phase: _enum([
|
|
24041
|
+
"download",
|
|
24042
|
+
"camera-overrides",
|
|
24043
|
+
"detector-thresholds",
|
|
24044
|
+
"node-models",
|
|
24045
|
+
"redispatch"
|
|
24046
|
+
]),
|
|
24047
|
+
ok: boolean(),
|
|
24048
|
+
detail: string()
|
|
24049
|
+
});
|
|
24050
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24051
|
+
object({
|
|
24052
|
+
kind: literal("applied"),
|
|
24053
|
+
planHash: string(),
|
|
24054
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24055
|
+
}),
|
|
24056
|
+
object({
|
|
24057
|
+
kind: literal("aborted"),
|
|
24058
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24059
|
+
}),
|
|
24060
|
+
object({
|
|
24061
|
+
kind: literal("stale"),
|
|
24062
|
+
plan: AutoTunePlanSchema
|
|
24063
|
+
}),
|
|
24064
|
+
object({
|
|
24065
|
+
kind: literal("refused"),
|
|
24066
|
+
reason: _enum(["apply-in-progress"])
|
|
24067
|
+
})
|
|
24068
|
+
]);
|
|
24069
|
+
/**
|
|
24070
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24071
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24072
|
+
* hardware share suggestion and the stale device pins.
|
|
24073
|
+
*/
|
|
24074
|
+
/**
|
|
24075
|
+
* How a new detection session picks its node and device.
|
|
24076
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24077
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24078
|
+
* weight only bites once a node already holds a session.
|
|
24079
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24080
|
+
* full or drowning node yields to a free one (D748).
|
|
24081
|
+
*/
|
|
24082
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24083
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24084
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24085
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24086
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24087
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24088
|
+
});
|
|
24089
|
+
var PlacementStatsInputSchema = object({
|
|
24090
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24091
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24092
|
+
var PlacementDeviceStatsSchema = object({
|
|
24093
|
+
deviceKey: string(),
|
|
24094
|
+
/** Sessions running on this device now. */
|
|
24095
|
+
sessionsNow: number(),
|
|
24096
|
+
/** Sessions started on this device inside the window. */
|
|
24097
|
+
sessionsStarted: number(),
|
|
24098
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24099
|
+
observedShare: number().nullable()
|
|
24100
|
+
});
|
|
24101
|
+
var PlacementNodeStatsSchema = object({
|
|
24102
|
+
nodeId: string(),
|
|
24103
|
+
sessionsNow: number(),
|
|
24104
|
+
sessionsStarted: number(),
|
|
24105
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24106
|
+
observedShare: number().nullable(),
|
|
24107
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24108
|
+
peakSessions: number(),
|
|
24109
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24110
|
+
yieldsAway: number(),
|
|
24111
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24112
|
+
});
|
|
24113
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24114
|
+
var StaleDevicePinSchema = object({
|
|
24115
|
+
deviceId: number(),
|
|
24116
|
+
deviceKey: string(),
|
|
24117
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24118
|
+
reason: _enum(["disabled", "absent"])
|
|
24119
|
+
});
|
|
24120
|
+
var PlacementStatsSchema = object({
|
|
24121
|
+
policy: SessionPlacementPolicySchema,
|
|
24122
|
+
windowMs: number(),
|
|
24123
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24124
|
+
observedForMs: number(),
|
|
24125
|
+
sessionsNow: number(),
|
|
24126
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24127
|
+
clusterPeakSessions: number(),
|
|
24128
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24129
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24130
|
+
});
|
|
24131
|
+
/**
|
|
24132
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24133
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24134
|
+
* the measured latency table for the node's hardware class.
|
|
24135
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24136
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24137
|
+
*/
|
|
24138
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24139
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24140
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24141
|
+
var SuggestSharesInputSchema = object({
|
|
24142
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24143
|
+
/** Default `hardware`. */
|
|
24144
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24145
|
+
});
|
|
24146
|
+
var SuggestedDeviceShareSchema = object({
|
|
24147
|
+
deviceKey: string(),
|
|
24148
|
+
/** Share of the node (0–100, rounded). */
|
|
24149
|
+
share: number(),
|
|
24150
|
+
modelId: string().nullable(),
|
|
24151
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24152
|
+
fps: number().nullable(),
|
|
24153
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24154
|
+
measured: boolean(),
|
|
24155
|
+
/**
|
|
24156
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24157
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24158
|
+
*/
|
|
24159
|
+
suggestedMaxSessions: number().nullable()
|
|
24160
|
+
});
|
|
24161
|
+
var SuggestedNodeShareSchema = object({
|
|
24162
|
+
nodeId: string(),
|
|
24163
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24164
|
+
share: number().nullable(),
|
|
24165
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24166
|
+
capacitySessions: number(),
|
|
24167
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24168
|
+
skippedReason: string().nullable(),
|
|
24169
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24170
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24171
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24172
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24173
|
+
});
|
|
24174
|
+
var SuggestSharesResultSchema = object({
|
|
24175
|
+
headroom: number(),
|
|
24176
|
+
/** The source asked for; each node says what it actually used. */
|
|
24177
|
+
source: CapacitySourceSchema,
|
|
24178
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24179
|
+
cameraFps: number(),
|
|
24180
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24181
|
+
minSessionsPerDevice: number(),
|
|
24182
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24183
|
+
});
|
|
24184
|
+
/**
|
|
24185
|
+
* Where the node and device shares come from (D750, D755).
|
|
24186
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24187
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24188
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24189
|
+
* switched on or off, or changes model. No load input.
|
|
24190
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24191
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24192
|
+
* - `manual` — the operator's stored sliders.
|
|
24193
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24194
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24195
|
+
*/
|
|
24196
|
+
var ShareSourceSchema = _enum([
|
|
24197
|
+
"hardware",
|
|
24198
|
+
"benchmark",
|
|
24199
|
+
"manual"
|
|
24200
|
+
]);
|
|
24201
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24202
|
+
object({
|
|
24203
|
+
nodes: record(string(), number()),
|
|
24204
|
+
devices: record(string(), record(string(), number()))
|
|
24205
|
+
});
|
|
24206
|
+
var EffectiveDeviceShareSchema = object({
|
|
24207
|
+
deviceKey: string(),
|
|
24208
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24209
|
+
eligible: boolean(),
|
|
24210
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24211
|
+
configuredPct: number(),
|
|
24212
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24213
|
+
effectivePct: number()
|
|
24214
|
+
});
|
|
24215
|
+
var EffectiveNodeShareSchema = object({
|
|
24216
|
+
nodeId: string(),
|
|
24217
|
+
eligible: boolean(),
|
|
24218
|
+
configuredPct: number(),
|
|
24219
|
+
effectivePct: number(),
|
|
24220
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24221
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24222
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24223
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24224
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24225
|
+
});
|
|
24226
|
+
var EffectiveSharesSchema = object({
|
|
24227
|
+
source: ShareSourceSchema,
|
|
24228
|
+
policy: SessionPlacementPolicySchema,
|
|
24229
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24230
|
+
autoPending: boolean(),
|
|
24231
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24232
|
+
computedAt: number().nullable(),
|
|
24233
|
+
/** What made the system recompute them last. */
|
|
24234
|
+
trigger: string().nullable(),
|
|
24235
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24236
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24237
|
+
nodeWeights: record(string(), number()),
|
|
24238
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24239
|
+
});
|
|
23887
24240
|
object({
|
|
23888
24241
|
activeCameras: number(),
|
|
23889
24242
|
throttledCameras: number(),
|
|
@@ -24801,14 +25154,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24801
25154
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24802
25155
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24803
25156
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24804
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24805
|
-
* per
|
|
25157
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25158
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25159
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25160
|
+
* (D762).
|
|
24806
25161
|
*/
|
|
24807
25162
|
devices: array(object({
|
|
24808
25163
|
deviceKey: string(),
|
|
24809
25164
|
backend: string(),
|
|
24810
|
-
attachedCameras: number()
|
|
24811
|
-
queueDepthTotal: number()
|
|
25165
|
+
attachedCameras: number()
|
|
24812
25166
|
})).default([]),
|
|
24813
25167
|
/** Hardware capability flags reported by this node. */
|
|
24814
25168
|
hardware: object({
|
|
@@ -24944,7 +25298,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24944
25298
|
*/
|
|
24945
25299
|
cropJpeg: string().optional(),
|
|
24946
25300
|
parent: DetailParentSchema,
|
|
24947
|
-
steps: array(string()).optional()
|
|
25301
|
+
steps: array(string()).optional(),
|
|
25302
|
+
/**
|
|
25303
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25304
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25305
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25306
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25307
|
+
* requested step infers as before.
|
|
25308
|
+
*/
|
|
25309
|
+
supplied: object({
|
|
25310
|
+
stepId: string(),
|
|
25311
|
+
modelId: string(),
|
|
25312
|
+
boxes: array(object({
|
|
25313
|
+
bbox: NativeCropBboxSchema,
|
|
25314
|
+
score: number()
|
|
25315
|
+
})).min(1)
|
|
25316
|
+
}).optional()
|
|
24948
25317
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24949
25318
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24950
25319
|
stepId: string(),
|
|
@@ -25007,14 +25376,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25007
25376
|
settings: record(string(), unknown()).readonly().optional()
|
|
25008
25377
|
}).nullable().optional()
|
|
25009
25378
|
});
|
|
25010
|
-
var PipelineTemplateSchema = object({
|
|
25011
|
-
id: string(),
|
|
25012
|
-
name: string(),
|
|
25013
|
-
description: string().optional(),
|
|
25014
|
-
config: CameraPipelineConfigSchema,
|
|
25015
|
-
createdAt: string(),
|
|
25016
|
-
updatedAt: string()
|
|
25017
|
-
});
|
|
25018
25379
|
var DeviceStepConfigSchema = object({
|
|
25019
25380
|
modelId: string().optional(),
|
|
25020
25381
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25088,9 +25449,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25088
25449
|
modelId: string().optional(),
|
|
25089
25450
|
settings: record(string(), unknown()).readonly().optional()
|
|
25090
25451
|
});
|
|
25452
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25091
25453
|
var CameraPipelineSettingsSchema = object({
|
|
25092
|
-
pinnedAgentNodeId: string().optional(),
|
|
25093
25454
|
stepToggles: record(string(), boolean()).optional(),
|
|
25455
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25094
25456
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25095
25457
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25096
25458
|
});
|
|
@@ -25123,7 +25485,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25123
25485
|
});
|
|
25124
25486
|
/**
|
|
25125
25487
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25126
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25488
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25489
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25490
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25491
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25127
25492
|
*/
|
|
25128
25493
|
var AgentLoadSummarySchema = object({
|
|
25129
25494
|
nodeId: string(),
|
|
@@ -25212,26 +25577,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25212
25577
|
width: number(),
|
|
25213
25578
|
height: number(),
|
|
25214
25579
|
subscribers: number(),
|
|
25215
|
-
|
|
25216
|
-
|
|
25580
|
+
/**
|
|
25581
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25582
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25583
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25584
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25585
|
+
* camera and is not served (D758).
|
|
25586
|
+
*/
|
|
25587
|
+
inFps: number().nullable()
|
|
25217
25588
|
})).readonly(),
|
|
25218
25589
|
webrtcSessions: number(),
|
|
25219
25590
|
rtspRestream: boolean()
|
|
25220
25591
|
});
|
|
25221
|
-
/**
|
|
25222
|
-
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
var CameraDecoderStatusSchema = object({
|
|
25230
|
-
nodeId: string(),
|
|
25231
|
-
formats: array(string()).readonly(),
|
|
25232
|
-
sessionCount: number(),
|
|
25233
|
-
shm: CameraDecoderShmSchema
|
|
25234
|
-
});
|
|
25592
|
+
/**
|
|
25593
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25594
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25595
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25596
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25597
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25598
|
+
* detector), never from a counter nothing feeds.
|
|
25599
|
+
*/
|
|
25600
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25235
25601
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25236
25602
|
var CameraMotionStatusSchema = object({
|
|
25237
25603
|
enabled: boolean(),
|
|
@@ -25588,12 +25954,6 @@ method(object({
|
|
|
25588
25954
|
}), object({ success: literal(true) }), {
|
|
25589
25955
|
kind: "mutation",
|
|
25590
25956
|
auth: "admin"
|
|
25591
|
-
}), method(object({
|
|
25592
|
-
agentNodeId: string(),
|
|
25593
|
-
detectWeight: number().positive().nullable()
|
|
25594
|
-
}), object({ success: literal(true) }), {
|
|
25595
|
-
kind: "mutation",
|
|
25596
|
-
auth: "admin"
|
|
25597
25957
|
}), method(object({
|
|
25598
25958
|
agentNodeId: string(),
|
|
25599
25959
|
detect: boolean().nullable().optional(),
|
|
@@ -25635,6 +25995,15 @@ method(object({
|
|
|
25635
25995
|
}), {
|
|
25636
25996
|
kind: "mutation",
|
|
25637
25997
|
auth: "admin"
|
|
25998
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25999
|
+
kind: "mutation",
|
|
26000
|
+
auth: "admin"
|
|
26001
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26002
|
+
kind: "mutation",
|
|
26003
|
+
auth: "admin"
|
|
26004
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26005
|
+
kind: "mutation",
|
|
26006
|
+
auth: "admin"
|
|
25638
26007
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25639
26008
|
deviceId: number(),
|
|
25640
26009
|
addonId: string(),
|
|
@@ -25651,6 +26020,13 @@ method(object({
|
|
|
25651
26020
|
}), object({ success: literal(true) }), {
|
|
25652
26021
|
kind: "mutation",
|
|
25653
26022
|
auth: "admin"
|
|
26023
|
+
}), method(object({
|
|
26024
|
+
deviceId: number(),
|
|
26025
|
+
addonId: string(),
|
|
26026
|
+
settings: record(string(), unknown()).nullable()
|
|
26027
|
+
}), object({ success: literal(true) }), {
|
|
26028
|
+
kind: "mutation",
|
|
26029
|
+
auth: "admin"
|
|
25654
26030
|
}), method(object({
|
|
25655
26031
|
deviceId: number(),
|
|
25656
26032
|
agentNodeId: string(),
|
|
@@ -25674,25 +26050,7 @@ method(object({
|
|
|
25674
26050
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25675
26051
|
kind: "mutation",
|
|
25676
26052
|
auth: "admin"
|
|
25677
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25678
|
-
name: string(),
|
|
25679
|
-
description: string().optional(),
|
|
25680
|
-
config: CameraPipelineConfigSchema
|
|
25681
|
-
}), PipelineTemplateSchema, {
|
|
25682
|
-
kind: "mutation",
|
|
25683
|
-
auth: "admin"
|
|
25684
|
-
}), method(object({
|
|
25685
|
-
id: string(),
|
|
25686
|
-
name: string().optional(),
|
|
25687
|
-
description: string().optional(),
|
|
25688
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25689
|
-
}), PipelineTemplateSchema, {
|
|
25690
|
-
kind: "mutation",
|
|
25691
|
-
auth: "admin"
|
|
25692
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25693
|
-
kind: "mutation",
|
|
25694
|
-
auth: "admin"
|
|
25695
|
-
});
|
|
26053
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25696
26054
|
/**
|
|
25697
26055
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25698
26056
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -27941,8 +28299,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27941
28299
|
]).nullable(),
|
|
27942
28300
|
/** Input FPS from the camera (null for adaptive). */
|
|
27943
28301
|
inputFps: number().nullable(),
|
|
27944
|
-
/** Decoded FPS (null for adaptive). */
|
|
27945
|
-
decodeFps: number().nullable(),
|
|
27946
28302
|
/** Bitrate in kbps (null for adaptive). */
|
|
27947
28303
|
bitrateKbps: number().nullable()
|
|
27948
28304
|
});
|
|
@@ -28274,6 +28630,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28274
28630
|
*/
|
|
28275
28631
|
alive: boolean()
|
|
28276
28632
|
})), method(object({
|
|
28633
|
+
deviceId: number().int().nonnegative(),
|
|
28634
|
+
sessionId: string(),
|
|
28635
|
+
downlinkMbps: number().nonnegative()
|
|
28636
|
+
}), object({
|
|
28637
|
+
outcome: _enum(["switching", "held"]),
|
|
28638
|
+
tier: CamProfileSchema.nullable(),
|
|
28639
|
+
reason: string()
|
|
28640
|
+
}), { kind: "mutation" }), method(object({
|
|
28277
28641
|
deviceId: number().int().nonnegative(),
|
|
28278
28642
|
sessionId: string()
|
|
28279
28643
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28513,6 +28877,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28513
28877
|
var RestartAddonResultSchema = unknown();
|
|
28514
28878
|
var InstallPackageResultSchema = unknown();
|
|
28515
28879
|
var ReloadPackagesResultSchema = unknown();
|
|
28880
|
+
/**
|
|
28881
|
+
* What an uninstall did on ONE node.
|
|
28882
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28883
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28884
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28885
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28886
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28887
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28888
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28889
|
+
*/
|
|
28890
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28891
|
+
"uninstalled",
|
|
28892
|
+
"not-installed",
|
|
28893
|
+
"refused",
|
|
28894
|
+
"failed",
|
|
28895
|
+
"pending-reconnect"
|
|
28896
|
+
]);
|
|
28897
|
+
var UninstallNodeResultSchema = object({
|
|
28898
|
+
nodeId: string(),
|
|
28899
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28900
|
+
error: string().optional(),
|
|
28901
|
+
addonIds: array(string()).readonly(),
|
|
28902
|
+
runnersStopped: array(string()).readonly(),
|
|
28903
|
+
warnings: array(string()).readonly()
|
|
28904
|
+
});
|
|
28905
|
+
var UninstallPackageResultSchema = object({
|
|
28906
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28907
|
+
success: boolean(),
|
|
28908
|
+
packageName: string(),
|
|
28909
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28910
|
+
});
|
|
28911
|
+
/**
|
|
28912
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28913
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28914
|
+
*/
|
|
28915
|
+
var PackageInstallationsSchema = object({
|
|
28916
|
+
installations: array(object({
|
|
28917
|
+
packageName: string(),
|
|
28918
|
+
nodeId: string(),
|
|
28919
|
+
nodeName: string(),
|
|
28920
|
+
isHub: boolean(),
|
|
28921
|
+
isOnline: boolean(),
|
|
28922
|
+
version: string().nullable(),
|
|
28923
|
+
addonIds: array(string()).readonly(),
|
|
28924
|
+
source: _enum(["live", "recorded"]),
|
|
28925
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28926
|
+
onHub: boolean()
|
|
28927
|
+
})).readonly(),
|
|
28928
|
+
unreachable: array(object({
|
|
28929
|
+
nodeId: string(),
|
|
28930
|
+
error: string()
|
|
28931
|
+
})).readonly()
|
|
28932
|
+
});
|
|
28516
28933
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28517
28934
|
"queued",
|
|
28518
28935
|
"updating",
|
|
@@ -28595,10 +29012,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28595
29012
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28596
29013
|
kind: "mutation",
|
|
28597
29014
|
auth: "admin"
|
|
28598
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29015
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29016
|
+
packageName: string().min(1),
|
|
29017
|
+
nodeId: string().optional(),
|
|
29018
|
+
everywhere: boolean().optional()
|
|
29019
|
+
}), UninstallPackageResultSchema, {
|
|
28599
29020
|
kind: "mutation",
|
|
28600
29021
|
auth: "admin"
|
|
28601
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29022
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28602
29023
|
kind: "mutation",
|
|
28603
29024
|
auth: "admin"
|
|
28604
29025
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -32085,7 +32506,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32085
32506
|
"lan-ipv6",
|
|
32086
32507
|
"public",
|
|
32087
32508
|
"loopback",
|
|
32088
|
-
"app-link"
|
|
32509
|
+
"app-link",
|
|
32510
|
+
"custom"
|
|
32089
32511
|
]),
|
|
32090
32512
|
/**
|
|
32091
32513
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32154,7 +32576,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32154
32576
|
localPort: AdvertisedLocalPortSchema
|
|
32155
32577
|
});
|
|
32156
32578
|
/**
|
|
32157
|
-
* The address flagged for notification
|
|
32579
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
32158
32580
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32159
32581
|
* so the UI can show it either way.
|
|
32160
32582
|
*/
|
|
@@ -32187,6 +32609,72 @@ var ViewerEndpointsSchema = object({
|
|
|
32187
32609
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
32188
32610
|
resolved: array(string()).readonly()
|
|
32189
32611
|
});
|
|
32612
|
+
/**
|
|
32613
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
32614
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
32615
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
32616
|
+
*/
|
|
32617
|
+
var HubAddressSnapshotSchema = object({
|
|
32618
|
+
override: string().nullable(),
|
|
32619
|
+
resolved: string().nullable(),
|
|
32620
|
+
source: _enum([
|
|
32621
|
+
"override",
|
|
32622
|
+
"auto",
|
|
32623
|
+
"none"
|
|
32624
|
+
])
|
|
32625
|
+
});
|
|
32626
|
+
var HubAddressesSchema = object({
|
|
32627
|
+
cluster: HubAddressSnapshotSchema,
|
|
32628
|
+
browser: HubAddressSnapshotSchema
|
|
32629
|
+
});
|
|
32630
|
+
/**
|
|
32631
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
32632
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
32633
|
+
* by at most one address.
|
|
32634
|
+
*/
|
|
32635
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
32636
|
+
var RoleSourceSchema = _enum([
|
|
32637
|
+
"flagged",
|
|
32638
|
+
"auto",
|
|
32639
|
+
"none"
|
|
32640
|
+
]);
|
|
32641
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
32642
|
+
var HubAddressRoleResolutionSchema = object({
|
|
32643
|
+
/** The address carrying the flag, or null = automatic. */
|
|
32644
|
+
flagged: string().nullable(),
|
|
32645
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
32646
|
+
resolved: string().nullable(),
|
|
32647
|
+
source: RoleSourceSchema
|
|
32648
|
+
});
|
|
32649
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
32650
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
32651
|
+
flagged: array(string()).readonly(),
|
|
32652
|
+
/** What the apps race right now. */
|
|
32653
|
+
resolved: array(string()).readonly(),
|
|
32654
|
+
source: RoleSourceSchema
|
|
32655
|
+
});
|
|
32656
|
+
var HubAddressBookSchema = object({
|
|
32657
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
32658
|
+
/** In the hub's detected palette right now. */
|
|
32659
|
+
detected: boolean(),
|
|
32660
|
+
/** Entered by the operator (removable). */
|
|
32661
|
+
custom: boolean(),
|
|
32662
|
+
/** The roles explicitly flagged on this address. */
|
|
32663
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
32664
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
32665
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
32666
|
+
/** The roles this address may be flagged with. */
|
|
32667
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
32668
|
+
})).readonly(),
|
|
32669
|
+
roles: object({
|
|
32670
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
32671
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
32672
|
+
internal: HubAddressRoleResolutionSchema,
|
|
32673
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
32674
|
+
}),
|
|
32675
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
32676
|
+
appLinkHub: string().nullable()
|
|
32677
|
+
});
|
|
32190
32678
|
var AllowedAddressesSchema = object({
|
|
32191
32679
|
/**
|
|
32192
32680
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -32230,10 +32718,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32230
32718
|
* tunnel always emits `https://` regardless. */
|
|
32231
32719
|
scheme: _enum(["http", "https"]).optional(),
|
|
32232
32720
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32233
|
-
* an address notification
|
|
32721
|
+
* an address notification taps can be flagged with, not a hub
|
|
32234
32722
|
* route. Default `false`: racers and rankers never see it. */
|
|
32235
32723
|
includeAppLink: boolean().optional()
|
|
32236
|
-
}), 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(
|
|
32724
|
+
}), 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({
|
|
32725
|
+
baseUrl: string(),
|
|
32726
|
+
label: string().max(80)
|
|
32727
|
+
}), HubAddressBookSchema, {
|
|
32728
|
+
kind: "mutation",
|
|
32729
|
+
auth: "admin"
|
|
32730
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
32731
|
+
kind: "mutation",
|
|
32732
|
+
auth: "admin"
|
|
32733
|
+
}), method(object({
|
|
32734
|
+
role: HubAddressRoleSchema,
|
|
32735
|
+
baseUrl: string().nullable(),
|
|
32736
|
+
enabled: boolean(),
|
|
32737
|
+
acceptInsecureHttp: boolean().optional()
|
|
32738
|
+
}), HubAddressBookSchema, {
|
|
32739
|
+
kind: "mutation",
|
|
32740
|
+
auth: "admin"
|
|
32741
|
+
}), 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, {
|
|
32237
32742
|
kind: "mutation",
|
|
32238
32743
|
auth: "admin"
|
|
32239
32744
|
}), method(object({
|
|
@@ -32691,7 +33196,8 @@ var MotionStatusSchema = object({
|
|
|
32691
33196
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
32692
33197
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
32693
33198
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
32694
|
-
* A provider's `isDetected`
|
|
33199
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
33200
|
+
* (`hubMotionNativeProvider`).
|
|
32695
33201
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
32696
33202
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
32697
33203
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -39238,6 +39744,16 @@ var zoneRulesCapability = {
|
|
|
39238
39744
|
durability: "restored"
|
|
39239
39745
|
};
|
|
39240
39746
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
39747
|
+
Object.freeze({
|
|
39748
|
+
person: .5,
|
|
39749
|
+
vehicle: .5,
|
|
39750
|
+
animal: .5
|
|
39751
|
+
});
|
|
39752
|
+
Object.freeze({
|
|
39753
|
+
person: .65,
|
|
39754
|
+
vehicle: .65,
|
|
39755
|
+
animal: .65
|
|
39756
|
+
});
|
|
39241
39757
|
/**
|
|
39242
39758
|
* Accessory device helpers — shared across drivers.
|
|
39243
39759
|
*
|
|
@@ -40936,6 +41452,12 @@ Object.freeze({
|
|
|
40936
41452
|
addonId: null,
|
|
40937
41453
|
access: "view"
|
|
40938
41454
|
},
|
|
41455
|
+
"addons.listInstallations": {
|
|
41456
|
+
capName: "addons",
|
|
41457
|
+
capScope: "system",
|
|
41458
|
+
addonId: null,
|
|
41459
|
+
access: "view"
|
|
41460
|
+
},
|
|
40939
41461
|
"addons.listJobs": {
|
|
40940
41462
|
capName: "addons",
|
|
40941
41463
|
capScope: "system",
|
|
@@ -42118,90 +42640,18 @@ Object.freeze({
|
|
|
42118
42640
|
addonId: null,
|
|
42119
42641
|
access: "create"
|
|
42120
42642
|
},
|
|
42121
|
-
"decoder.createSession": {
|
|
42122
|
-
capName: "decoder",
|
|
42123
|
-
capScope: "system",
|
|
42124
|
-
addonId: null,
|
|
42125
|
-
access: "view"
|
|
42126
|
-
},
|
|
42127
|
-
"decoder.destroySession": {
|
|
42128
|
-
capName: "decoder",
|
|
42129
|
-
capScope: "system",
|
|
42130
|
-
addonId: null,
|
|
42131
|
-
access: "delete"
|
|
42132
|
-
},
|
|
42133
|
-
"decoder.getFrame": {
|
|
42134
|
-
capName: "decoder",
|
|
42135
|
-
capScope: "system",
|
|
42136
|
-
addonId: null,
|
|
42137
|
-
access: "view"
|
|
42138
|
-
},
|
|
42139
42643
|
"decoder.getInfo": {
|
|
42140
42644
|
capName: "decoder",
|
|
42141
42645
|
capScope: "system",
|
|
42142
42646
|
addonId: null,
|
|
42143
42647
|
access: "view"
|
|
42144
42648
|
},
|
|
42145
|
-
"decoder.getShmStats": {
|
|
42146
|
-
capName: "decoder",
|
|
42147
|
-
capScope: "system",
|
|
42148
|
-
addonId: null,
|
|
42149
|
-
access: "view"
|
|
42150
|
-
},
|
|
42151
|
-
"decoder.getStats": {
|
|
42152
|
-
capName: "decoder",
|
|
42153
|
-
capScope: "system",
|
|
42154
|
-
addonId: null,
|
|
42155
|
-
access: "view"
|
|
42156
|
-
},
|
|
42157
|
-
"decoder.listActiveSessions": {
|
|
42158
|
-
capName: "decoder",
|
|
42159
|
-
capScope: "system",
|
|
42160
|
-
addonId: null,
|
|
42161
|
-
access: "view"
|
|
42162
|
-
},
|
|
42163
|
-
"decoder.openStream": {
|
|
42164
|
-
capName: "decoder",
|
|
42165
|
-
capScope: "system",
|
|
42166
|
-
addonId: null,
|
|
42167
|
-
access: "view"
|
|
42168
|
-
},
|
|
42169
|
-
"decoder.pullFrames": {
|
|
42170
|
-
capName: "decoder",
|
|
42171
|
-
capScope: "system",
|
|
42172
|
-
addonId: null,
|
|
42173
|
-
access: "view"
|
|
42174
|
-
},
|
|
42175
|
-
"decoder.pullHandles": {
|
|
42176
|
-
capName: "decoder",
|
|
42177
|
-
capScope: "system",
|
|
42178
|
-
addonId: null,
|
|
42179
|
-
access: "view"
|
|
42180
|
-
},
|
|
42181
|
-
"decoder.pushPacket": {
|
|
42182
|
-
capName: "decoder",
|
|
42183
|
-
capScope: "system",
|
|
42184
|
-
addonId: null,
|
|
42185
|
-
access: "view"
|
|
42186
|
-
},
|
|
42187
42649
|
"decoder.reprobeHwaccel": {
|
|
42188
42650
|
capName: "decoder",
|
|
42189
42651
|
capScope: "system",
|
|
42190
42652
|
addonId: null,
|
|
42191
42653
|
access: "create"
|
|
42192
42654
|
},
|
|
42193
|
-
"decoder.supportsCodec": {
|
|
42194
|
-
capName: "decoder",
|
|
42195
|
-
capScope: "system",
|
|
42196
|
-
addonId: null,
|
|
42197
|
-
access: "view"
|
|
42198
|
-
},
|
|
42199
|
-
"decoder.updateConfig": {
|
|
42200
|
-
capName: "decoder",
|
|
42201
|
-
capScope: "system",
|
|
42202
|
-
addonId: null,
|
|
42203
|
-
access: "view"
|
|
42204
|
-
},
|
|
42205
42655
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
42206
42656
|
capName: "detection-pipeline",
|
|
42207
42657
|
capScope: "device",
|
|
@@ -43690,12 +44140,24 @@ Object.freeze({
|
|
|
43690
44140
|
addonId: null,
|
|
43691
44141
|
access: "view"
|
|
43692
44142
|
},
|
|
44143
|
+
"localNetwork.addCustomAddress": {
|
|
44144
|
+
capName: "local-network",
|
|
44145
|
+
capScope: "system",
|
|
44146
|
+
addonId: null,
|
|
44147
|
+
access: "create"
|
|
44148
|
+
},
|
|
43693
44149
|
"localNetwork.downloadCa": {
|
|
43694
44150
|
capName: "local-network",
|
|
43695
44151
|
capScope: "system",
|
|
43696
44152
|
addonId: null,
|
|
43697
44153
|
access: "view"
|
|
43698
44154
|
},
|
|
44155
|
+
"localNetwork.getAddresses": {
|
|
44156
|
+
capName: "local-network",
|
|
44157
|
+
capScope: "system",
|
|
44158
|
+
addonId: null,
|
|
44159
|
+
access: "view"
|
|
44160
|
+
},
|
|
43699
44161
|
"localNetwork.getAllowedAddresses": {
|
|
43700
44162
|
capName: "local-network",
|
|
43701
44163
|
capScope: "system",
|
|
@@ -43708,6 +44170,12 @@ Object.freeze({
|
|
|
43708
44170
|
addonId: null,
|
|
43709
44171
|
access: "view"
|
|
43710
44172
|
},
|
|
44173
|
+
"localNetwork.getHubAddresses": {
|
|
44174
|
+
capName: "local-network",
|
|
44175
|
+
capScope: "system",
|
|
44176
|
+
addonId: null,
|
|
44177
|
+
access: "view"
|
|
44178
|
+
},
|
|
43711
44179
|
"localNetwork.getNotificationEndpoint": {
|
|
43712
44180
|
capName: "local-network",
|
|
43713
44181
|
capScope: "system",
|
|
@@ -43744,6 +44212,12 @@ Object.freeze({
|
|
|
43744
44212
|
addonId: null,
|
|
43745
44213
|
access: "create"
|
|
43746
44214
|
},
|
|
44215
|
+
"localNetwork.removeCustomAddress": {
|
|
44216
|
+
capName: "local-network",
|
|
44217
|
+
capScope: "system",
|
|
44218
|
+
addonId: null,
|
|
44219
|
+
access: "delete"
|
|
44220
|
+
},
|
|
43747
44221
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
43748
44222
|
capName: "local-network",
|
|
43749
44223
|
capScope: "system",
|
|
@@ -43756,6 +44230,12 @@ Object.freeze({
|
|
|
43756
44230
|
addonId: null,
|
|
43757
44231
|
access: "create"
|
|
43758
44232
|
},
|
|
44233
|
+
"localNetwork.setAddressRole": {
|
|
44234
|
+
capName: "local-network",
|
|
44235
|
+
capScope: "system",
|
|
44236
|
+
addonId: null,
|
|
44237
|
+
access: "create"
|
|
44238
|
+
},
|
|
43759
44239
|
"localNetwork.setAllowedAddresses": {
|
|
43760
44240
|
capName: "local-network",
|
|
43761
44241
|
capScope: "system",
|
|
@@ -45250,13 +45730,13 @@ Object.freeze({
|
|
|
45250
45730
|
addonId: null,
|
|
45251
45731
|
access: "delete"
|
|
45252
45732
|
},
|
|
45253
|
-
"pipelineExecutor.
|
|
45733
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
45254
45734
|
capName: "pipeline-executor",
|
|
45255
45735
|
capScope: "system",
|
|
45256
45736
|
addonId: null,
|
|
45257
45737
|
access: "delete"
|
|
45258
45738
|
},
|
|
45259
|
-
"pipelineExecutor.
|
|
45739
|
+
"pipelineExecutor.deleteModel": {
|
|
45260
45740
|
capName: "pipeline-executor",
|
|
45261
45741
|
capScope: "system",
|
|
45262
45742
|
addonId: null,
|
|
@@ -45400,12 +45880,6 @@ Object.freeze({
|
|
|
45400
45880
|
addonId: null,
|
|
45401
45881
|
access: "view"
|
|
45402
45882
|
},
|
|
45403
|
-
"pipelineExecutor.listTemplates": {
|
|
45404
|
-
capName: "pipeline-executor",
|
|
45405
|
-
capScope: "system",
|
|
45406
|
-
addonId: null,
|
|
45407
|
-
access: "view"
|
|
45408
|
-
},
|
|
45409
45883
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
45410
45884
|
capName: "pipeline-executor",
|
|
45411
45885
|
capScope: "system",
|
|
@@ -45430,12 +45904,6 @@ Object.freeze({
|
|
|
45430
45904
|
addonId: null,
|
|
45431
45905
|
access: "create"
|
|
45432
45906
|
},
|
|
45433
|
-
"pipelineExecutor.saveTemplate": {
|
|
45434
|
-
capName: "pipeline-executor",
|
|
45435
|
-
capScope: "system",
|
|
45436
|
-
addonId: null,
|
|
45437
|
-
access: "create"
|
|
45438
|
-
},
|
|
45439
45907
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
45440
45908
|
capName: "pipeline-executor",
|
|
45441
45909
|
capScope: "system",
|
|
@@ -45454,41 +45922,35 @@ Object.freeze({
|
|
|
45454
45922
|
addonId: null,
|
|
45455
45923
|
access: "create"
|
|
45456
45924
|
},
|
|
45457
|
-
"pipelineExecutor.updateTemplate": {
|
|
45458
|
-
capName: "pipeline-executor",
|
|
45459
|
-
capScope: "system",
|
|
45460
|
-
addonId: null,
|
|
45461
|
-
access: "create"
|
|
45462
|
-
},
|
|
45463
45925
|
"pipelineExecutor.validatePipeline": {
|
|
45464
45926
|
capName: "pipeline-executor",
|
|
45465
45927
|
capScope: "system",
|
|
45466
45928
|
addonId: null,
|
|
45467
45929
|
access: "view"
|
|
45468
45930
|
},
|
|
45469
|
-
"pipelineOrchestrator.
|
|
45931
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
45470
45932
|
capName: "pipeline-orchestrator",
|
|
45471
45933
|
capScope: "system",
|
|
45472
45934
|
addonId: null,
|
|
45473
45935
|
access: "create"
|
|
45474
45936
|
},
|
|
45475
|
-
"pipelineOrchestrator.
|
|
45937
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
45476
45938
|
capName: "pipeline-orchestrator",
|
|
45477
45939
|
capScope: "system",
|
|
45478
45940
|
addonId: null,
|
|
45479
45941
|
access: "create"
|
|
45480
45942
|
},
|
|
45481
|
-
"pipelineOrchestrator.
|
|
45943
|
+
"pipelineOrchestrator.assignAudio": {
|
|
45482
45944
|
capName: "pipeline-orchestrator",
|
|
45483
45945
|
capScope: "system",
|
|
45484
45946
|
addonId: null,
|
|
45485
45947
|
access: "create"
|
|
45486
45948
|
},
|
|
45487
|
-
"pipelineOrchestrator.
|
|
45949
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
45488
45950
|
capName: "pipeline-orchestrator",
|
|
45489
45951
|
capScope: "system",
|
|
45490
45952
|
addonId: null,
|
|
45491
|
-
access: "
|
|
45953
|
+
access: "create"
|
|
45492
45954
|
},
|
|
45493
45955
|
"pipelineOrchestrator.getAgentLoad": {
|
|
45494
45956
|
capName: "pipeline-orchestrator",
|
|
@@ -45580,6 +46042,12 @@ Object.freeze({
|
|
|
45580
46042
|
addonId: null,
|
|
45581
46043
|
access: "view"
|
|
45582
46044
|
},
|
|
46045
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
46046
|
+
capName: "pipeline-orchestrator",
|
|
46047
|
+
capScope: "system",
|
|
46048
|
+
addonId: null,
|
|
46049
|
+
access: "view"
|
|
46050
|
+
},
|
|
45583
46051
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
45584
46052
|
capName: "pipeline-orchestrator",
|
|
45585
46053
|
capScope: "system",
|
|
@@ -45616,19 +46084,19 @@ Object.freeze({
|
|
|
45616
46084
|
addonId: null,
|
|
45617
46085
|
access: "view"
|
|
45618
46086
|
},
|
|
45619
|
-
"pipelineOrchestrator.
|
|
46087
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
45620
46088
|
capName: "pipeline-orchestrator",
|
|
45621
46089
|
capScope: "system",
|
|
45622
46090
|
addonId: null,
|
|
45623
46091
|
access: "view"
|
|
45624
46092
|
},
|
|
45625
|
-
"pipelineOrchestrator.
|
|
46093
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
45626
46094
|
capName: "pipeline-orchestrator",
|
|
45627
46095
|
capScope: "system",
|
|
45628
46096
|
addonId: null,
|
|
45629
46097
|
access: "view"
|
|
45630
46098
|
},
|
|
45631
|
-
"pipelineOrchestrator.
|
|
46099
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
45632
46100
|
capName: "pipeline-orchestrator",
|
|
45633
46101
|
capScope: "system",
|
|
45634
46102
|
addonId: null,
|
|
@@ -45640,6 +46108,12 @@ Object.freeze({
|
|
|
45640
46108
|
addonId: null,
|
|
45641
46109
|
access: "create"
|
|
45642
46110
|
},
|
|
46111
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
46112
|
+
capName: "pipeline-orchestrator",
|
|
46113
|
+
capScope: "system",
|
|
46114
|
+
addonId: null,
|
|
46115
|
+
access: "view"
|
|
46116
|
+
},
|
|
45643
46117
|
"pipelineOrchestrator.rebalance": {
|
|
45644
46118
|
capName: "pipeline-orchestrator",
|
|
45645
46119
|
capScope: "system",
|
|
@@ -45682,12 +46156,6 @@ Object.freeze({
|
|
|
45682
46156
|
addonId: null,
|
|
45683
46157
|
access: "create"
|
|
45684
46158
|
},
|
|
45685
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
45686
|
-
capName: "pipeline-orchestrator",
|
|
45687
|
-
capScope: "system",
|
|
45688
|
-
addonId: null,
|
|
45689
|
-
access: "create"
|
|
45690
|
-
},
|
|
45691
46159
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
45692
46160
|
capName: "pipeline-orchestrator",
|
|
45693
46161
|
capScope: "system",
|
|
@@ -45700,12 +46168,6 @@ Object.freeze({
|
|
|
45700
46168
|
addonId: null,
|
|
45701
46169
|
access: "create"
|
|
45702
46170
|
},
|
|
45703
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
45704
|
-
capName: "pipeline-orchestrator",
|
|
45705
|
-
capScope: "system",
|
|
45706
|
-
addonId: null,
|
|
45707
|
-
access: "create"
|
|
45708
|
-
},
|
|
45709
46171
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
45710
46172
|
capName: "pipeline-orchestrator",
|
|
45711
46173
|
capScope: "system",
|
|
@@ -45742,6 +46204,12 @@ Object.freeze({
|
|
|
45742
46204
|
addonId: null,
|
|
45743
46205
|
access: "create"
|
|
45744
46206
|
},
|
|
46207
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
46208
|
+
capName: "pipeline-orchestrator",
|
|
46209
|
+
capScope: "system",
|
|
46210
|
+
addonId: null,
|
|
46211
|
+
access: "create"
|
|
46212
|
+
},
|
|
45745
46213
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
45746
46214
|
capName: "pipeline-orchestrator",
|
|
45747
46215
|
capScope: "system",
|
|
@@ -45760,25 +46228,37 @@ Object.freeze({
|
|
|
45760
46228
|
addonId: null,
|
|
45761
46229
|
access: "create"
|
|
45762
46230
|
},
|
|
46231
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
46232
|
+
capName: "pipeline-orchestrator",
|
|
46233
|
+
capScope: "system",
|
|
46234
|
+
addonId: null,
|
|
46235
|
+
access: "create"
|
|
46236
|
+
},
|
|
45763
46237
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
45764
46238
|
capName: "pipeline-orchestrator",
|
|
45765
46239
|
capScope: "system",
|
|
45766
46240
|
addonId: null,
|
|
45767
46241
|
access: "create"
|
|
45768
46242
|
},
|
|
45769
|
-
"pipelineOrchestrator.
|
|
46243
|
+
"pipelineOrchestrator.setShareSource": {
|
|
45770
46244
|
capName: "pipeline-orchestrator",
|
|
45771
46245
|
capScope: "system",
|
|
45772
46246
|
addonId: null,
|
|
45773
46247
|
access: "create"
|
|
45774
46248
|
},
|
|
45775
|
-
"pipelineOrchestrator.
|
|
46249
|
+
"pipelineOrchestrator.suggestShares": {
|
|
46250
|
+
capName: "pipeline-orchestrator",
|
|
46251
|
+
capScope: "system",
|
|
46252
|
+
addonId: null,
|
|
46253
|
+
access: "view"
|
|
46254
|
+
},
|
|
46255
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
45776
46256
|
capName: "pipeline-orchestrator",
|
|
45777
46257
|
capScope: "system",
|
|
45778
46258
|
addonId: null,
|
|
45779
46259
|
access: "create"
|
|
45780
46260
|
},
|
|
45781
|
-
"pipelineOrchestrator.
|
|
46261
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
45782
46262
|
capName: "pipeline-orchestrator",
|
|
45783
46263
|
capScope: "system",
|
|
45784
46264
|
addonId: null,
|
|
@@ -47218,12 +47698,6 @@ Object.freeze({
|
|
|
47218
47698
|
addonId: null,
|
|
47219
47699
|
access: "view"
|
|
47220
47700
|
},
|
|
47221
|
-
"streamBroker.pullFrameHandles": {
|
|
47222
|
-
capName: "stream-broker",
|
|
47223
|
-
capScope: "system",
|
|
47224
|
-
addonId: null,
|
|
47225
|
-
access: "view"
|
|
47226
|
-
},
|
|
47227
47701
|
"streamBroker.regenerateRtspToken": {
|
|
47228
47702
|
capName: "stream-broker",
|
|
47229
47703
|
capScope: "system",
|
|
@@ -47290,12 +47764,6 @@ Object.freeze({
|
|
|
47290
47764
|
addonId: null,
|
|
47291
47765
|
access: "create"
|
|
47292
47766
|
},
|
|
47293
|
-
"streamBroker.subscribeFrames": {
|
|
47294
|
-
capName: "stream-broker",
|
|
47295
|
-
capScope: "system",
|
|
47296
|
-
addonId: null,
|
|
47297
|
-
access: "create"
|
|
47298
|
-
},
|
|
47299
47767
|
"streamBroker.unassignProfile": {
|
|
47300
47768
|
capName: "stream-broker",
|
|
47301
47769
|
capScope: "system",
|
|
@@ -47308,12 +47776,6 @@ Object.freeze({
|
|
|
47308
47776
|
addonId: null,
|
|
47309
47777
|
access: "create"
|
|
47310
47778
|
},
|
|
47311
|
-
"streamBroker.unsubscribeFrames": {
|
|
47312
|
-
capName: "stream-broker",
|
|
47313
|
-
capScope: "system",
|
|
47314
|
-
addonId: null,
|
|
47315
|
-
access: "create"
|
|
47316
|
-
},
|
|
47317
47779
|
"streamCatalog.getCatalog": {
|
|
47318
47780
|
capName: "stream-catalog",
|
|
47319
47781
|
capScope: "device",
|
|
@@ -48010,6 +48472,12 @@ Object.freeze({
|
|
|
48010
48472
|
addonId: null,
|
|
48011
48473
|
access: "create"
|
|
48012
48474
|
},
|
|
48475
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
48476
|
+
capName: "webrtc-session",
|
|
48477
|
+
capScope: "device",
|
|
48478
|
+
addonId: null,
|
|
48479
|
+
access: "create"
|
|
48480
|
+
},
|
|
48013
48481
|
"webrtcSession.closeSession": {
|
|
48014
48482
|
capName: "webrtc-session",
|
|
48015
48483
|
capScope: "device",
|
|
@@ -49821,11 +50289,6 @@ Object.freeze({
|
|
|
49821
50289
|
form: "single",
|
|
49822
50290
|
optional: false
|
|
49823
50291
|
}],
|
|
49824
|
-
"decoder.createSession": [{
|
|
49825
|
-
name: "deviceId",
|
|
49826
|
-
form: "single",
|
|
49827
|
-
optional: true
|
|
49828
|
-
}],
|
|
49829
50292
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
49830
50293
|
name: "deviceId",
|
|
49831
50294
|
form: "single",
|
|
@@ -51056,6 +51519,11 @@ Object.freeze({
|
|
|
51056
51519
|
form: "single",
|
|
51057
51520
|
optional: false
|
|
51058
51521
|
}],
|
|
51522
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
51523
|
+
name: "deviceIds",
|
|
51524
|
+
form: "array",
|
|
51525
|
+
optional: true
|
|
51526
|
+
}],
|
|
51059
51527
|
"pipelineExecutor.runPipeline": [{
|
|
51060
51528
|
name: "deviceId",
|
|
51061
51529
|
form: "single",
|
|
@@ -51161,6 +51629,11 @@ Object.freeze({
|
|
|
51161
51629
|
form: "single",
|
|
51162
51630
|
optional: false
|
|
51163
51631
|
}],
|
|
51632
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
51633
|
+
name: "deviceId",
|
|
51634
|
+
form: "single",
|
|
51635
|
+
optional: false
|
|
51636
|
+
}],
|
|
51164
51637
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
51165
51638
|
name: "deviceId",
|
|
51166
51639
|
form: "single",
|
|
@@ -51932,6 +52405,11 @@ Object.freeze({
|
|
|
51932
52405
|
form: "single",
|
|
51933
52406
|
optional: false
|
|
51934
52407
|
}],
|
|
52408
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
52409
|
+
name: "deviceId",
|
|
52410
|
+
form: "single",
|
|
52411
|
+
optional: false
|
|
52412
|
+
}],
|
|
51935
52413
|
"webrtcSession.closeSession": [{
|
|
51936
52414
|
name: "deviceId",
|
|
51937
52415
|
form: "single",
|
|
@@ -52161,6 +52639,8 @@ new Map(Object.entries({
|
|
|
52161
52639
|
"detection-blind": "device-events",
|
|
52162
52640
|
"node-online": "system",
|
|
52163
52641
|
"node-offline": "system",
|
|
52642
|
+
"node-restarting": "system",
|
|
52643
|
+
"node-updating": "system",
|
|
52164
52644
|
"node-inference-unavailable": "system",
|
|
52165
52645
|
"addon-crash-loop": "system",
|
|
52166
52646
|
"addon-update-available": "system",
|
|
@@ -52238,6 +52718,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52238
52718
|
kinds: [
|
|
52239
52719
|
"node-offline",
|
|
52240
52720
|
"node-online",
|
|
52721
|
+
"node-restarting",
|
|
52241
52722
|
"node-inference-unavailable"
|
|
52242
52723
|
]
|
|
52243
52724
|
},
|
|
@@ -52259,6 +52740,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52259
52740
|
label: "Server & container updates",
|
|
52260
52741
|
kinds: [
|
|
52261
52742
|
"server-update-available",
|
|
52743
|
+
"node-updating",
|
|
52262
52744
|
"server-updated",
|
|
52263
52745
|
"wrapper-update-available"
|
|
52264
52746
|
]
|
|
@@ -52406,6 +52888,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52406
52888
|
kinds: [
|
|
52407
52889
|
"node-offline",
|
|
52408
52890
|
"node-online",
|
|
52891
|
+
"node-restarting",
|
|
52409
52892
|
"node-inference-unavailable"
|
|
52410
52893
|
]
|
|
52411
52894
|
},
|
|
@@ -52427,6 +52910,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52427
52910
|
example: "server 1.2.377 → 1.2.378",
|
|
52428
52911
|
kinds: [
|
|
52429
52912
|
"server-update-available",
|
|
52913
|
+
"node-updating",
|
|
52430
52914
|
"server-updated",
|
|
52431
52915
|
"wrapper-update-available"
|
|
52432
52916
|
]
|
|
@@ -52459,7 +52943,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52459
52943
|
{
|
|
52460
52944
|
name: "summarySection",
|
|
52461
52945
|
label: "Summary: this section",
|
|
52462
|
-
description: "The section a per-section summary row is about
|
|
52946
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
52463
52947
|
example: "Batterie scariche",
|
|
52464
52948
|
group: "system",
|
|
52465
52949
|
families: ["rule"],
|