@camstack/addon-provider-homematic 1.2.126 → 1.2.127
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 +882 -461
- package/dist/addon.mjs +882 -461
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { join } from "path";
|
|
|
9
9
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
10
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region ../types/dist/event-category-
|
|
12
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
13
13
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
14
14
|
EventCategory["SystemBoot"] = "system.boot";
|
|
15
15
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -510,15 +510,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
510
510
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
511
511
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
512
512
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
513
|
-
/**
|
|
514
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
515
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
516
|
-
* `createSession`, so running sessions keep their current backend until
|
|
517
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
518
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
519
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
520
|
-
*/
|
|
521
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
522
513
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
523
514
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
524
515
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5389,7 +5380,7 @@ var ZodIssueCode = {
|
|
|
5389
5380
|
var ZodFirstPartyTypeKind;
|
|
5390
5381
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5391
5382
|
//#endregion
|
|
5392
|
-
//#region ../types/dist/sleep-
|
|
5383
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
5393
5384
|
/**
|
|
5394
5385
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5395
5386
|
* window to float samples (D455).
|
|
@@ -6755,32 +6746,12 @@ object({
|
|
|
6755
6746
|
audioCodec: string().optional(),
|
|
6756
6747
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6757
6748
|
});
|
|
6758
|
-
var EncodedPacketSchema = object({
|
|
6759
|
-
type: _enum(["video", "audio"]),
|
|
6760
|
-
data: _instanceof(Uint8Array),
|
|
6761
|
-
pts: number(),
|
|
6762
|
-
dts: number(),
|
|
6763
|
-
keyframe: boolean(),
|
|
6764
|
-
codec: string()
|
|
6765
|
-
});
|
|
6766
|
-
var DecodedFrameSchema = object({
|
|
6767
|
-
data: _instanceof(Uint8Array),
|
|
6768
|
-
width: number(),
|
|
6769
|
-
height: number(),
|
|
6770
|
-
format: _enum([
|
|
6771
|
-
"jpeg",
|
|
6772
|
-
"rgb",
|
|
6773
|
-
"bgr",
|
|
6774
|
-
"yuv420",
|
|
6775
|
-
"gray"
|
|
6776
|
-
]),
|
|
6777
|
-
timestamp: number()
|
|
6778
|
-
});
|
|
6779
6749
|
/**
|
|
6780
6750
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6781
6751
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6782
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6783
|
-
*
|
|
6752
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6753
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6754
|
+
* over tRPC / Moleculer.
|
|
6784
6755
|
*
|
|
6785
6756
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6786
6757
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6806,50 +6777,6 @@ var FrameHandleSchema = object({
|
|
|
6806
6777
|
slotCount: number().int().positive()
|
|
6807
6778
|
});
|
|
6808
6779
|
/**
|
|
6809
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6810
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6811
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6812
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6813
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6814
|
-
*/
|
|
6815
|
-
var FrameHandleFormatSchema = _enum([
|
|
6816
|
-
"rgb",
|
|
6817
|
-
"bgr",
|
|
6818
|
-
"yuv420",
|
|
6819
|
-
"gray"
|
|
6820
|
-
]);
|
|
6821
|
-
/**
|
|
6822
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6823
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6824
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6825
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6826
|
-
* they asked for with no broker-side conversion.
|
|
6827
|
-
*/
|
|
6828
|
-
var SubscribeFramesInputSchema = object({
|
|
6829
|
-
brokerId: string(),
|
|
6830
|
-
format: FrameHandleFormatSchema,
|
|
6831
|
-
/**
|
|
6832
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6833
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6834
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6835
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6836
|
-
*/
|
|
6837
|
-
maxFps: number().positive().optional(),
|
|
6838
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6839
|
-
tag: string().optional()
|
|
6840
|
-
});
|
|
6841
|
-
/**
|
|
6842
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6843
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6844
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6845
|
-
*/
|
|
6846
|
-
var SubscribeFramesResultSchema = object({
|
|
6847
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6848
|
-
subscriptionId: string(),
|
|
6849
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6850
|
-
maxFps: number().nonnegative()
|
|
6851
|
-
});
|
|
6852
|
-
/**
|
|
6853
6780
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6854
6781
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6855
6782
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6857,8 +6784,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6857
6784
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6858
6785
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6859
6786
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6860
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6861
|
-
*
|
|
6787
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6788
|
+
* it.
|
|
6862
6789
|
*/
|
|
6863
6790
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6864
6791
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6876,11 +6803,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6876
6803
|
format: AudioChunkFormatSchema.optional()
|
|
6877
6804
|
});
|
|
6878
6805
|
/**
|
|
6879
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6880
|
-
*
|
|
6881
|
-
*
|
|
6882
|
-
*
|
|
6883
|
-
* `pullAudioChunks`.
|
|
6806
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6807
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6808
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6809
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6884
6810
|
*/
|
|
6885
6811
|
var SubscribeAudioChunksInputSchema = object({
|
|
6886
6812
|
brokerId: string(),
|
|
@@ -6911,9 +6837,7 @@ var BrokerStatsSchema = object({
|
|
|
6911
6837
|
"stopped"
|
|
6912
6838
|
]),
|
|
6913
6839
|
inputFps: number(),
|
|
6914
|
-
decodeFps: number(),
|
|
6915
6840
|
encodedSubscribers: number(),
|
|
6916
|
-
decodedSubscribers: number(),
|
|
6917
6841
|
uptimeMs: number(),
|
|
6918
6842
|
bitrateKbps: number(),
|
|
6919
6843
|
idrIntervalMs: number(),
|
|
@@ -6926,14 +6850,6 @@ var BrokerStatsSchema = object({
|
|
|
6926
6850
|
preBufferMs: number(),
|
|
6927
6851
|
preBufferPackets: number(),
|
|
6928
6852
|
/**
|
|
6929
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6930
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6931
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6932
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6933
|
-
* a separate cap call per broker.
|
|
6934
|
-
*/
|
|
6935
|
-
decoderNodeId: string().nullable(),
|
|
6936
|
-
/**
|
|
6937
6853
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6938
6854
|
* when the stream has no audio track or the broker is in cold start.
|
|
6939
6855
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10269,70 +10185,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10269
10185
|
"backup"
|
|
10270
10186
|
]).optional()
|
|
10271
10187
|
});
|
|
10272
|
-
var DecoderStatsSchema = object({
|
|
10273
|
-
inputFps: number(),
|
|
10274
|
-
outputFps: number(),
|
|
10275
|
-
avgDecodeTimeMs: number(),
|
|
10276
|
-
droppedFrames: number(),
|
|
10277
|
-
/**
|
|
10278
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10279
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10280
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10281
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10282
|
-
*/
|
|
10283
|
-
lagMs: number().optional(),
|
|
10284
|
-
effectiveFps: number().optional(),
|
|
10285
|
-
adaptiveFps: number().optional()
|
|
10286
|
-
});
|
|
10287
|
-
var DecoderSessionConfigSchema = object({
|
|
10288
|
-
codec: string(),
|
|
10289
|
-
maxFps: number().default(0),
|
|
10290
|
-
outputFormat: _enum([
|
|
10291
|
-
"jpeg",
|
|
10292
|
-
"rgb",
|
|
10293
|
-
"bgr",
|
|
10294
|
-
"yuv420",
|
|
10295
|
-
"gray"
|
|
10296
|
-
]).default("jpeg"),
|
|
10297
|
-
scale: number().default(1),
|
|
10298
|
-
width: number().optional(),
|
|
10299
|
-
height: number().optional(),
|
|
10300
|
-
/**
|
|
10301
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10302
|
-
* because the cap is generic (any caller could request decode), but
|
|
10303
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10304
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10305
|
-
* sendPacket errors on a single hung camera).
|
|
10306
|
-
*/
|
|
10307
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10308
|
-
/**
|
|
10309
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10310
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10311
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10312
|
-
* profile cleanly.
|
|
10313
|
-
*/
|
|
10314
|
-
tag: string().optional(),
|
|
10315
|
-
/**
|
|
10316
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10317
|
-
*
|
|
10318
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10319
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10320
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10321
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10322
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10323
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10324
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10325
|
-
*/
|
|
10326
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10327
|
-
/**
|
|
10328
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10329
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10330
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10331
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10332
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10333
|
-
*/
|
|
10334
|
-
debug: boolean().optional()
|
|
10335
|
-
});
|
|
10336
10188
|
/**
|
|
10337
10189
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10338
10190
|
* an addon declares its channels in.
|
|
@@ -10475,6 +10327,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10475
10327
|
"balanced",
|
|
10476
10328
|
"strict"
|
|
10477
10329
|
]);
|
|
10330
|
+
/** Steps whose effect a root label can BE. */
|
|
10331
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10332
|
+
"animal-classifier",
|
|
10333
|
+
"vehicle-classifier",
|
|
10334
|
+
"package-detection"
|
|
10335
|
+
];
|
|
10336
|
+
/** Steps whose box a root detection can BE. */
|
|
10337
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10338
|
+
/**
|
|
10339
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10340
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10341
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10342
|
+
* no camera tree carries.)
|
|
10343
|
+
*/
|
|
10344
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10345
|
+
[
|
|
10346
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10347
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10348
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10349
|
+
];
|
|
10478
10350
|
var MODEL_FORMATS = [
|
|
10479
10351
|
"onnx",
|
|
10480
10352
|
"coreml",
|
|
@@ -10503,7 +10375,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10503
10375
|
/** Multi-file payload (directory members or sibling files). */
|
|
10504
10376
|
files: array(string()).readonly().optional(),
|
|
10505
10377
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10506
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10378
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10379
|
+
/**
|
|
10380
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10381
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10382
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10383
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10384
|
+
* node records the revision it downloaded next to the file
|
|
10385
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10386
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10387
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10388
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10389
|
+
*/
|
|
10390
|
+
revision: string().min(1).optional()
|
|
10391
|
+
});
|
|
10392
|
+
/**
|
|
10393
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10394
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10395
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10396
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10397
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10398
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10399
|
+
*/
|
|
10400
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10401
|
+
"current",
|
|
10402
|
+
"stale",
|
|
10403
|
+
"missing"
|
|
10404
|
+
]);
|
|
10405
|
+
/**
|
|
10406
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10407
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10408
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10409
|
+
*/
|
|
10410
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10411
|
+
"fp32",
|
|
10412
|
+
"fp16",
|
|
10413
|
+
"int8"
|
|
10414
|
+
]);
|
|
10415
|
+
/**
|
|
10416
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10417
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10418
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10419
|
+
*/
|
|
10420
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10421
|
+
downloaded: boolean(),
|
|
10422
|
+
sizeMB: number(),
|
|
10423
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10424
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10507
10425
|
});
|
|
10508
10426
|
/**
|
|
10509
10427
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10607,6 +10525,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10607
10525
|
/** True when the weights or their data forbid commercial use. */
|
|
10608
10526
|
nonCommercial: boolean().optional()
|
|
10609
10527
|
}));
|
|
10528
|
+
/**
|
|
10529
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10530
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10531
|
+
*
|
|
10532
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10533
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10534
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10535
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10536
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10537
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10538
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10539
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10540
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10541
|
+
* postprocessor on read, never stored by an import.
|
|
10542
|
+
*/
|
|
10543
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10544
|
+
object({
|
|
10545
|
+
kind: literal("label"),
|
|
10546
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10547
|
+
labelToEffect: record(string(), string()),
|
|
10548
|
+
uncovered: array(string()).readonly()
|
|
10549
|
+
}),
|
|
10550
|
+
object({
|
|
10551
|
+
kind: literal("crop"),
|
|
10552
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10553
|
+
rootLabels: array(string()).readonly(),
|
|
10554
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10555
|
+
childClass: _enum(["plate", "face"]),
|
|
10556
|
+
/**
|
|
10557
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10558
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10559
|
+
* stored by an import.
|
|
10560
|
+
*/
|
|
10561
|
+
rootInputPx: number().int().positive().optional()
|
|
10562
|
+
}),
|
|
10563
|
+
object({
|
|
10564
|
+
kind: literal("mask"),
|
|
10565
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10566
|
+
})
|
|
10567
|
+
]);
|
|
10610
10568
|
var ModelCatalogEntrySchema = object({
|
|
10611
10569
|
id: string(),
|
|
10612
10570
|
name: string(),
|
|
@@ -10672,6 +10630,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10672
10630
|
*/
|
|
10673
10631
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10674
10632
|
/**
|
|
10633
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10634
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10635
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10636
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10637
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10638
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10639
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10640
|
+
*/
|
|
10641
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10642
|
+
/**
|
|
10643
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10644
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10645
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10646
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10647
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10648
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10649
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10650
|
+
*/
|
|
10651
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10652
|
+
/**
|
|
10653
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10654
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10655
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10656
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10657
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10658
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10659
|
+
*/
|
|
10660
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10661
|
+
/**
|
|
10675
10662
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10676
10663
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10677
10664
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10733,6 +10720,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10733
10720
|
*/
|
|
10734
10721
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10735
10722
|
/**
|
|
10723
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10724
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10725
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10726
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10727
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10728
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10729
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10730
|
+
*/
|
|
10731
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10732
|
+
/**
|
|
10736
10733
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10737
10734
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10738
10735
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12383,13 +12380,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12383
12380
|
lastRtpAt: number(),
|
|
12384
12381
|
bytesSent: number()
|
|
12385
12382
|
});
|
|
12386
|
-
var BrokerDecodedClientSchema = object({
|
|
12387
|
-
tag: string(),
|
|
12388
|
-
subscribedAt: number(),
|
|
12389
|
-
maxFps: number(),
|
|
12390
|
-
framesDelivered: number(),
|
|
12391
|
-
framesDropped: number()
|
|
12392
|
-
});
|
|
12393
12383
|
var BrokerAudioClientSchema = object({
|
|
12394
12384
|
tag: string(),
|
|
12395
12385
|
subscribedAt: number(),
|
|
@@ -12481,7 +12471,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12481
12471
|
});
|
|
12482
12472
|
var BrokerClientsSchema = object({
|
|
12483
12473
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12484
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12485
12474
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12486
12475
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12487
12476
|
pipeClients: number(),
|
|
@@ -12850,11 +12839,7 @@ method(object({
|
|
|
12850
12839
|
auth: "admin"
|
|
12851
12840
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12852
12841
|
brokerId: string(),
|
|
12853
|
-
channel: _enum([
|
|
12854
|
-
"rtsp",
|
|
12855
|
-
"decoded",
|
|
12856
|
-
"audio"
|
|
12857
|
-
]),
|
|
12842
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12858
12843
|
handle: string()
|
|
12859
12844
|
}), object({ killed: boolean() }), {
|
|
12860
12845
|
kind: "mutation",
|
|
@@ -12889,10 +12874,7 @@ method(object({
|
|
|
12889
12874
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12890
12875
|
subscriptionId: string(),
|
|
12891
12876
|
maxCount: number().int().positive().default(8)
|
|
12892
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12893
|
-
subscriptionId: string(),
|
|
12894
|
-
maxCount: number().int().positive().default(4)
|
|
12895
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12877
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12896
12878
|
brokerId: string(),
|
|
12897
12879
|
seconds: number().min(0).max(30)
|
|
12898
12880
|
}), _void(), {
|
|
@@ -14151,54 +14133,12 @@ id: union([string(), number()]) }), {
|
|
|
14151
14133
|
kind: "mutation",
|
|
14152
14134
|
auth: "admin"
|
|
14153
14135
|
});
|
|
14154
|
-
|
|
14155
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14156
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14157
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14158
|
-
*/
|
|
14159
|
-
var ShmRingStatsSchema = object({
|
|
14160
|
-
sessionId: string(),
|
|
14161
|
-
slotCount: number().int(),
|
|
14162
|
-
slotByteLength: number().int(),
|
|
14163
|
-
segmentBytes: number().int(),
|
|
14164
|
-
budgetMb: number().int(),
|
|
14165
|
-
framesWritten: number().int(),
|
|
14166
|
-
getFrameHits: number().int(),
|
|
14167
|
-
getFrameMisses: number().int()
|
|
14168
|
-
});
|
|
14169
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14136
|
+
method(_void(), object({
|
|
14170
14137
|
id: string(),
|
|
14171
14138
|
name: string(),
|
|
14172
|
-
isPullMode: boolean().optional(),
|
|
14173
|
-
priority: number().optional(),
|
|
14174
14139
|
hwaccel: string().optional(),
|
|
14175
14140
|
probedBestHwaccel: string().optional()
|
|
14176
|
-
})), method(
|
|
14177
|
-
sessionId: string(),
|
|
14178
|
-
nodeId: string()
|
|
14179
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14180
|
-
sessionId: string(),
|
|
14181
|
-
packet: EncodedPacketSchema
|
|
14182
|
-
}), _void()), method(object({
|
|
14183
|
-
sessionId: string(),
|
|
14184
|
-
url: string()
|
|
14185
|
-
}), _void()), method(object({
|
|
14186
|
-
sessionId: string(),
|
|
14187
|
-
maxCount: number().default(1),
|
|
14188
|
-
waitMs: number().optional()
|
|
14189
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14190
|
-
sessionId: string(),
|
|
14191
|
-
maxCount: number().default(1),
|
|
14192
|
-
waitMs: number().optional()
|
|
14193
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14194
|
-
sessionId: string(),
|
|
14195
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14196
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14197
|
-
sessionId: string(),
|
|
14198
|
-
codec: string(),
|
|
14199
|
-
outputFormat: string(),
|
|
14200
|
-
createdAtMs: number()
|
|
14201
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14141
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14202
14142
|
kind: "mutation",
|
|
14203
14143
|
auth: "admin"
|
|
14204
14144
|
});
|
|
@@ -16360,6 +16300,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16360
16300
|
kind: "mutation",
|
|
16361
16301
|
auth: "admin"
|
|
16362
16302
|
});
|
|
16303
|
+
var HUB_ADDRESS_ROLES = [
|
|
16304
|
+
"appConnections",
|
|
16305
|
+
"notificationTaps",
|
|
16306
|
+
"internal",
|
|
16307
|
+
"publicEndpoint"
|
|
16308
|
+
];
|
|
16363
16309
|
/**
|
|
16364
16310
|
* Transport bounds for AI capability methods.
|
|
16365
16311
|
*
|
|
@@ -18962,6 +18908,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18962
18908
|
"stream-offline",
|
|
18963
18909
|
"node-online",
|
|
18964
18910
|
"node-offline",
|
|
18911
|
+
"node-restarting",
|
|
18912
|
+
"node-updating",
|
|
18965
18913
|
"node-inference-unavailable",
|
|
18966
18914
|
"detection-blind",
|
|
18967
18915
|
"addon-crash-loop",
|
|
@@ -20567,7 +20515,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20567
20515
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20568
20516
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20569
20517
|
*/
|
|
20570
|
-
notifySensorRewatched: boolean().optional()
|
|
20518
|
+
notifySensorRewatched: boolean().optional(),
|
|
20519
|
+
/**
|
|
20520
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20521
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20522
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20523
|
+
*/
|
|
20524
|
+
notifySensorIgnored: boolean().optional()
|
|
20571
20525
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20572
20526
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20573
20527
|
mode: AlarmArmModeSchema,
|
|
@@ -20580,7 +20534,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20580
20534
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20581
20535
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20582
20536
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20583
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20537
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20538
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20539
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20584
20540
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20585
20541
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20586
20542
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21558,8 +21514,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21558
21514
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21559
21515
|
stepId: "face-embedding",
|
|
21560
21516
|
key: "minLandmarkFaceSize",
|
|
21561
|
-
label: "Min face size
|
|
21562
|
-
description: "
|
|
21517
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21518
|
+
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.",
|
|
21563
21519
|
type: "slider",
|
|
21564
21520
|
min: 0,
|
|
21565
21521
|
max: 64,
|
|
@@ -23479,6 +23435,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23479
23435
|
timestamp: number()
|
|
23480
23436
|
});
|
|
23481
23437
|
/**
|
|
23438
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23439
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23440
|
+
*/
|
|
23441
|
+
var SuppliedRootOutputSchema = object({
|
|
23442
|
+
stepId: string(),
|
|
23443
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23444
|
+
modelId: string(),
|
|
23445
|
+
detections: array(object({
|
|
23446
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23447
|
+
bbox: tuple([
|
|
23448
|
+
number(),
|
|
23449
|
+
number(),
|
|
23450
|
+
number(),
|
|
23451
|
+
number()
|
|
23452
|
+
]),
|
|
23453
|
+
score: number(),
|
|
23454
|
+
/**
|
|
23455
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23456
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23457
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23458
|
+
*/
|
|
23459
|
+
landmarks: array(object({
|
|
23460
|
+
x: number(),
|
|
23461
|
+
y: number()
|
|
23462
|
+
})).optional()
|
|
23463
|
+
})).min(1)
|
|
23464
|
+
});
|
|
23465
|
+
/**
|
|
23482
23466
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23483
23467
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23484
23468
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23526,7 +23510,7 @@ var FrameRefSchema = object({
|
|
|
23526
23510
|
timestamp: number(),
|
|
23527
23511
|
capturedAt: number().optional()
|
|
23528
23512
|
});
|
|
23529
|
-
var ModelFormatSchema$
|
|
23513
|
+
var ModelFormatSchema$2 = _enum([
|
|
23530
23514
|
"onnx",
|
|
23531
23515
|
"coreml",
|
|
23532
23516
|
"openvino",
|
|
@@ -23544,7 +23528,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23544
23528
|
var PipelineEngineChoiceSchema = object({
|
|
23545
23529
|
runtime: literal("python"),
|
|
23546
23530
|
backend: string(),
|
|
23547
|
-
format: ModelFormatSchema$
|
|
23531
|
+
format: ModelFormatSchema$2,
|
|
23548
23532
|
device: string().optional()
|
|
23549
23533
|
});
|
|
23550
23534
|
/**
|
|
@@ -23583,32 +23567,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23583
23567
|
group: string().optional(),
|
|
23584
23568
|
settings: record(string(), unknown()).optional()
|
|
23585
23569
|
}));
|
|
23586
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23587
|
-
addonId: string(),
|
|
23588
|
-
enabled: boolean(),
|
|
23589
|
-
modelId: string(),
|
|
23590
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23591
|
-
settings: record(string(), unknown()).optional()
|
|
23592
|
-
}));
|
|
23593
|
-
var PipelineTemplateSchema$1 = object({
|
|
23594
|
-
id: string(),
|
|
23595
|
-
name: string(),
|
|
23596
|
-
createdAt: string(),
|
|
23597
|
-
updatedAt: string(),
|
|
23598
|
-
engine: PipelineEngineChoiceSchema,
|
|
23599
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23600
|
-
});
|
|
23601
23570
|
var PipelineModelOptionSchema = object({
|
|
23602
23571
|
id: string(),
|
|
23603
23572
|
name: string(),
|
|
23604
|
-
formats: record(string(),
|
|
23605
|
-
downloaded: boolean(),
|
|
23606
|
-
sizeMB: number()
|
|
23607
|
-
})),
|
|
23573
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23608
23574
|
group: ModelVariantGroupSchema.optional(),
|
|
23609
23575
|
legacy: boolean().optional(),
|
|
23610
23576
|
provider: ModelProviderIdSchema.optional(),
|
|
23611
|
-
defaultConfidence: number().optional()
|
|
23577
|
+
defaultConfidence: number().optional(),
|
|
23578
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23612
23579
|
});
|
|
23613
23580
|
var ConfigFieldBridge = custom();
|
|
23614
23581
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23770,6 +23737,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23770
23737
|
}), {
|
|
23771
23738
|
kind: "mutation",
|
|
23772
23739
|
auth: "admin"
|
|
23740
|
+
}), method(object({
|
|
23741
|
+
nodeId: string(),
|
|
23742
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23743
|
+
dryRun: boolean()
|
|
23744
|
+
}), object({
|
|
23745
|
+
entries: array(object({
|
|
23746
|
+
deviceId: number(),
|
|
23747
|
+
keys: array(string()).readonly()
|
|
23748
|
+
})).readonly(),
|
|
23749
|
+
refused: array(object({
|
|
23750
|
+
deviceId: number(),
|
|
23751
|
+
reason: string()
|
|
23752
|
+
})).readonly()
|
|
23753
|
+
}), {
|
|
23754
|
+
kind: "mutation",
|
|
23755
|
+
auth: "admin"
|
|
23773
23756
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23774
23757
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23775
23758
|
deviceKey: string(),
|
|
@@ -23795,22 +23778,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23795
23778
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23796
23779
|
steps: array(PipelineStepInputSchema),
|
|
23797
23780
|
deviceKey: string().optional()
|
|
23798
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23799
|
-
name: string(),
|
|
23800
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23801
|
-
engine: PipelineEngineChoiceSchema
|
|
23802
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23803
|
-
id: string(),
|
|
23804
|
-
name: string().optional(),
|
|
23805
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23806
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23781
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23807
23782
|
addonId: string(),
|
|
23808
23783
|
modelId: string(),
|
|
23809
|
-
format: ModelFormatSchema$
|
|
23784
|
+
format: ModelFormatSchema$2
|
|
23810
23785
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23811
23786
|
addonId: string(),
|
|
23812
23787
|
modelId: string(),
|
|
23813
|
-
format: ModelFormatSchema$
|
|
23788
|
+
format: ModelFormatSchema$2
|
|
23814
23789
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23815
23790
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23816
23791
|
frame: FrameInputSchema.optional(),
|
|
@@ -23876,7 +23851,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23876
23851
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23877
23852
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23878
23853
|
*/
|
|
23879
|
-
replay: literal(true).optional()
|
|
23854
|
+
replay: literal(true).optional(),
|
|
23855
|
+
/**
|
|
23856
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23857
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23858
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23859
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23860
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23861
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23862
|
+
*/
|
|
23863
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23880
23864
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23881
23865
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23882
23866
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23958,6 +23942,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23958
23942
|
filename: string().optional(),
|
|
23959
23943
|
settings: record(string(), unknown()).optional()
|
|
23960
23944
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23945
|
+
/**
|
|
23946
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23947
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23948
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23949
|
+
* schemas are what crosses the cap boundary.
|
|
23950
|
+
*/
|
|
23951
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23952
|
+
/** The operator's range for it. */
|
|
23953
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23954
|
+
min: 1,
|
|
23955
|
+
max: 8
|
|
23956
|
+
};
|
|
23957
|
+
var HardwareClassIdSchema = _enum([
|
|
23958
|
+
"intel-core-ultra",
|
|
23959
|
+
"intel-n-series",
|
|
23960
|
+
"apple-m-base",
|
|
23961
|
+
"apple-m-pro",
|
|
23962
|
+
"unknown"
|
|
23963
|
+
]);
|
|
23964
|
+
var AcceleratorKindSchema = _enum([
|
|
23965
|
+
"intel-npu",
|
|
23966
|
+
"intel-igpu",
|
|
23967
|
+
"x86-cpu",
|
|
23968
|
+
"arm-cpu",
|
|
23969
|
+
"apple-ane",
|
|
23970
|
+
"coral"
|
|
23971
|
+
]);
|
|
23972
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23973
|
+
object({
|
|
23974
|
+
kind: literal("capacity"),
|
|
23975
|
+
sessions: number(),
|
|
23976
|
+
minSessions: number()
|
|
23977
|
+
}),
|
|
23978
|
+
object({
|
|
23979
|
+
kind: literal("tie-faster"),
|
|
23980
|
+
over: string(),
|
|
23981
|
+
recallDelta: number()
|
|
23982
|
+
}),
|
|
23983
|
+
object({
|
|
23984
|
+
kind: literal("stepped-down"),
|
|
23985
|
+
from: string(),
|
|
23986
|
+
to: string(),
|
|
23987
|
+
limitedBy: string()
|
|
23988
|
+
}),
|
|
23989
|
+
object({
|
|
23990
|
+
kind: literal("no-fit-lightest"),
|
|
23991
|
+
sessions: number(),
|
|
23992
|
+
minSessions: number()
|
|
23993
|
+
}),
|
|
23994
|
+
object({
|
|
23995
|
+
kind: literal("derived-latency"),
|
|
23996
|
+
modelId: string()
|
|
23997
|
+
}),
|
|
23998
|
+
object({ kind: literal("cpu-device") }),
|
|
23999
|
+
object({ kind: literal("coral-untouched") }),
|
|
24000
|
+
object({ kind: literal("device-disabled") }),
|
|
24001
|
+
object({ kind: literal("device-unavailable") }),
|
|
24002
|
+
object({ kind: literal("node-offline") }),
|
|
24003
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24004
|
+
object({
|
|
24005
|
+
kind: literal("no-measured-data"),
|
|
24006
|
+
hardwareClass: HardwareClassIdSchema
|
|
24007
|
+
}),
|
|
24008
|
+
object({
|
|
24009
|
+
kind: literal("no-family-build"),
|
|
24010
|
+
format: ModelFormatSchema$1
|
|
24011
|
+
})
|
|
24012
|
+
]);
|
|
24013
|
+
var DeviceModelChoiceSchema = object({
|
|
24014
|
+
modelId: string(),
|
|
24015
|
+
p50Ms: number(),
|
|
24016
|
+
fps: number(),
|
|
24017
|
+
measured: boolean(),
|
|
24018
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24019
|
+
capacitySessions: number(),
|
|
24020
|
+
personRecall: number()
|
|
24021
|
+
});
|
|
24022
|
+
var DeviceRecommendationSchema = object({
|
|
24023
|
+
deviceKey: string(),
|
|
24024
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24025
|
+
enabled: boolean(),
|
|
24026
|
+
available: boolean(),
|
|
24027
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24028
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24029
|
+
});
|
|
24030
|
+
var NodeRecommendationSchema = object({
|
|
24031
|
+
nodeId: string(),
|
|
24032
|
+
reachable: boolean(),
|
|
24033
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24034
|
+
cpuModel: string().nullable(),
|
|
24035
|
+
skipped: boolean(),
|
|
24036
|
+
acceleratorModelId: string().nullable(),
|
|
24037
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24038
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24039
|
+
});
|
|
24040
|
+
var ModelPinChangeSchema = object({
|
|
24041
|
+
stepId: string(),
|
|
24042
|
+
before: string().nullable(),
|
|
24043
|
+
after: string().nullable()
|
|
24044
|
+
});
|
|
24045
|
+
var NodeDeviceChangeSchema = object({
|
|
24046
|
+
nodeId: string(),
|
|
24047
|
+
deviceKey: string(),
|
|
24048
|
+
madeExplicit: boolean(),
|
|
24049
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24050
|
+
thresholds: array(object({
|
|
24051
|
+
stepId: string(),
|
|
24052
|
+
keys: array(string()).readonly()
|
|
24053
|
+
})).readonly()
|
|
24054
|
+
});
|
|
24055
|
+
var CameraOverrideClearSchema = object({
|
|
24056
|
+
deviceId: number(),
|
|
24057
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24058
|
+
nodeId: string(),
|
|
24059
|
+
deviceKey: string().nullable(),
|
|
24060
|
+
stepId: string(),
|
|
24061
|
+
modelIdBefore: string().nullable(),
|
|
24062
|
+
keys: array(string()).readonly()
|
|
24063
|
+
});
|
|
24064
|
+
var DetectorStoreClearSchema = object({
|
|
24065
|
+
deviceId: number(),
|
|
24066
|
+
keys: array(string()).readonly()
|
|
24067
|
+
});
|
|
24068
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24069
|
+
object({
|
|
24070
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24071
|
+
skippedNodes: array(string()).readonly()
|
|
24072
|
+
}),
|
|
24073
|
+
object({
|
|
24074
|
+
kind: literal("detector-store-unreadable"),
|
|
24075
|
+
error: string()
|
|
24076
|
+
}),
|
|
24077
|
+
object({
|
|
24078
|
+
kind: literal("coral-enabled"),
|
|
24079
|
+
nodeId: string(),
|
|
24080
|
+
deviceKey: string()
|
|
24081
|
+
})
|
|
24082
|
+
]);
|
|
24083
|
+
var AutoTuneOptionsSchema = object({
|
|
24084
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24085
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24086
|
+
/**
|
|
24087
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24088
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24089
|
+
* that reaches it wins.
|
|
24090
|
+
*/
|
|
24091
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24092
|
+
});
|
|
24093
|
+
var AutoTunePlanSchema = object({
|
|
24094
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24095
|
+
planHash: string(),
|
|
24096
|
+
family: literal("yolov9"),
|
|
24097
|
+
headroom: number(),
|
|
24098
|
+
minSessionsPerDevice: number(),
|
|
24099
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24100
|
+
cameraFps: number(),
|
|
24101
|
+
generatedAt: number(),
|
|
24102
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24103
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24104
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24105
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24106
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24107
|
+
});
|
|
24108
|
+
var AutoTuneApplyInputSchema = object({
|
|
24109
|
+
planHash: string(),
|
|
24110
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24111
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24112
|
+
});
|
|
24113
|
+
var AutoTunePhaseResultSchema = object({
|
|
24114
|
+
phase: _enum([
|
|
24115
|
+
"download",
|
|
24116
|
+
"camera-overrides",
|
|
24117
|
+
"detector-thresholds",
|
|
24118
|
+
"node-models",
|
|
24119
|
+
"redispatch"
|
|
24120
|
+
]),
|
|
24121
|
+
ok: boolean(),
|
|
24122
|
+
detail: string()
|
|
24123
|
+
});
|
|
24124
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24125
|
+
object({
|
|
24126
|
+
kind: literal("applied"),
|
|
24127
|
+
planHash: string(),
|
|
24128
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24129
|
+
}),
|
|
24130
|
+
object({
|
|
24131
|
+
kind: literal("aborted"),
|
|
24132
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24133
|
+
}),
|
|
24134
|
+
object({
|
|
24135
|
+
kind: literal("stale"),
|
|
24136
|
+
plan: AutoTunePlanSchema
|
|
24137
|
+
}),
|
|
24138
|
+
object({
|
|
24139
|
+
kind: literal("refused"),
|
|
24140
|
+
reason: _enum(["apply-in-progress"])
|
|
24141
|
+
})
|
|
24142
|
+
]);
|
|
24143
|
+
/**
|
|
24144
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24145
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24146
|
+
* hardware share suggestion and the stale device pins.
|
|
24147
|
+
*/
|
|
24148
|
+
/**
|
|
24149
|
+
* How a new detection session picks its node and device.
|
|
24150
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24151
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24152
|
+
* weight only bites once a node already holds a session.
|
|
24153
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24154
|
+
* full or drowning node yields to a free one (D748).
|
|
24155
|
+
*/
|
|
24156
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24157
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24158
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24159
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24160
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24161
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24162
|
+
});
|
|
24163
|
+
var PlacementStatsInputSchema = object({
|
|
24164
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24165
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24166
|
+
var PlacementDeviceStatsSchema = object({
|
|
24167
|
+
deviceKey: string(),
|
|
24168
|
+
/** Sessions running on this device now. */
|
|
24169
|
+
sessionsNow: number(),
|
|
24170
|
+
/** Sessions started on this device inside the window. */
|
|
24171
|
+
sessionsStarted: number(),
|
|
24172
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24173
|
+
observedShare: number().nullable()
|
|
24174
|
+
});
|
|
24175
|
+
var PlacementNodeStatsSchema = object({
|
|
24176
|
+
nodeId: string(),
|
|
24177
|
+
sessionsNow: number(),
|
|
24178
|
+
sessionsStarted: number(),
|
|
24179
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24180
|
+
observedShare: number().nullable(),
|
|
24181
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24182
|
+
peakSessions: number(),
|
|
24183
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24184
|
+
yieldsAway: number(),
|
|
24185
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24186
|
+
});
|
|
24187
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24188
|
+
var StaleDevicePinSchema = object({
|
|
24189
|
+
deviceId: number(),
|
|
24190
|
+
deviceKey: string(),
|
|
24191
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24192
|
+
reason: _enum(["disabled", "absent"])
|
|
24193
|
+
});
|
|
24194
|
+
var PlacementStatsSchema = object({
|
|
24195
|
+
policy: SessionPlacementPolicySchema,
|
|
24196
|
+
windowMs: number(),
|
|
24197
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24198
|
+
observedForMs: number(),
|
|
24199
|
+
sessionsNow: number(),
|
|
24200
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24201
|
+
clusterPeakSessions: number(),
|
|
24202
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24203
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24204
|
+
});
|
|
24205
|
+
/**
|
|
24206
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24207
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24208
|
+
* the measured latency table for the node's hardware class.
|
|
24209
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24210
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24211
|
+
*/
|
|
24212
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24213
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24214
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24215
|
+
var SuggestSharesInputSchema = object({
|
|
24216
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24217
|
+
/** Default `hardware`. */
|
|
24218
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24219
|
+
});
|
|
24220
|
+
var SuggestedDeviceShareSchema = object({
|
|
24221
|
+
deviceKey: string(),
|
|
24222
|
+
/** Share of the node (0–100, rounded). */
|
|
24223
|
+
share: number(),
|
|
24224
|
+
modelId: string().nullable(),
|
|
24225
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24226
|
+
fps: number().nullable(),
|
|
24227
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24228
|
+
measured: boolean(),
|
|
24229
|
+
/**
|
|
24230
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24231
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24232
|
+
*/
|
|
24233
|
+
suggestedMaxSessions: number().nullable()
|
|
24234
|
+
});
|
|
24235
|
+
var SuggestedNodeShareSchema = object({
|
|
24236
|
+
nodeId: string(),
|
|
24237
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24238
|
+
share: number().nullable(),
|
|
24239
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24240
|
+
capacitySessions: number(),
|
|
24241
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24242
|
+
skippedReason: string().nullable(),
|
|
24243
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24244
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24245
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24246
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24247
|
+
});
|
|
24248
|
+
var SuggestSharesResultSchema = object({
|
|
24249
|
+
headroom: number(),
|
|
24250
|
+
/** The source asked for; each node says what it actually used. */
|
|
24251
|
+
source: CapacitySourceSchema,
|
|
24252
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24253
|
+
cameraFps: number(),
|
|
24254
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24255
|
+
minSessionsPerDevice: number(),
|
|
24256
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24257
|
+
});
|
|
24258
|
+
/**
|
|
24259
|
+
* Where the node and device shares come from (D750, D755).
|
|
24260
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24261
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24262
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24263
|
+
* switched on or off, or changes model. No load input.
|
|
24264
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24265
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24266
|
+
* - `manual` — the operator's stored sliders.
|
|
24267
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24268
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24269
|
+
*/
|
|
24270
|
+
var ShareSourceSchema = _enum([
|
|
24271
|
+
"hardware",
|
|
24272
|
+
"benchmark",
|
|
24273
|
+
"manual"
|
|
24274
|
+
]);
|
|
24275
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24276
|
+
object({
|
|
24277
|
+
nodes: record(string(), number()),
|
|
24278
|
+
devices: record(string(), record(string(), number()))
|
|
24279
|
+
});
|
|
24280
|
+
var EffectiveDeviceShareSchema = object({
|
|
24281
|
+
deviceKey: string(),
|
|
24282
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24283
|
+
eligible: boolean(),
|
|
24284
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24285
|
+
configuredPct: number(),
|
|
24286
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24287
|
+
effectivePct: number()
|
|
24288
|
+
});
|
|
24289
|
+
var EffectiveNodeShareSchema = object({
|
|
24290
|
+
nodeId: string(),
|
|
24291
|
+
eligible: boolean(),
|
|
24292
|
+
configuredPct: number(),
|
|
24293
|
+
effectivePct: number(),
|
|
24294
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24295
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24296
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24297
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24298
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24299
|
+
});
|
|
24300
|
+
var EffectiveSharesSchema = object({
|
|
24301
|
+
source: ShareSourceSchema,
|
|
24302
|
+
policy: SessionPlacementPolicySchema,
|
|
24303
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24304
|
+
autoPending: boolean(),
|
|
24305
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24306
|
+
computedAt: number().nullable(),
|
|
24307
|
+
/** What made the system recompute them last. */
|
|
24308
|
+
trigger: string().nullable(),
|
|
24309
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24310
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24311
|
+
nodeWeights: record(string(), number()),
|
|
24312
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24313
|
+
});
|
|
23961
24314
|
object({
|
|
23962
24315
|
activeCameras: number(),
|
|
23963
24316
|
throttledCameras: number(),
|
|
@@ -24875,14 +25228,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24875
25228
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24876
25229
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24877
25230
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24878
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24879
|
-
* per
|
|
25231
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25232
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25233
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25234
|
+
* (D762).
|
|
24880
25235
|
*/
|
|
24881
25236
|
devices: array(object({
|
|
24882
25237
|
deviceKey: string(),
|
|
24883
25238
|
backend: string(),
|
|
24884
|
-
attachedCameras: number()
|
|
24885
|
-
queueDepthTotal: number()
|
|
25239
|
+
attachedCameras: number()
|
|
24886
25240
|
})).default([]),
|
|
24887
25241
|
/** Hardware capability flags reported by this node. */
|
|
24888
25242
|
hardware: object({
|
|
@@ -25018,7 +25372,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
25018
25372
|
*/
|
|
25019
25373
|
cropJpeg: string().optional(),
|
|
25020
25374
|
parent: DetailParentSchema,
|
|
25021
|
-
steps: array(string()).optional()
|
|
25375
|
+
steps: array(string()).optional(),
|
|
25376
|
+
/**
|
|
25377
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25378
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25379
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25380
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25381
|
+
* requested step infers as before.
|
|
25382
|
+
*/
|
|
25383
|
+
supplied: object({
|
|
25384
|
+
stepId: string(),
|
|
25385
|
+
modelId: string(),
|
|
25386
|
+
boxes: array(object({
|
|
25387
|
+
bbox: NativeCropBboxSchema,
|
|
25388
|
+
score: number()
|
|
25389
|
+
})).min(1)
|
|
25390
|
+
}).optional()
|
|
25022
25391
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
25023
25392
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
25024
25393
|
stepId: string(),
|
|
@@ -25081,14 +25450,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25081
25450
|
settings: record(string(), unknown()).readonly().optional()
|
|
25082
25451
|
}).nullable().optional()
|
|
25083
25452
|
});
|
|
25084
|
-
var PipelineTemplateSchema = object({
|
|
25085
|
-
id: string(),
|
|
25086
|
-
name: string(),
|
|
25087
|
-
description: string().optional(),
|
|
25088
|
-
config: CameraPipelineConfigSchema,
|
|
25089
|
-
createdAt: string(),
|
|
25090
|
-
updatedAt: string()
|
|
25091
|
-
});
|
|
25092
25453
|
var DeviceStepConfigSchema = object({
|
|
25093
25454
|
modelId: string().optional(),
|
|
25094
25455
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25162,9 +25523,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25162
25523
|
modelId: string().optional(),
|
|
25163
25524
|
settings: record(string(), unknown()).readonly().optional()
|
|
25164
25525
|
});
|
|
25526
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25165
25527
|
var CameraPipelineSettingsSchema = object({
|
|
25166
|
-
pinnedAgentNodeId: string().optional(),
|
|
25167
25528
|
stepToggles: record(string(), boolean()).optional(),
|
|
25529
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25168
25530
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25169
25531
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25170
25532
|
});
|
|
@@ -25197,7 +25559,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25197
25559
|
});
|
|
25198
25560
|
/**
|
|
25199
25561
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25200
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25562
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25563
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25564
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25565
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25201
25566
|
*/
|
|
25202
25567
|
var AgentLoadSummarySchema = object({
|
|
25203
25568
|
nodeId: string(),
|
|
@@ -25286,26 +25651,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25286
25651
|
width: number(),
|
|
25287
25652
|
height: number(),
|
|
25288
25653
|
subscribers: number(),
|
|
25289
|
-
|
|
25290
|
-
|
|
25654
|
+
/**
|
|
25655
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25656
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25657
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25658
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25659
|
+
* camera and is not served (D758).
|
|
25660
|
+
*/
|
|
25661
|
+
inFps: number().nullable()
|
|
25291
25662
|
})).readonly(),
|
|
25292
25663
|
webrtcSessions: number(),
|
|
25293
25664
|
rtspRestream: boolean()
|
|
25294
25665
|
});
|
|
25295
|
-
/**
|
|
25296
|
-
|
|
25297
|
-
|
|
25298
|
-
|
|
25299
|
-
|
|
25300
|
-
|
|
25301
|
-
|
|
25302
|
-
|
|
25303
|
-
var CameraDecoderStatusSchema = object({
|
|
25304
|
-
nodeId: string(),
|
|
25305
|
-
formats: array(string()).readonly(),
|
|
25306
|
-
sessionCount: number(),
|
|
25307
|
-
shm: CameraDecoderShmSchema
|
|
25308
|
-
});
|
|
25666
|
+
/**
|
|
25667
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25668
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25669
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25670
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25671
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25672
|
+
* detector), never from a counter nothing feeds.
|
|
25673
|
+
*/
|
|
25674
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25309
25675
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25310
25676
|
var CameraMotionStatusSchema = object({
|
|
25311
25677
|
enabled: boolean(),
|
|
@@ -25662,12 +26028,6 @@ method(object({
|
|
|
25662
26028
|
}), object({ success: literal(true) }), {
|
|
25663
26029
|
kind: "mutation",
|
|
25664
26030
|
auth: "admin"
|
|
25665
|
-
}), method(object({
|
|
25666
|
-
agentNodeId: string(),
|
|
25667
|
-
detectWeight: number().positive().nullable()
|
|
25668
|
-
}), object({ success: literal(true) }), {
|
|
25669
|
-
kind: "mutation",
|
|
25670
|
-
auth: "admin"
|
|
25671
26031
|
}), method(object({
|
|
25672
26032
|
agentNodeId: string(),
|
|
25673
26033
|
detect: boolean().nullable().optional(),
|
|
@@ -25709,6 +26069,15 @@ method(object({
|
|
|
25709
26069
|
}), {
|
|
25710
26070
|
kind: "mutation",
|
|
25711
26071
|
auth: "admin"
|
|
26072
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26073
|
+
kind: "mutation",
|
|
26074
|
+
auth: "admin"
|
|
26075
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26076
|
+
kind: "mutation",
|
|
26077
|
+
auth: "admin"
|
|
26078
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26079
|
+
kind: "mutation",
|
|
26080
|
+
auth: "admin"
|
|
25712
26081
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25713
26082
|
deviceId: number(),
|
|
25714
26083
|
addonId: string(),
|
|
@@ -25725,6 +26094,13 @@ method(object({
|
|
|
25725
26094
|
}), object({ success: literal(true) }), {
|
|
25726
26095
|
kind: "mutation",
|
|
25727
26096
|
auth: "admin"
|
|
26097
|
+
}), method(object({
|
|
26098
|
+
deviceId: number(),
|
|
26099
|
+
addonId: string(),
|
|
26100
|
+
settings: record(string(), unknown()).nullable()
|
|
26101
|
+
}), object({ success: literal(true) }), {
|
|
26102
|
+
kind: "mutation",
|
|
26103
|
+
auth: "admin"
|
|
25728
26104
|
}), method(object({
|
|
25729
26105
|
deviceId: number(),
|
|
25730
26106
|
agentNodeId: string(),
|
|
@@ -25748,25 +26124,7 @@ method(object({
|
|
|
25748
26124
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25749
26125
|
kind: "mutation",
|
|
25750
26126
|
auth: "admin"
|
|
25751
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25752
|
-
name: string(),
|
|
25753
|
-
description: string().optional(),
|
|
25754
|
-
config: CameraPipelineConfigSchema
|
|
25755
|
-
}), PipelineTemplateSchema, {
|
|
25756
|
-
kind: "mutation",
|
|
25757
|
-
auth: "admin"
|
|
25758
|
-
}), method(object({
|
|
25759
|
-
id: string(),
|
|
25760
|
-
name: string().optional(),
|
|
25761
|
-
description: string().optional(),
|
|
25762
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25763
|
-
}), PipelineTemplateSchema, {
|
|
25764
|
-
kind: "mutation",
|
|
25765
|
-
auth: "admin"
|
|
25766
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25767
|
-
kind: "mutation",
|
|
25768
|
-
auth: "admin"
|
|
25769
|
-
});
|
|
26127
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25770
26128
|
/**
|
|
25771
26129
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25772
26130
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -28015,8 +28373,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28015
28373
|
]).nullable(),
|
|
28016
28374
|
/** Input FPS from the camera (null for adaptive). */
|
|
28017
28375
|
inputFps: number().nullable(),
|
|
28018
|
-
/** Decoded FPS (null for adaptive). */
|
|
28019
|
-
decodeFps: number().nullable(),
|
|
28020
28376
|
/** Bitrate in kbps (null for adaptive). */
|
|
28021
28377
|
bitrateKbps: number().nullable()
|
|
28022
28378
|
});
|
|
@@ -28348,6 +28704,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28348
28704
|
*/
|
|
28349
28705
|
alive: boolean()
|
|
28350
28706
|
})), method(object({
|
|
28707
|
+
deviceId: number().int().nonnegative(),
|
|
28708
|
+
sessionId: string(),
|
|
28709
|
+
downlinkMbps: number().nonnegative()
|
|
28710
|
+
}), object({
|
|
28711
|
+
outcome: _enum(["switching", "held"]),
|
|
28712
|
+
tier: CamProfileSchema.nullable(),
|
|
28713
|
+
reason: string()
|
|
28714
|
+
}), { kind: "mutation" }), method(object({
|
|
28351
28715
|
deviceId: number().int().nonnegative(),
|
|
28352
28716
|
sessionId: string()
|
|
28353
28717
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -32159,7 +32523,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32159
32523
|
"lan-ipv6",
|
|
32160
32524
|
"public",
|
|
32161
32525
|
"loopback",
|
|
32162
|
-
"app-link"
|
|
32526
|
+
"app-link",
|
|
32527
|
+
"custom"
|
|
32163
32528
|
]),
|
|
32164
32529
|
/**
|
|
32165
32530
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32228,7 +32593,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32228
32593
|
localPort: AdvertisedLocalPortSchema
|
|
32229
32594
|
});
|
|
32230
32595
|
/**
|
|
32231
|
-
* The address flagged for notification
|
|
32596
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
32232
32597
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32233
32598
|
* so the UI can show it either way.
|
|
32234
32599
|
*/
|
|
@@ -32261,6 +32626,72 @@ var ViewerEndpointsSchema = object({
|
|
|
32261
32626
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
32262
32627
|
resolved: array(string()).readonly()
|
|
32263
32628
|
});
|
|
32629
|
+
/**
|
|
32630
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
32631
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
32632
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
32633
|
+
*/
|
|
32634
|
+
var HubAddressSnapshotSchema = object({
|
|
32635
|
+
override: string().nullable(),
|
|
32636
|
+
resolved: string().nullable(),
|
|
32637
|
+
source: _enum([
|
|
32638
|
+
"override",
|
|
32639
|
+
"auto",
|
|
32640
|
+
"none"
|
|
32641
|
+
])
|
|
32642
|
+
});
|
|
32643
|
+
var HubAddressesSchema = object({
|
|
32644
|
+
cluster: HubAddressSnapshotSchema,
|
|
32645
|
+
browser: HubAddressSnapshotSchema
|
|
32646
|
+
});
|
|
32647
|
+
/**
|
|
32648
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
32649
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
32650
|
+
* by at most one address.
|
|
32651
|
+
*/
|
|
32652
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
32653
|
+
var RoleSourceSchema = _enum([
|
|
32654
|
+
"flagged",
|
|
32655
|
+
"auto",
|
|
32656
|
+
"none"
|
|
32657
|
+
]);
|
|
32658
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
32659
|
+
var HubAddressRoleResolutionSchema = object({
|
|
32660
|
+
/** The address carrying the flag, or null = automatic. */
|
|
32661
|
+
flagged: string().nullable(),
|
|
32662
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
32663
|
+
resolved: string().nullable(),
|
|
32664
|
+
source: RoleSourceSchema
|
|
32665
|
+
});
|
|
32666
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
32667
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
32668
|
+
flagged: array(string()).readonly(),
|
|
32669
|
+
/** What the apps race right now. */
|
|
32670
|
+
resolved: array(string()).readonly(),
|
|
32671
|
+
source: RoleSourceSchema
|
|
32672
|
+
});
|
|
32673
|
+
var HubAddressBookSchema = object({
|
|
32674
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
32675
|
+
/** In the hub's detected palette right now. */
|
|
32676
|
+
detected: boolean(),
|
|
32677
|
+
/** Entered by the operator (removable). */
|
|
32678
|
+
custom: boolean(),
|
|
32679
|
+
/** The roles explicitly flagged on this address. */
|
|
32680
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
32681
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
32682
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
32683
|
+
/** The roles this address may be flagged with. */
|
|
32684
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
32685
|
+
})).readonly(),
|
|
32686
|
+
roles: object({
|
|
32687
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
32688
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
32689
|
+
internal: HubAddressRoleResolutionSchema,
|
|
32690
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
32691
|
+
}),
|
|
32692
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
32693
|
+
appLinkHub: string().nullable()
|
|
32694
|
+
});
|
|
32264
32695
|
var AllowedAddressesSchema = object({
|
|
32265
32696
|
/**
|
|
32266
32697
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -32304,10 +32735,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32304
32735
|
* tunnel always emits `https://` regardless. */
|
|
32305
32736
|
scheme: _enum(["http", "https"]).optional(),
|
|
32306
32737
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32307
|
-
* an address notification
|
|
32738
|
+
* an address notification taps can be flagged with, not a hub
|
|
32308
32739
|
* route. Default `false`: racers and rankers never see it. */
|
|
32309
32740
|
includeAppLink: boolean().optional()
|
|
32310
|
-
}), 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(
|
|
32741
|
+
}), 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({
|
|
32742
|
+
baseUrl: string(),
|
|
32743
|
+
label: string().max(80)
|
|
32744
|
+
}), HubAddressBookSchema, {
|
|
32745
|
+
kind: "mutation",
|
|
32746
|
+
auth: "admin"
|
|
32747
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
32748
|
+
kind: "mutation",
|
|
32749
|
+
auth: "admin"
|
|
32750
|
+
}), method(object({
|
|
32751
|
+
role: HubAddressRoleSchema,
|
|
32752
|
+
baseUrl: string().nullable(),
|
|
32753
|
+
enabled: boolean(),
|
|
32754
|
+
acceptInsecureHttp: boolean().optional()
|
|
32755
|
+
}), HubAddressBookSchema, {
|
|
32756
|
+
kind: "mutation",
|
|
32757
|
+
auth: "admin"
|
|
32758
|
+
}), 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, {
|
|
32311
32759
|
kind: "mutation",
|
|
32312
32760
|
auth: "admin"
|
|
32313
32761
|
}), method(object({
|
|
@@ -32765,7 +33213,8 @@ var MotionStatusSchema = object({
|
|
|
32765
33213
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
32766
33214
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
32767
33215
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
32768
|
-
* A provider's `isDetected`
|
|
33216
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
33217
|
+
* (`hubMotionNativeProvider`).
|
|
32769
33218
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
32770
33219
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
32771
33220
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -39312,6 +39761,16 @@ var zoneRulesCapability = {
|
|
|
39312
39761
|
durability: "restored"
|
|
39313
39762
|
};
|
|
39314
39763
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
39764
|
+
Object.freeze({
|
|
39765
|
+
person: .5,
|
|
39766
|
+
vehicle: .5,
|
|
39767
|
+
animal: .5
|
|
39768
|
+
});
|
|
39769
|
+
Object.freeze({
|
|
39770
|
+
person: .65,
|
|
39771
|
+
vehicle: .65,
|
|
39772
|
+
animal: .65
|
|
39773
|
+
});
|
|
39315
39774
|
/**
|
|
39316
39775
|
* Accessory device helpers — shared across drivers.
|
|
39317
39776
|
*
|
|
@@ -42192,90 +42651,18 @@ Object.freeze({
|
|
|
42192
42651
|
addonId: null,
|
|
42193
42652
|
access: "create"
|
|
42194
42653
|
},
|
|
42195
|
-
"decoder.createSession": {
|
|
42196
|
-
capName: "decoder",
|
|
42197
|
-
capScope: "system",
|
|
42198
|
-
addonId: null,
|
|
42199
|
-
access: "view"
|
|
42200
|
-
},
|
|
42201
|
-
"decoder.destroySession": {
|
|
42202
|
-
capName: "decoder",
|
|
42203
|
-
capScope: "system",
|
|
42204
|
-
addonId: null,
|
|
42205
|
-
access: "delete"
|
|
42206
|
-
},
|
|
42207
|
-
"decoder.getFrame": {
|
|
42208
|
-
capName: "decoder",
|
|
42209
|
-
capScope: "system",
|
|
42210
|
-
addonId: null,
|
|
42211
|
-
access: "view"
|
|
42212
|
-
},
|
|
42213
42654
|
"decoder.getInfo": {
|
|
42214
42655
|
capName: "decoder",
|
|
42215
42656
|
capScope: "system",
|
|
42216
42657
|
addonId: null,
|
|
42217
42658
|
access: "view"
|
|
42218
42659
|
},
|
|
42219
|
-
"decoder.getShmStats": {
|
|
42220
|
-
capName: "decoder",
|
|
42221
|
-
capScope: "system",
|
|
42222
|
-
addonId: null,
|
|
42223
|
-
access: "view"
|
|
42224
|
-
},
|
|
42225
|
-
"decoder.getStats": {
|
|
42226
|
-
capName: "decoder",
|
|
42227
|
-
capScope: "system",
|
|
42228
|
-
addonId: null,
|
|
42229
|
-
access: "view"
|
|
42230
|
-
},
|
|
42231
|
-
"decoder.listActiveSessions": {
|
|
42232
|
-
capName: "decoder",
|
|
42233
|
-
capScope: "system",
|
|
42234
|
-
addonId: null,
|
|
42235
|
-
access: "view"
|
|
42236
|
-
},
|
|
42237
|
-
"decoder.openStream": {
|
|
42238
|
-
capName: "decoder",
|
|
42239
|
-
capScope: "system",
|
|
42240
|
-
addonId: null,
|
|
42241
|
-
access: "view"
|
|
42242
|
-
},
|
|
42243
|
-
"decoder.pullFrames": {
|
|
42244
|
-
capName: "decoder",
|
|
42245
|
-
capScope: "system",
|
|
42246
|
-
addonId: null,
|
|
42247
|
-
access: "view"
|
|
42248
|
-
},
|
|
42249
|
-
"decoder.pullHandles": {
|
|
42250
|
-
capName: "decoder",
|
|
42251
|
-
capScope: "system",
|
|
42252
|
-
addonId: null,
|
|
42253
|
-
access: "view"
|
|
42254
|
-
},
|
|
42255
|
-
"decoder.pushPacket": {
|
|
42256
|
-
capName: "decoder",
|
|
42257
|
-
capScope: "system",
|
|
42258
|
-
addonId: null,
|
|
42259
|
-
access: "view"
|
|
42260
|
-
},
|
|
42261
42660
|
"decoder.reprobeHwaccel": {
|
|
42262
42661
|
capName: "decoder",
|
|
42263
42662
|
capScope: "system",
|
|
42264
42663
|
addonId: null,
|
|
42265
42664
|
access: "create"
|
|
42266
42665
|
},
|
|
42267
|
-
"decoder.supportsCodec": {
|
|
42268
|
-
capName: "decoder",
|
|
42269
|
-
capScope: "system",
|
|
42270
|
-
addonId: null,
|
|
42271
|
-
access: "view"
|
|
42272
|
-
},
|
|
42273
|
-
"decoder.updateConfig": {
|
|
42274
|
-
capName: "decoder",
|
|
42275
|
-
capScope: "system",
|
|
42276
|
-
addonId: null,
|
|
42277
|
-
access: "view"
|
|
42278
|
-
},
|
|
42279
42666
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
42280
42667
|
capName: "detection-pipeline",
|
|
42281
42668
|
capScope: "device",
|
|
@@ -43764,12 +44151,24 @@ Object.freeze({
|
|
|
43764
44151
|
addonId: null,
|
|
43765
44152
|
access: "view"
|
|
43766
44153
|
},
|
|
44154
|
+
"localNetwork.addCustomAddress": {
|
|
44155
|
+
capName: "local-network",
|
|
44156
|
+
capScope: "system",
|
|
44157
|
+
addonId: null,
|
|
44158
|
+
access: "create"
|
|
44159
|
+
},
|
|
43767
44160
|
"localNetwork.downloadCa": {
|
|
43768
44161
|
capName: "local-network",
|
|
43769
44162
|
capScope: "system",
|
|
43770
44163
|
addonId: null,
|
|
43771
44164
|
access: "view"
|
|
43772
44165
|
},
|
|
44166
|
+
"localNetwork.getAddresses": {
|
|
44167
|
+
capName: "local-network",
|
|
44168
|
+
capScope: "system",
|
|
44169
|
+
addonId: null,
|
|
44170
|
+
access: "view"
|
|
44171
|
+
},
|
|
43773
44172
|
"localNetwork.getAllowedAddresses": {
|
|
43774
44173
|
capName: "local-network",
|
|
43775
44174
|
capScope: "system",
|
|
@@ -43782,6 +44181,12 @@ Object.freeze({
|
|
|
43782
44181
|
addonId: null,
|
|
43783
44182
|
access: "view"
|
|
43784
44183
|
},
|
|
44184
|
+
"localNetwork.getHubAddresses": {
|
|
44185
|
+
capName: "local-network",
|
|
44186
|
+
capScope: "system",
|
|
44187
|
+
addonId: null,
|
|
44188
|
+
access: "view"
|
|
44189
|
+
},
|
|
43785
44190
|
"localNetwork.getNotificationEndpoint": {
|
|
43786
44191
|
capName: "local-network",
|
|
43787
44192
|
capScope: "system",
|
|
@@ -43818,6 +44223,12 @@ Object.freeze({
|
|
|
43818
44223
|
addonId: null,
|
|
43819
44224
|
access: "create"
|
|
43820
44225
|
},
|
|
44226
|
+
"localNetwork.removeCustomAddress": {
|
|
44227
|
+
capName: "local-network",
|
|
44228
|
+
capScope: "system",
|
|
44229
|
+
addonId: null,
|
|
44230
|
+
access: "delete"
|
|
44231
|
+
},
|
|
43821
44232
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
43822
44233
|
capName: "local-network",
|
|
43823
44234
|
capScope: "system",
|
|
@@ -43830,6 +44241,12 @@ Object.freeze({
|
|
|
43830
44241
|
addonId: null,
|
|
43831
44242
|
access: "create"
|
|
43832
44243
|
},
|
|
44244
|
+
"localNetwork.setAddressRole": {
|
|
44245
|
+
capName: "local-network",
|
|
44246
|
+
capScope: "system",
|
|
44247
|
+
addonId: null,
|
|
44248
|
+
access: "create"
|
|
44249
|
+
},
|
|
43833
44250
|
"localNetwork.setAllowedAddresses": {
|
|
43834
44251
|
capName: "local-network",
|
|
43835
44252
|
capScope: "system",
|
|
@@ -45324,13 +45741,13 @@ Object.freeze({
|
|
|
45324
45741
|
addonId: null,
|
|
45325
45742
|
access: "delete"
|
|
45326
45743
|
},
|
|
45327
|
-
"pipelineExecutor.
|
|
45744
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
45328
45745
|
capName: "pipeline-executor",
|
|
45329
45746
|
capScope: "system",
|
|
45330
45747
|
addonId: null,
|
|
45331
45748
|
access: "delete"
|
|
45332
45749
|
},
|
|
45333
|
-
"pipelineExecutor.
|
|
45750
|
+
"pipelineExecutor.deleteModel": {
|
|
45334
45751
|
capName: "pipeline-executor",
|
|
45335
45752
|
capScope: "system",
|
|
45336
45753
|
addonId: null,
|
|
@@ -45474,12 +45891,6 @@ Object.freeze({
|
|
|
45474
45891
|
addonId: null,
|
|
45475
45892
|
access: "view"
|
|
45476
45893
|
},
|
|
45477
|
-
"pipelineExecutor.listTemplates": {
|
|
45478
|
-
capName: "pipeline-executor",
|
|
45479
|
-
capScope: "system",
|
|
45480
|
-
addonId: null,
|
|
45481
|
-
access: "view"
|
|
45482
|
-
},
|
|
45483
45894
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
45484
45895
|
capName: "pipeline-executor",
|
|
45485
45896
|
capScope: "system",
|
|
@@ -45504,12 +45915,6 @@ Object.freeze({
|
|
|
45504
45915
|
addonId: null,
|
|
45505
45916
|
access: "create"
|
|
45506
45917
|
},
|
|
45507
|
-
"pipelineExecutor.saveTemplate": {
|
|
45508
|
-
capName: "pipeline-executor",
|
|
45509
|
-
capScope: "system",
|
|
45510
|
-
addonId: null,
|
|
45511
|
-
access: "create"
|
|
45512
|
-
},
|
|
45513
45918
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
45514
45919
|
capName: "pipeline-executor",
|
|
45515
45920
|
capScope: "system",
|
|
@@ -45528,41 +45933,35 @@ Object.freeze({
|
|
|
45528
45933
|
addonId: null,
|
|
45529
45934
|
access: "create"
|
|
45530
45935
|
},
|
|
45531
|
-
"pipelineExecutor.updateTemplate": {
|
|
45532
|
-
capName: "pipeline-executor",
|
|
45533
|
-
capScope: "system",
|
|
45534
|
-
addonId: null,
|
|
45535
|
-
access: "create"
|
|
45536
|
-
},
|
|
45537
45936
|
"pipelineExecutor.validatePipeline": {
|
|
45538
45937
|
capName: "pipeline-executor",
|
|
45539
45938
|
capScope: "system",
|
|
45540
45939
|
addonId: null,
|
|
45541
45940
|
access: "view"
|
|
45542
45941
|
},
|
|
45543
|
-
"pipelineOrchestrator.
|
|
45942
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
45544
45943
|
capName: "pipeline-orchestrator",
|
|
45545
45944
|
capScope: "system",
|
|
45546
45945
|
addonId: null,
|
|
45547
45946
|
access: "create"
|
|
45548
45947
|
},
|
|
45549
|
-
"pipelineOrchestrator.
|
|
45948
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
45550
45949
|
capName: "pipeline-orchestrator",
|
|
45551
45950
|
capScope: "system",
|
|
45552
45951
|
addonId: null,
|
|
45553
45952
|
access: "create"
|
|
45554
45953
|
},
|
|
45555
|
-
"pipelineOrchestrator.
|
|
45954
|
+
"pipelineOrchestrator.assignAudio": {
|
|
45556
45955
|
capName: "pipeline-orchestrator",
|
|
45557
45956
|
capScope: "system",
|
|
45558
45957
|
addonId: null,
|
|
45559
45958
|
access: "create"
|
|
45560
45959
|
},
|
|
45561
|
-
"pipelineOrchestrator.
|
|
45960
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
45562
45961
|
capName: "pipeline-orchestrator",
|
|
45563
45962
|
capScope: "system",
|
|
45564
45963
|
addonId: null,
|
|
45565
|
-
access: "
|
|
45964
|
+
access: "create"
|
|
45566
45965
|
},
|
|
45567
45966
|
"pipelineOrchestrator.getAgentLoad": {
|
|
45568
45967
|
capName: "pipeline-orchestrator",
|
|
@@ -45654,6 +46053,12 @@ Object.freeze({
|
|
|
45654
46053
|
addonId: null,
|
|
45655
46054
|
access: "view"
|
|
45656
46055
|
},
|
|
46056
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
46057
|
+
capName: "pipeline-orchestrator",
|
|
46058
|
+
capScope: "system",
|
|
46059
|
+
addonId: null,
|
|
46060
|
+
access: "view"
|
|
46061
|
+
},
|
|
45657
46062
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
45658
46063
|
capName: "pipeline-orchestrator",
|
|
45659
46064
|
capScope: "system",
|
|
@@ -45690,19 +46095,19 @@ Object.freeze({
|
|
|
45690
46095
|
addonId: null,
|
|
45691
46096
|
access: "view"
|
|
45692
46097
|
},
|
|
45693
|
-
"pipelineOrchestrator.
|
|
46098
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
45694
46099
|
capName: "pipeline-orchestrator",
|
|
45695
46100
|
capScope: "system",
|
|
45696
46101
|
addonId: null,
|
|
45697
46102
|
access: "view"
|
|
45698
46103
|
},
|
|
45699
|
-
"pipelineOrchestrator.
|
|
46104
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
45700
46105
|
capName: "pipeline-orchestrator",
|
|
45701
46106
|
capScope: "system",
|
|
45702
46107
|
addonId: null,
|
|
45703
46108
|
access: "view"
|
|
45704
46109
|
},
|
|
45705
|
-
"pipelineOrchestrator.
|
|
46110
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
45706
46111
|
capName: "pipeline-orchestrator",
|
|
45707
46112
|
capScope: "system",
|
|
45708
46113
|
addonId: null,
|
|
@@ -45714,6 +46119,12 @@ Object.freeze({
|
|
|
45714
46119
|
addonId: null,
|
|
45715
46120
|
access: "create"
|
|
45716
46121
|
},
|
|
46122
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
46123
|
+
capName: "pipeline-orchestrator",
|
|
46124
|
+
capScope: "system",
|
|
46125
|
+
addonId: null,
|
|
46126
|
+
access: "view"
|
|
46127
|
+
},
|
|
45717
46128
|
"pipelineOrchestrator.rebalance": {
|
|
45718
46129
|
capName: "pipeline-orchestrator",
|
|
45719
46130
|
capScope: "system",
|
|
@@ -45756,12 +46167,6 @@ Object.freeze({
|
|
|
45756
46167
|
addonId: null,
|
|
45757
46168
|
access: "create"
|
|
45758
46169
|
},
|
|
45759
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
45760
|
-
capName: "pipeline-orchestrator",
|
|
45761
|
-
capScope: "system",
|
|
45762
|
-
addonId: null,
|
|
45763
|
-
access: "create"
|
|
45764
|
-
},
|
|
45765
46170
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
45766
46171
|
capName: "pipeline-orchestrator",
|
|
45767
46172
|
capScope: "system",
|
|
@@ -45774,12 +46179,6 @@ Object.freeze({
|
|
|
45774
46179
|
addonId: null,
|
|
45775
46180
|
access: "create"
|
|
45776
46181
|
},
|
|
45777
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
45778
|
-
capName: "pipeline-orchestrator",
|
|
45779
|
-
capScope: "system",
|
|
45780
|
-
addonId: null,
|
|
45781
|
-
access: "create"
|
|
45782
|
-
},
|
|
45783
46182
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
45784
46183
|
capName: "pipeline-orchestrator",
|
|
45785
46184
|
capScope: "system",
|
|
@@ -45816,6 +46215,12 @@ Object.freeze({
|
|
|
45816
46215
|
addonId: null,
|
|
45817
46216
|
access: "create"
|
|
45818
46217
|
},
|
|
46218
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
46219
|
+
capName: "pipeline-orchestrator",
|
|
46220
|
+
capScope: "system",
|
|
46221
|
+
addonId: null,
|
|
46222
|
+
access: "create"
|
|
46223
|
+
},
|
|
45819
46224
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
45820
46225
|
capName: "pipeline-orchestrator",
|
|
45821
46226
|
capScope: "system",
|
|
@@ -45834,25 +46239,37 @@ Object.freeze({
|
|
|
45834
46239
|
addonId: null,
|
|
45835
46240
|
access: "create"
|
|
45836
46241
|
},
|
|
46242
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
46243
|
+
capName: "pipeline-orchestrator",
|
|
46244
|
+
capScope: "system",
|
|
46245
|
+
addonId: null,
|
|
46246
|
+
access: "create"
|
|
46247
|
+
},
|
|
45837
46248
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
45838
46249
|
capName: "pipeline-orchestrator",
|
|
45839
46250
|
capScope: "system",
|
|
45840
46251
|
addonId: null,
|
|
45841
46252
|
access: "create"
|
|
45842
46253
|
},
|
|
45843
|
-
"pipelineOrchestrator.
|
|
46254
|
+
"pipelineOrchestrator.setShareSource": {
|
|
45844
46255
|
capName: "pipeline-orchestrator",
|
|
45845
46256
|
capScope: "system",
|
|
45846
46257
|
addonId: null,
|
|
45847
46258
|
access: "create"
|
|
45848
46259
|
},
|
|
45849
|
-
"pipelineOrchestrator.
|
|
46260
|
+
"pipelineOrchestrator.suggestShares": {
|
|
46261
|
+
capName: "pipeline-orchestrator",
|
|
46262
|
+
capScope: "system",
|
|
46263
|
+
addonId: null,
|
|
46264
|
+
access: "view"
|
|
46265
|
+
},
|
|
46266
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
45850
46267
|
capName: "pipeline-orchestrator",
|
|
45851
46268
|
capScope: "system",
|
|
45852
46269
|
addonId: null,
|
|
45853
46270
|
access: "create"
|
|
45854
46271
|
},
|
|
45855
|
-
"pipelineOrchestrator.
|
|
46272
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
45856
46273
|
capName: "pipeline-orchestrator",
|
|
45857
46274
|
capScope: "system",
|
|
45858
46275
|
addonId: null,
|
|
@@ -47292,12 +47709,6 @@ Object.freeze({
|
|
|
47292
47709
|
addonId: null,
|
|
47293
47710
|
access: "view"
|
|
47294
47711
|
},
|
|
47295
|
-
"streamBroker.pullFrameHandles": {
|
|
47296
|
-
capName: "stream-broker",
|
|
47297
|
-
capScope: "system",
|
|
47298
|
-
addonId: null,
|
|
47299
|
-
access: "view"
|
|
47300
|
-
},
|
|
47301
47712
|
"streamBroker.regenerateRtspToken": {
|
|
47302
47713
|
capName: "stream-broker",
|
|
47303
47714
|
capScope: "system",
|
|
@@ -47364,12 +47775,6 @@ Object.freeze({
|
|
|
47364
47775
|
addonId: null,
|
|
47365
47776
|
access: "create"
|
|
47366
47777
|
},
|
|
47367
|
-
"streamBroker.subscribeFrames": {
|
|
47368
|
-
capName: "stream-broker",
|
|
47369
|
-
capScope: "system",
|
|
47370
|
-
addonId: null,
|
|
47371
|
-
access: "create"
|
|
47372
|
-
},
|
|
47373
47778
|
"streamBroker.unassignProfile": {
|
|
47374
47779
|
capName: "stream-broker",
|
|
47375
47780
|
capScope: "system",
|
|
@@ -47382,12 +47787,6 @@ Object.freeze({
|
|
|
47382
47787
|
addonId: null,
|
|
47383
47788
|
access: "create"
|
|
47384
47789
|
},
|
|
47385
|
-
"streamBroker.unsubscribeFrames": {
|
|
47386
|
-
capName: "stream-broker",
|
|
47387
|
-
capScope: "system",
|
|
47388
|
-
addonId: null,
|
|
47389
|
-
access: "create"
|
|
47390
|
-
},
|
|
47391
47790
|
"streamCatalog.getCatalog": {
|
|
47392
47791
|
capName: "stream-catalog",
|
|
47393
47792
|
capScope: "device",
|
|
@@ -48084,6 +48483,12 @@ Object.freeze({
|
|
|
48084
48483
|
addonId: null,
|
|
48085
48484
|
access: "create"
|
|
48086
48485
|
},
|
|
48486
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
48487
|
+
capName: "webrtc-session",
|
|
48488
|
+
capScope: "device",
|
|
48489
|
+
addonId: null,
|
|
48490
|
+
access: "create"
|
|
48491
|
+
},
|
|
48087
48492
|
"webrtcSession.closeSession": {
|
|
48088
48493
|
capName: "webrtc-session",
|
|
48089
48494
|
capScope: "device",
|
|
@@ -49895,11 +50300,6 @@ Object.freeze({
|
|
|
49895
50300
|
form: "single",
|
|
49896
50301
|
optional: false
|
|
49897
50302
|
}],
|
|
49898
|
-
"decoder.createSession": [{
|
|
49899
|
-
name: "deviceId",
|
|
49900
|
-
form: "single",
|
|
49901
|
-
optional: true
|
|
49902
|
-
}],
|
|
49903
50303
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
49904
50304
|
name: "deviceId",
|
|
49905
50305
|
form: "single",
|
|
@@ -51130,6 +51530,11 @@ Object.freeze({
|
|
|
51130
51530
|
form: "single",
|
|
51131
51531
|
optional: false
|
|
51132
51532
|
}],
|
|
51533
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
51534
|
+
name: "deviceIds",
|
|
51535
|
+
form: "array",
|
|
51536
|
+
optional: true
|
|
51537
|
+
}],
|
|
51133
51538
|
"pipelineExecutor.runPipeline": [{
|
|
51134
51539
|
name: "deviceId",
|
|
51135
51540
|
form: "single",
|
|
@@ -51235,6 +51640,11 @@ Object.freeze({
|
|
|
51235
51640
|
form: "single",
|
|
51236
51641
|
optional: false
|
|
51237
51642
|
}],
|
|
51643
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
51644
|
+
name: "deviceId",
|
|
51645
|
+
form: "single",
|
|
51646
|
+
optional: false
|
|
51647
|
+
}],
|
|
51238
51648
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
51239
51649
|
name: "deviceId",
|
|
51240
51650
|
form: "single",
|
|
@@ -52006,6 +52416,11 @@ Object.freeze({
|
|
|
52006
52416
|
form: "single",
|
|
52007
52417
|
optional: false
|
|
52008
52418
|
}],
|
|
52419
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
52420
|
+
name: "deviceId",
|
|
52421
|
+
form: "single",
|
|
52422
|
+
optional: false
|
|
52423
|
+
}],
|
|
52009
52424
|
"webrtcSession.closeSession": [{
|
|
52010
52425
|
name: "deviceId",
|
|
52011
52426
|
form: "single",
|
|
@@ -52235,6 +52650,8 @@ new Map(Object.entries({
|
|
|
52235
52650
|
"detection-blind": "device-events",
|
|
52236
52651
|
"node-online": "system",
|
|
52237
52652
|
"node-offline": "system",
|
|
52653
|
+
"node-restarting": "system",
|
|
52654
|
+
"node-updating": "system",
|
|
52238
52655
|
"node-inference-unavailable": "system",
|
|
52239
52656
|
"addon-crash-loop": "system",
|
|
52240
52657
|
"addon-update-available": "system",
|
|
@@ -52312,6 +52729,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52312
52729
|
kinds: [
|
|
52313
52730
|
"node-offline",
|
|
52314
52731
|
"node-online",
|
|
52732
|
+
"node-restarting",
|
|
52315
52733
|
"node-inference-unavailable"
|
|
52316
52734
|
]
|
|
52317
52735
|
},
|
|
@@ -52333,6 +52751,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52333
52751
|
label: "Server & container updates",
|
|
52334
52752
|
kinds: [
|
|
52335
52753
|
"server-update-available",
|
|
52754
|
+
"node-updating",
|
|
52336
52755
|
"server-updated",
|
|
52337
52756
|
"wrapper-update-available"
|
|
52338
52757
|
]
|
|
@@ -52480,6 +52899,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52480
52899
|
kinds: [
|
|
52481
52900
|
"node-offline",
|
|
52482
52901
|
"node-online",
|
|
52902
|
+
"node-restarting",
|
|
52483
52903
|
"node-inference-unavailable"
|
|
52484
52904
|
]
|
|
52485
52905
|
},
|
|
@@ -52501,6 +52921,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52501
52921
|
example: "server 1.2.377 → 1.2.378",
|
|
52502
52922
|
kinds: [
|
|
52503
52923
|
"server-update-available",
|
|
52924
|
+
"node-updating",
|
|
52504
52925
|
"server-updated",
|
|
52505
52926
|
"wrapper-update-available"
|
|
52506
52927
|
]
|
|
@@ -52533,7 +52954,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52533
52954
|
{
|
|
52534
52955
|
name: "summarySection",
|
|
52535
52956
|
label: "Summary: this section",
|
|
52536
|
-
description: "The section a per-section summary row is about
|
|
52957
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
52537
52958
|
example: "Batterie scariche",
|
|
52538
52959
|
group: "system",
|
|
52539
52960
|
families: ["rule"],
|