@camstack/addon-matter-broker 0.2.119 → 0.2.121
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 +1064 -534
- package/dist/addon.mjs +1064 -534
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { networkInterfaces, tmpdir, uptime } from "node:os";
|
|
|
11
11
|
import { finished } from "node:stream/promises";
|
|
12
12
|
import { createConnection, createServer as createServer$2 } from "node:net";
|
|
13
13
|
import * as dgram from "node:dgram";
|
|
14
|
-
//#region ../types/dist/event-category-
|
|
14
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
15
15
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
16
16
|
EventCategory["SystemBoot"] = "system.boot";
|
|
17
17
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -512,15 +512,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
512
512
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
513
513
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
514
514
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
515
|
-
/**
|
|
516
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
517
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
518
|
-
* `createSession`, so running sessions keep their current backend until
|
|
519
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
520
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
521
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
522
|
-
*/
|
|
523
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
524
515
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
525
516
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
526
517
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5391,7 +5382,7 @@ var ZodIssueCode = {
|
|
|
5391
5382
|
var ZodFirstPartyTypeKind;
|
|
5392
5383
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5393
5384
|
//#endregion
|
|
5394
|
-
//#region ../types/dist/sleep-
|
|
5385
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
5395
5386
|
/**
|
|
5396
5387
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5397
5388
|
* window to float samples (D455).
|
|
@@ -6757,32 +6748,12 @@ object({
|
|
|
6757
6748
|
audioCodec: string$2().optional(),
|
|
6758
6749
|
metadata: record(string$2(), unknown()).readonly().optional()
|
|
6759
6750
|
});
|
|
6760
|
-
var EncodedPacketSchema = object({
|
|
6761
|
-
type: _enum(["video", "audio"]),
|
|
6762
|
-
data: _instanceof(Uint8Array),
|
|
6763
|
-
pts: number(),
|
|
6764
|
-
dts: number(),
|
|
6765
|
-
keyframe: boolean(),
|
|
6766
|
-
codec: string$2()
|
|
6767
|
-
});
|
|
6768
|
-
var DecodedFrameSchema = object({
|
|
6769
|
-
data: _instanceof(Uint8Array),
|
|
6770
|
-
width: number(),
|
|
6771
|
-
height: number(),
|
|
6772
|
-
format: _enum([
|
|
6773
|
-
"jpeg",
|
|
6774
|
-
"rgb",
|
|
6775
|
-
"bgr",
|
|
6776
|
-
"yuv420",
|
|
6777
|
-
"gray"
|
|
6778
|
-
]),
|
|
6779
|
-
timestamp: number()
|
|
6780
|
-
});
|
|
6781
6751
|
/**
|
|
6782
6752
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6783
6753
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6784
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6785
|
-
*
|
|
6754
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6755
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6756
|
+
* over tRPC / Moleculer.
|
|
6786
6757
|
*
|
|
6787
6758
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6788
6759
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6808,50 +6779,6 @@ var FrameHandleSchema = object({
|
|
|
6808
6779
|
slotCount: number().int().positive()
|
|
6809
6780
|
});
|
|
6810
6781
|
/**
|
|
6811
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6812
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6813
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6814
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6815
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6816
|
-
*/
|
|
6817
|
-
var FrameHandleFormatSchema = _enum([
|
|
6818
|
-
"rgb",
|
|
6819
|
-
"bgr",
|
|
6820
|
-
"yuv420",
|
|
6821
|
-
"gray"
|
|
6822
|
-
]);
|
|
6823
|
-
/**
|
|
6824
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6825
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6826
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6827
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6828
|
-
* they asked for with no broker-side conversion.
|
|
6829
|
-
*/
|
|
6830
|
-
var SubscribeFramesInputSchema = object({
|
|
6831
|
-
brokerId: string$2(),
|
|
6832
|
-
format: FrameHandleFormatSchema,
|
|
6833
|
-
/**
|
|
6834
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6835
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6836
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6837
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6838
|
-
*/
|
|
6839
|
-
maxFps: number().positive().optional(),
|
|
6840
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6841
|
-
tag: string$2().optional()
|
|
6842
|
-
});
|
|
6843
|
-
/**
|
|
6844
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6845
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6846
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6847
|
-
*/
|
|
6848
|
-
var SubscribeFramesResultSchema = object({
|
|
6849
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6850
|
-
subscriptionId: string$2(),
|
|
6851
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6852
|
-
maxFps: number().nonnegative()
|
|
6853
|
-
});
|
|
6854
|
-
/**
|
|
6855
6782
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6856
6783
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6857
6784
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6859,8 +6786,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6859
6786
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6860
6787
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6861
6788
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6862
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6863
|
-
*
|
|
6789
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6790
|
+
* it.
|
|
6864
6791
|
*/
|
|
6865
6792
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6866
6793
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6878,11 +6805,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6878
6805
|
format: AudioChunkFormatSchema.optional()
|
|
6879
6806
|
});
|
|
6880
6807
|
/**
|
|
6881
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6882
|
-
*
|
|
6883
|
-
*
|
|
6884
|
-
*
|
|
6885
|
-
* `pullAudioChunks`.
|
|
6808
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6809
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6810
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6811
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6886
6812
|
*/
|
|
6887
6813
|
var SubscribeAudioChunksInputSchema = object({
|
|
6888
6814
|
brokerId: string$2(),
|
|
@@ -6913,9 +6839,7 @@ var BrokerStatsSchema = object({
|
|
|
6913
6839
|
"stopped"
|
|
6914
6840
|
]),
|
|
6915
6841
|
inputFps: number(),
|
|
6916
|
-
decodeFps: number(),
|
|
6917
6842
|
encodedSubscribers: number(),
|
|
6918
|
-
decodedSubscribers: number(),
|
|
6919
6843
|
uptimeMs: number(),
|
|
6920
6844
|
bitrateKbps: number(),
|
|
6921
6845
|
idrIntervalMs: number(),
|
|
@@ -6928,14 +6852,6 @@ var BrokerStatsSchema = object({
|
|
|
6928
6852
|
preBufferMs: number(),
|
|
6929
6853
|
preBufferPackets: number(),
|
|
6930
6854
|
/**
|
|
6931
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6932
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6933
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6934
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6935
|
-
* a separate cap call per broker.
|
|
6936
|
-
*/
|
|
6937
|
-
decoderNodeId: string$2().nullable(),
|
|
6938
|
-
/**
|
|
6939
6855
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6940
6856
|
* when the stream has no audio track or the broker is in cold start.
|
|
6941
6857
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10271,70 +10187,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10271
10187
|
"backup"
|
|
10272
10188
|
]).optional()
|
|
10273
10189
|
});
|
|
10274
|
-
var DecoderStatsSchema = object({
|
|
10275
|
-
inputFps: number(),
|
|
10276
|
-
outputFps: number(),
|
|
10277
|
-
avgDecodeTimeMs: number(),
|
|
10278
|
-
droppedFrames: number(),
|
|
10279
|
-
/**
|
|
10280
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10281
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10282
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10283
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10284
|
-
*/
|
|
10285
|
-
lagMs: number().optional(),
|
|
10286
|
-
effectiveFps: number().optional(),
|
|
10287
|
-
adaptiveFps: number().optional()
|
|
10288
|
-
});
|
|
10289
|
-
var DecoderSessionConfigSchema = object({
|
|
10290
|
-
codec: string$2(),
|
|
10291
|
-
maxFps: number().default(0),
|
|
10292
|
-
outputFormat: _enum([
|
|
10293
|
-
"jpeg",
|
|
10294
|
-
"rgb",
|
|
10295
|
-
"bgr",
|
|
10296
|
-
"yuv420",
|
|
10297
|
-
"gray"
|
|
10298
|
-
]).default("jpeg"),
|
|
10299
|
-
scale: number().default(1),
|
|
10300
|
-
width: number().optional(),
|
|
10301
|
-
height: number().optional(),
|
|
10302
|
-
/**
|
|
10303
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10304
|
-
* because the cap is generic (any caller could request decode), but
|
|
10305
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10306
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10307
|
-
* sendPacket errors on a single hung camera).
|
|
10308
|
-
*/
|
|
10309
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10310
|
-
/**
|
|
10311
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10312
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10313
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10314
|
-
* profile cleanly.
|
|
10315
|
-
*/
|
|
10316
|
-
tag: string$2().optional(),
|
|
10317
|
-
/**
|
|
10318
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10319
|
-
*
|
|
10320
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10321
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10322
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10323
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10324
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10325
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10326
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10327
|
-
*/
|
|
10328
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10329
|
-
/**
|
|
10330
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10331
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10332
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10333
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10334
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10335
|
-
*/
|
|
10336
|
-
debug: boolean().optional()
|
|
10337
|
-
});
|
|
10338
10190
|
/**
|
|
10339
10191
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10340
10192
|
* an addon declares its channels in.
|
|
@@ -10477,6 +10329,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10477
10329
|
"balanced",
|
|
10478
10330
|
"strict"
|
|
10479
10331
|
]);
|
|
10332
|
+
/** Steps whose effect a root label can BE. */
|
|
10333
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10334
|
+
"animal-classifier",
|
|
10335
|
+
"vehicle-classifier",
|
|
10336
|
+
"package-detection"
|
|
10337
|
+
];
|
|
10338
|
+
/** Steps whose box a root detection can BE. */
|
|
10339
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10340
|
+
/**
|
|
10341
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10342
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10343
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10344
|
+
* no camera tree carries.)
|
|
10345
|
+
*/
|
|
10346
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10347
|
+
[
|
|
10348
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10349
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10350
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10351
|
+
];
|
|
10480
10352
|
var MODEL_FORMATS = [
|
|
10481
10353
|
"onnx",
|
|
10482
10354
|
"coreml",
|
|
@@ -10505,7 +10377,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10505
10377
|
/** Multi-file payload (directory members or sibling files). */
|
|
10506
10378
|
files: array(string$2()).readonly().optional(),
|
|
10507
10379
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10508
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10380
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10381
|
+
/**
|
|
10382
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10383
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10384
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10385
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10386
|
+
* node records the revision it downloaded next to the file
|
|
10387
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10388
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10389
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10390
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10391
|
+
*/
|
|
10392
|
+
revision: string$2().min(1).optional()
|
|
10393
|
+
});
|
|
10394
|
+
/**
|
|
10395
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10396
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10397
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10398
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10399
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10400
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10401
|
+
*/
|
|
10402
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10403
|
+
"current",
|
|
10404
|
+
"stale",
|
|
10405
|
+
"missing"
|
|
10406
|
+
]);
|
|
10407
|
+
/**
|
|
10408
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10409
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10410
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10411
|
+
*/
|
|
10412
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10413
|
+
"fp32",
|
|
10414
|
+
"fp16",
|
|
10415
|
+
"int8"
|
|
10416
|
+
]);
|
|
10417
|
+
/**
|
|
10418
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10419
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10420
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10421
|
+
*/
|
|
10422
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10423
|
+
downloaded: boolean(),
|
|
10424
|
+
sizeMB: number(),
|
|
10425
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10426
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10509
10427
|
});
|
|
10510
10428
|
/**
|
|
10511
10429
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10546,11 +10464,11 @@ var ModelVariantGroupSchema = object({
|
|
|
10546
10464
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
10547
10465
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
10548
10466
|
/**
|
|
10549
|
-
*
|
|
10550
|
-
*
|
|
10551
|
-
*
|
|
10467
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
10468
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
10469
|
+
* label is "Test".
|
|
10552
10470
|
*/
|
|
10553
|
-
optimization: _enum(["standard", "
|
|
10471
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
10554
10472
|
/**
|
|
10555
10473
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
10556
10474
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -10573,9 +10491,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
10573
10491
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
10574
10492
|
* string still parses — the string is lifted into `{ weights }`.
|
|
10575
10493
|
*
|
|
10576
|
-
* Every licence surface (the
|
|
10577
|
-
*
|
|
10578
|
-
*
|
|
10494
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
10495
|
+
* model table) is GENERATED from these records by
|
|
10496
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
10497
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
10579
10498
|
*/
|
|
10580
10499
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10581
10500
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -10608,6 +10527,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10608
10527
|
/** True when the weights or their data forbid commercial use. */
|
|
10609
10528
|
nonCommercial: boolean().optional()
|
|
10610
10529
|
}));
|
|
10530
|
+
/**
|
|
10531
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10532
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10533
|
+
*
|
|
10534
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10535
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10536
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10537
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10538
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10539
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10540
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10541
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10542
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10543
|
+
* postprocessor on read, never stored by an import.
|
|
10544
|
+
*/
|
|
10545
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10546
|
+
object({
|
|
10547
|
+
kind: literal("label"),
|
|
10548
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10549
|
+
labelToEffect: record(string$2(), string$2()),
|
|
10550
|
+
uncovered: array(string$2()).readonly()
|
|
10551
|
+
}),
|
|
10552
|
+
object({
|
|
10553
|
+
kind: literal("crop"),
|
|
10554
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10555
|
+
rootLabels: array(string$2()).readonly(),
|
|
10556
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10557
|
+
childClass: _enum(["plate", "face"]),
|
|
10558
|
+
/**
|
|
10559
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10560
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10561
|
+
* stored by an import.
|
|
10562
|
+
*/
|
|
10563
|
+
rootInputPx: number().int().positive().optional()
|
|
10564
|
+
}),
|
|
10565
|
+
object({
|
|
10566
|
+
kind: literal("mask"),
|
|
10567
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10568
|
+
})
|
|
10569
|
+
]);
|
|
10611
10570
|
var ModelCatalogEntrySchema = object({
|
|
10612
10571
|
id: string$2(),
|
|
10613
10572
|
name: string$2(),
|
|
@@ -10673,6 +10632,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10673
10632
|
*/
|
|
10674
10633
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10675
10634
|
/**
|
|
10635
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10636
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10637
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10638
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10639
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10640
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10641
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10642
|
+
*/
|
|
10643
|
+
defaultClassFloors: record(string$2(), number().min(0).max(1)).optional(),
|
|
10644
|
+
/**
|
|
10645
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10646
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10647
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10648
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10649
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10650
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10651
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10652
|
+
*/
|
|
10653
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10654
|
+
/**
|
|
10655
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10656
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10657
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10658
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10659
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10660
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10661
|
+
*/
|
|
10662
|
+
suppliedLabelFloors: record(string$2(), number().min(0).max(1)).optional(),
|
|
10663
|
+
/**
|
|
10676
10664
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10677
10665
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10678
10666
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10734,6 +10722,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10734
10722
|
*/
|
|
10735
10723
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10736
10724
|
/**
|
|
10725
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10726
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10727
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10728
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10729
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10730
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10731
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10732
|
+
*/
|
|
10733
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10734
|
+
/**
|
|
10737
10735
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10738
10736
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10739
10737
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12384,13 +12382,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12384
12382
|
lastRtpAt: number(),
|
|
12385
12383
|
bytesSent: number()
|
|
12386
12384
|
});
|
|
12387
|
-
var BrokerDecodedClientSchema = object({
|
|
12388
|
-
tag: string$2(),
|
|
12389
|
-
subscribedAt: number(),
|
|
12390
|
-
maxFps: number(),
|
|
12391
|
-
framesDelivered: number(),
|
|
12392
|
-
framesDropped: number()
|
|
12393
|
-
});
|
|
12394
12385
|
var BrokerAudioClientSchema = object({
|
|
12395
12386
|
tag: string$2(),
|
|
12396
12387
|
subscribedAt: number(),
|
|
@@ -12482,7 +12473,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12482
12473
|
});
|
|
12483
12474
|
var BrokerClientsSchema = object({
|
|
12484
12475
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12485
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12486
12476
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12487
12477
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12488
12478
|
pipeClients: number(),
|
|
@@ -12851,11 +12841,7 @@ method(object({
|
|
|
12851
12841
|
auth: "admin"
|
|
12852
12842
|
}), method(object({ brokerId: string$2() }), BrokerClientsSchema), method(object({
|
|
12853
12843
|
brokerId: string$2(),
|
|
12854
|
-
channel: _enum([
|
|
12855
|
-
"rtsp",
|
|
12856
|
-
"decoded",
|
|
12857
|
-
"audio"
|
|
12858
|
-
]),
|
|
12844
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12859
12845
|
handle: string$2()
|
|
12860
12846
|
}), object({ killed: boolean() }), {
|
|
12861
12847
|
kind: "mutation",
|
|
@@ -12890,10 +12876,7 @@ method(object({
|
|
|
12890
12876
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12891
12877
|
subscriptionId: string$2(),
|
|
12892
12878
|
maxCount: number().int().positive().default(8)
|
|
12893
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string$2() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12894
|
-
subscriptionId: string$2(),
|
|
12895
|
-
maxCount: number().int().positive().default(4)
|
|
12896
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string$2() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12879
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string$2() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12897
12880
|
brokerId: string$2(),
|
|
12898
12881
|
seconds: number().min(0).max(30)
|
|
12899
12882
|
}), _void(), {
|
|
@@ -14152,54 +14135,12 @@ id: union([string$2(), number()]) }), {
|
|
|
14152
14135
|
kind: "mutation",
|
|
14153
14136
|
auth: "admin"
|
|
14154
14137
|
});
|
|
14155
|
-
|
|
14156
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14157
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14158
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14159
|
-
*/
|
|
14160
|
-
var ShmRingStatsSchema = object({
|
|
14161
|
-
sessionId: string$2(),
|
|
14162
|
-
slotCount: number().int(),
|
|
14163
|
-
slotByteLength: number().int(),
|
|
14164
|
-
segmentBytes: number().int(),
|
|
14165
|
-
budgetMb: number().int(),
|
|
14166
|
-
framesWritten: number().int(),
|
|
14167
|
-
getFrameHits: number().int(),
|
|
14168
|
-
getFrameMisses: number().int()
|
|
14169
|
-
});
|
|
14170
|
-
method(object({ codec: string$2() }), boolean()), method(_void(), object({
|
|
14138
|
+
method(_void(), object({
|
|
14171
14139
|
id: string$2(),
|
|
14172
14140
|
name: string$2(),
|
|
14173
|
-
isPullMode: boolean().optional(),
|
|
14174
|
-
priority: number().optional(),
|
|
14175
14141
|
hwaccel: string$2().optional(),
|
|
14176
14142
|
probedBestHwaccel: string$2().optional()
|
|
14177
|
-
})), method(
|
|
14178
|
-
sessionId: string$2(),
|
|
14179
|
-
nodeId: string$2()
|
|
14180
|
-
})), method(object({ sessionId: string$2() }), _void()), method(object({
|
|
14181
|
-
sessionId: string$2(),
|
|
14182
|
-
packet: EncodedPacketSchema
|
|
14183
|
-
}), _void()), method(object({
|
|
14184
|
-
sessionId: string$2(),
|
|
14185
|
-
url: string$2()
|
|
14186
|
-
}), _void()), method(object({
|
|
14187
|
-
sessionId: string$2(),
|
|
14188
|
-
maxCount: number().default(1),
|
|
14189
|
-
waitMs: number().optional()
|
|
14190
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14191
|
-
sessionId: string$2(),
|
|
14192
|
-
maxCount: number().default(1),
|
|
14193
|
-
waitMs: number().optional()
|
|
14194
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string$2() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14195
|
-
sessionId: string$2(),
|
|
14196
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14197
|
-
}), _void()), method(object({ sessionId: string$2() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14198
|
-
sessionId: string$2(),
|
|
14199
|
-
codec: string$2(),
|
|
14200
|
-
outputFormat: string$2(),
|
|
14201
|
-
createdAtMs: number()
|
|
14202
|
-
})).readonly()), method(_void(), object({ backend: string$2() }), {
|
|
14143
|
+
})), method(_void(), object({ backend: string$2() }), {
|
|
14203
14144
|
kind: "mutation",
|
|
14204
14145
|
auth: "admin"
|
|
14205
14146
|
});
|
|
@@ -14255,7 +14196,7 @@ DeviceType.Camera;
|
|
|
14255
14196
|
* This matters here more than anywhere else in the repo, because every provider
|
|
14256
14197
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
14257
14198
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
14258
|
-
* and `http://admin:hunter2@192.168.
|
|
14199
|
+
* and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
|
|
14259
14200
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
14260
14201
|
* filling it is the operator's business, not ours.
|
|
14261
14202
|
*
|
|
@@ -16248,6 +16189,12 @@ method(_void(), array(string$2()).readonly(), { auth: "admin" }), method(object(
|
|
|
16248
16189
|
kind: "mutation",
|
|
16249
16190
|
auth: "admin"
|
|
16250
16191
|
});
|
|
16192
|
+
var HUB_ADDRESS_ROLES = [
|
|
16193
|
+
"appConnections",
|
|
16194
|
+
"notificationTaps",
|
|
16195
|
+
"internal",
|
|
16196
|
+
"publicEndpoint"
|
|
16197
|
+
];
|
|
16251
16198
|
/**
|
|
16252
16199
|
* Transport bounds for AI capability methods.
|
|
16253
16200
|
*
|
|
@@ -17444,7 +17391,7 @@ method(object({
|
|
|
17444
17391
|
timeoutMs: 6e5
|
|
17445
17392
|
});
|
|
17446
17393
|
method(object({
|
|
17447
|
-
|
|
17394
|
+
targetNodeId: string$2(),
|
|
17448
17395
|
modelId: string$2(),
|
|
17449
17396
|
format: _enum(MODEL_FORMATS),
|
|
17450
17397
|
entry: ModelCatalogEntrySchema
|
|
@@ -18850,6 +18797,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18850
18797
|
"stream-offline",
|
|
18851
18798
|
"node-online",
|
|
18852
18799
|
"node-offline",
|
|
18800
|
+
"node-restarting",
|
|
18801
|
+
"node-updating",
|
|
18853
18802
|
"node-inference-unavailable",
|
|
18854
18803
|
"detection-blind",
|
|
18855
18804
|
"addon-crash-loop",
|
|
@@ -19948,8 +19897,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
19948
19897
|
disabledTargetIds: array(string$2()).default([])
|
|
19949
19898
|
});
|
|
19950
19899
|
/**
|
|
19951
|
-
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that
|
|
19952
|
-
* still-true state. `
|
|
19900
|
+
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
19901
|
+
* report a still-true state. `addons` is the crash-looped addons only and
|
|
19902
|
+
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
19953
19903
|
* job is not an open state, and the alarm stays instant.
|
|
19954
19904
|
*/
|
|
19955
19905
|
var NcStateSummarySectionIdSchema = _enum([
|
|
@@ -19961,6 +19911,7 @@ var NcStateSummarySectionIdSchema = _enum([
|
|
|
19961
19911
|
"detection-blind",
|
|
19962
19912
|
"nodes",
|
|
19963
19913
|
"addons",
|
|
19914
|
+
"addon-updates",
|
|
19964
19915
|
"updates"
|
|
19965
19916
|
]);
|
|
19966
19917
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
@@ -20441,7 +20392,25 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20441
20392
|
* When this mode may be armed. Absent / null = always allowed (same as a
|
|
20442
20393
|
* rule with no `schedule`). Evaluated with {@link isScheduleActive}.
|
|
20443
20394
|
*/
|
|
20444
|
-
schedule: NcScheduleSchema.optional()
|
|
20395
|
+
schedule: NcScheduleSchema.optional(),
|
|
20396
|
+
/**
|
|
20397
|
+
* D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
|
|
20398
|
+
* intrusion naming the locations)? Absent = false — the entry-delay notification is the
|
|
20399
|
+
* only one, and the matches ride the triggered notification's mosaic (D705).
|
|
20400
|
+
*/
|
|
20401
|
+
notifyDuringEntryDelay: boolean().optional(),
|
|
20402
|
+
/**
|
|
20403
|
+
* D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
|
|
20404
|
+
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20405
|
+
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20406
|
+
*/
|
|
20407
|
+
notifySensorRewatched: boolean().optional(),
|
|
20408
|
+
/**
|
|
20409
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20410
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20411
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20412
|
+
*/
|
|
20413
|
+
notifySensorIgnored: boolean().optional()
|
|
20445
20414
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20446
20415
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20447
20416
|
mode: AlarmArmModeSchema,
|
|
@@ -20450,7 +20419,13 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20450
20419
|
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
|
|
20451
20420
|
postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
|
|
20452
20421
|
/** Set a schedule, or `null` to clear (mode always allowed again). */
|
|
20453
|
-
schedule: NcScheduleSchema.nullable().optional()
|
|
20422
|
+
schedule: NcScheduleSchema.nullable().optional(),
|
|
20423
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20424
|
+
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20425
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20426
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20427
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20428
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20454
20429
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20455
20430
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20456
20431
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21411,45 +21386,25 @@ Object.freeze(Object.fromEntries([{
|
|
|
21411
21386
|
label: "Face recognition model",
|
|
21412
21387
|
defaultModelId: "auraface-r100",
|
|
21413
21388
|
indexName: "the enrolled face gallery",
|
|
21414
|
-
options: [
|
|
21415
|
-
|
|
21416
|
-
|
|
21417
|
-
|
|
21418
|
-
},
|
|
21419
|
-
{
|
|
21420
|
-
id: "arcface-r100",
|
|
21421
|
-
label: "ArcFace (ResNet34)"
|
|
21422
|
-
},
|
|
21423
|
-
{
|
|
21424
|
-
id: "inception-resnet-v1",
|
|
21425
|
-
label: "Inception ResNet V1"
|
|
21426
|
-
}
|
|
21427
|
-
]
|
|
21389
|
+
options: [{
|
|
21390
|
+
id: "auraface-r100",
|
|
21391
|
+
label: "AuraFace R100"
|
|
21392
|
+
}]
|
|
21428
21393
|
}, {
|
|
21429
21394
|
stepId: "clip-embedding",
|
|
21430
21395
|
label: "Semantic search model",
|
|
21431
|
-
defaultModelId: "
|
|
21396
|
+
defaultModelId: "siglip2-b16-224",
|
|
21432
21397
|
indexName: "the object semantic-search index",
|
|
21433
|
-
options: [
|
|
21434
|
-
|
|
21435
|
-
|
|
21436
|
-
|
|
21437
|
-
},
|
|
21438
|
-
{
|
|
21439
|
-
id: "mobileclip-s2",
|
|
21440
|
-
label: "MobileCLIP S2"
|
|
21441
|
-
},
|
|
21442
|
-
{
|
|
21443
|
-
id: "siglip2-b16-224",
|
|
21444
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21445
|
-
}
|
|
21446
|
-
]
|
|
21398
|
+
options: [{
|
|
21399
|
+
id: "siglip2-b16-224",
|
|
21400
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21401
|
+
}]
|
|
21447
21402
|
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
21448
21403
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21449
21404
|
stepId: "face-embedding",
|
|
21450
21405
|
key: "minLandmarkFaceSize",
|
|
21451
|
-
label: "Min face size
|
|
21452
|
-
description: "
|
|
21406
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21407
|
+
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.",
|
|
21453
21408
|
type: "slider",
|
|
21454
21409
|
min: 0,
|
|
21455
21410
|
max: 64,
|
|
@@ -23369,6 +23324,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23369
23324
|
timestamp: number()
|
|
23370
23325
|
});
|
|
23371
23326
|
/**
|
|
23327
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23328
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23329
|
+
*/
|
|
23330
|
+
var SuppliedRootOutputSchema = object({
|
|
23331
|
+
stepId: string$2(),
|
|
23332
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23333
|
+
modelId: string$2(),
|
|
23334
|
+
detections: array(object({
|
|
23335
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23336
|
+
bbox: tuple([
|
|
23337
|
+
number(),
|
|
23338
|
+
number(),
|
|
23339
|
+
number(),
|
|
23340
|
+
number()
|
|
23341
|
+
]),
|
|
23342
|
+
score: number(),
|
|
23343
|
+
/**
|
|
23344
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23345
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23346
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23347
|
+
*/
|
|
23348
|
+
landmarks: array(object({
|
|
23349
|
+
x: number(),
|
|
23350
|
+
y: number()
|
|
23351
|
+
})).optional()
|
|
23352
|
+
})).min(1)
|
|
23353
|
+
});
|
|
23354
|
+
/**
|
|
23372
23355
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23373
23356
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23374
23357
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23416,7 +23399,7 @@ var FrameRefSchema = object({
|
|
|
23416
23399
|
timestamp: number(),
|
|
23417
23400
|
capturedAt: number().optional()
|
|
23418
23401
|
});
|
|
23419
|
-
var ModelFormatSchema$
|
|
23402
|
+
var ModelFormatSchema$2 = _enum([
|
|
23420
23403
|
"onnx",
|
|
23421
23404
|
"coreml",
|
|
23422
23405
|
"openvino",
|
|
@@ -23434,7 +23417,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23434
23417
|
var PipelineEngineChoiceSchema = object({
|
|
23435
23418
|
runtime: literal("python"),
|
|
23436
23419
|
backend: string$2(),
|
|
23437
|
-
format: ModelFormatSchema$
|
|
23420
|
+
format: ModelFormatSchema$2,
|
|
23438
23421
|
device: string$2().optional()
|
|
23439
23422
|
});
|
|
23440
23423
|
/**
|
|
@@ -23473,32 +23456,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23473
23456
|
group: string$2().optional(),
|
|
23474
23457
|
settings: record(string$2(), unknown()).optional()
|
|
23475
23458
|
}));
|
|
23476
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23477
|
-
addonId: string$2(),
|
|
23478
|
-
enabled: boolean(),
|
|
23479
|
-
modelId: string$2(),
|
|
23480
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23481
|
-
settings: record(string$2(), unknown()).optional()
|
|
23482
|
-
}));
|
|
23483
|
-
var PipelineTemplateSchema$1 = object({
|
|
23484
|
-
id: string$2(),
|
|
23485
|
-
name: string$2(),
|
|
23486
|
-
createdAt: string$2(),
|
|
23487
|
-
updatedAt: string$2(),
|
|
23488
|
-
engine: PipelineEngineChoiceSchema,
|
|
23489
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23490
|
-
});
|
|
23491
23459
|
var PipelineModelOptionSchema = object({
|
|
23492
23460
|
id: string$2(),
|
|
23493
23461
|
name: string$2(),
|
|
23494
|
-
formats: record(string$2(),
|
|
23495
|
-
downloaded: boolean(),
|
|
23496
|
-
sizeMB: number()
|
|
23497
|
-
})),
|
|
23462
|
+
formats: record(string$2(), PipelineModelFormatStatusSchema),
|
|
23498
23463
|
group: ModelVariantGroupSchema.optional(),
|
|
23499
23464
|
legacy: boolean().optional(),
|
|
23500
23465
|
provider: ModelProviderIdSchema.optional(),
|
|
23501
|
-
defaultConfidence: number().optional()
|
|
23466
|
+
defaultConfidence: number().optional(),
|
|
23467
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23502
23468
|
});
|
|
23503
23469
|
var ConfigFieldBridge = custom();
|
|
23504
23470
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23660,6 +23626,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23660
23626
|
}), {
|
|
23661
23627
|
kind: "mutation",
|
|
23662
23628
|
auth: "admin"
|
|
23629
|
+
}), method(object({
|
|
23630
|
+
nodeId: string$2(),
|
|
23631
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23632
|
+
dryRun: boolean()
|
|
23633
|
+
}), object({
|
|
23634
|
+
entries: array(object({
|
|
23635
|
+
deviceId: number(),
|
|
23636
|
+
keys: array(string$2()).readonly()
|
|
23637
|
+
})).readonly(),
|
|
23638
|
+
refused: array(object({
|
|
23639
|
+
deviceId: number(),
|
|
23640
|
+
reason: string$2()
|
|
23641
|
+
})).readonly()
|
|
23642
|
+
}), {
|
|
23643
|
+
kind: "mutation",
|
|
23644
|
+
auth: "admin"
|
|
23663
23645
|
}), method(object({ nodeId: string$2() }), object({ unhealthy: array(object({
|
|
23664
23646
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23665
23647
|
deviceKey: string$2(),
|
|
@@ -23685,22 +23667,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23685
23667
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23686
23668
|
steps: array(PipelineStepInputSchema),
|
|
23687
23669
|
deviceKey: string$2().optional()
|
|
23688
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23689
|
-
name: string$2(),
|
|
23690
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23691
|
-
engine: PipelineEngineChoiceSchema
|
|
23692
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23693
|
-
id: string$2(),
|
|
23694
|
-
name: string$2().optional(),
|
|
23695
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23696
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string$2() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string$2() }), ModelAvailabilityListBridge), method(object({
|
|
23670
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string$2() }), ModelAvailabilityListBridge), method(object({
|
|
23697
23671
|
addonId: string$2(),
|
|
23698
23672
|
modelId: string$2(),
|
|
23699
|
-
format: ModelFormatSchema$
|
|
23673
|
+
format: ModelFormatSchema$2
|
|
23700
23674
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23701
23675
|
addonId: string$2(),
|
|
23702
23676
|
modelId: string$2(),
|
|
23703
|
-
format: ModelFormatSchema$
|
|
23677
|
+
format: ModelFormatSchema$2
|
|
23704
23678
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23705
23679
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23706
23680
|
frame: FrameInputSchema.optional(),
|
|
@@ -23766,7 +23740,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23766
23740
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23767
23741
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23768
23742
|
*/
|
|
23769
|
-
replay: literal(true).optional()
|
|
23743
|
+
replay: literal(true).optional(),
|
|
23744
|
+
/**
|
|
23745
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23746
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23747
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23748
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23749
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23750
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23751
|
+
*/
|
|
23752
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23770
23753
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23771
23754
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23772
23755
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23848,6 +23831,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23848
23831
|
filename: string$2().optional(),
|
|
23849
23832
|
settings: record(string$2(), unknown()).optional()
|
|
23850
23833
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23834
|
+
/**
|
|
23835
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23836
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23837
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23838
|
+
* schemas are what crosses the cap boundary.
|
|
23839
|
+
*/
|
|
23840
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23841
|
+
/** The operator's range for it. */
|
|
23842
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23843
|
+
min: 1,
|
|
23844
|
+
max: 8
|
|
23845
|
+
};
|
|
23846
|
+
var HardwareClassIdSchema = _enum([
|
|
23847
|
+
"intel-core-ultra",
|
|
23848
|
+
"intel-n-series",
|
|
23849
|
+
"apple-m-base",
|
|
23850
|
+
"apple-m-pro",
|
|
23851
|
+
"unknown"
|
|
23852
|
+
]);
|
|
23853
|
+
var AcceleratorKindSchema = _enum([
|
|
23854
|
+
"intel-npu",
|
|
23855
|
+
"intel-igpu",
|
|
23856
|
+
"x86-cpu",
|
|
23857
|
+
"arm-cpu",
|
|
23858
|
+
"apple-ane",
|
|
23859
|
+
"coral"
|
|
23860
|
+
]);
|
|
23861
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23862
|
+
object({
|
|
23863
|
+
kind: literal("capacity"),
|
|
23864
|
+
sessions: number(),
|
|
23865
|
+
minSessions: number()
|
|
23866
|
+
}),
|
|
23867
|
+
object({
|
|
23868
|
+
kind: literal("tie-faster"),
|
|
23869
|
+
over: string$2(),
|
|
23870
|
+
recallDelta: number()
|
|
23871
|
+
}),
|
|
23872
|
+
object({
|
|
23873
|
+
kind: literal("stepped-down"),
|
|
23874
|
+
from: string$2(),
|
|
23875
|
+
to: string$2(),
|
|
23876
|
+
limitedBy: string$2()
|
|
23877
|
+
}),
|
|
23878
|
+
object({
|
|
23879
|
+
kind: literal("no-fit-lightest"),
|
|
23880
|
+
sessions: number(),
|
|
23881
|
+
minSessions: number()
|
|
23882
|
+
}),
|
|
23883
|
+
object({
|
|
23884
|
+
kind: literal("derived-latency"),
|
|
23885
|
+
modelId: string$2()
|
|
23886
|
+
}),
|
|
23887
|
+
object({ kind: literal("cpu-device") }),
|
|
23888
|
+
object({ kind: literal("coral-untouched") }),
|
|
23889
|
+
object({ kind: literal("device-disabled") }),
|
|
23890
|
+
object({ kind: literal("device-unavailable") }),
|
|
23891
|
+
object({ kind: literal("node-offline") }),
|
|
23892
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23893
|
+
object({
|
|
23894
|
+
kind: literal("no-measured-data"),
|
|
23895
|
+
hardwareClass: HardwareClassIdSchema
|
|
23896
|
+
}),
|
|
23897
|
+
object({
|
|
23898
|
+
kind: literal("no-family-build"),
|
|
23899
|
+
format: ModelFormatSchema$1
|
|
23900
|
+
})
|
|
23901
|
+
]);
|
|
23902
|
+
var DeviceModelChoiceSchema = object({
|
|
23903
|
+
modelId: string$2(),
|
|
23904
|
+
p50Ms: number(),
|
|
23905
|
+
fps: number(),
|
|
23906
|
+
measured: boolean(),
|
|
23907
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23908
|
+
capacitySessions: number(),
|
|
23909
|
+
personRecall: number()
|
|
23910
|
+
});
|
|
23911
|
+
var DeviceRecommendationSchema = object({
|
|
23912
|
+
deviceKey: string$2(),
|
|
23913
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23914
|
+
enabled: boolean(),
|
|
23915
|
+
available: boolean(),
|
|
23916
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23917
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23918
|
+
});
|
|
23919
|
+
var NodeRecommendationSchema = object({
|
|
23920
|
+
nodeId: string$2(),
|
|
23921
|
+
reachable: boolean(),
|
|
23922
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23923
|
+
cpuModel: string$2().nullable(),
|
|
23924
|
+
skipped: boolean(),
|
|
23925
|
+
acceleratorModelId: string$2().nullable(),
|
|
23926
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23927
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23928
|
+
});
|
|
23929
|
+
var ModelPinChangeSchema = object({
|
|
23930
|
+
stepId: string$2(),
|
|
23931
|
+
before: string$2().nullable(),
|
|
23932
|
+
after: string$2().nullable()
|
|
23933
|
+
});
|
|
23934
|
+
var NodeDeviceChangeSchema = object({
|
|
23935
|
+
nodeId: string$2(),
|
|
23936
|
+
deviceKey: string$2(),
|
|
23937
|
+
madeExplicit: boolean(),
|
|
23938
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23939
|
+
thresholds: array(object({
|
|
23940
|
+
stepId: string$2(),
|
|
23941
|
+
keys: array(string$2()).readonly()
|
|
23942
|
+
})).readonly()
|
|
23943
|
+
});
|
|
23944
|
+
var CameraOverrideClearSchema = object({
|
|
23945
|
+
deviceId: number(),
|
|
23946
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23947
|
+
nodeId: string$2(),
|
|
23948
|
+
deviceKey: string$2().nullable(),
|
|
23949
|
+
stepId: string$2(),
|
|
23950
|
+
modelIdBefore: string$2().nullable(),
|
|
23951
|
+
keys: array(string$2()).readonly()
|
|
23952
|
+
});
|
|
23953
|
+
var DetectorStoreClearSchema = object({
|
|
23954
|
+
deviceId: number(),
|
|
23955
|
+
keys: array(string$2()).readonly()
|
|
23956
|
+
});
|
|
23957
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23958
|
+
object({
|
|
23959
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23960
|
+
skippedNodes: array(string$2()).readonly()
|
|
23961
|
+
}),
|
|
23962
|
+
object({
|
|
23963
|
+
kind: literal("detector-store-unreadable"),
|
|
23964
|
+
error: string$2()
|
|
23965
|
+
}),
|
|
23966
|
+
object({
|
|
23967
|
+
kind: literal("coral-enabled"),
|
|
23968
|
+
nodeId: string$2(),
|
|
23969
|
+
deviceKey: string$2()
|
|
23970
|
+
})
|
|
23971
|
+
]);
|
|
23972
|
+
var AutoTuneOptionsSchema = object({
|
|
23973
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
23974
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23975
|
+
/**
|
|
23976
|
+
* The least number of parallel sessions every device must sustain at the
|
|
23977
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
23978
|
+
* that reaches it wins.
|
|
23979
|
+
*/
|
|
23980
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23981
|
+
});
|
|
23982
|
+
var AutoTunePlanSchema = object({
|
|
23983
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
23984
|
+
planHash: string$2(),
|
|
23985
|
+
family: literal("yolov9"),
|
|
23986
|
+
headroom: number(),
|
|
23987
|
+
minSessionsPerDevice: number(),
|
|
23988
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
23989
|
+
cameraFps: number(),
|
|
23990
|
+
generatedAt: number(),
|
|
23991
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
23992
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
23993
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
23994
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
23995
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
23996
|
+
});
|
|
23997
|
+
var AutoTuneApplyInputSchema = object({
|
|
23998
|
+
planHash: string$2(),
|
|
23999
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24000
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24001
|
+
});
|
|
24002
|
+
var AutoTunePhaseResultSchema = object({
|
|
24003
|
+
phase: _enum([
|
|
24004
|
+
"download",
|
|
24005
|
+
"camera-overrides",
|
|
24006
|
+
"detector-thresholds",
|
|
24007
|
+
"node-models",
|
|
24008
|
+
"redispatch"
|
|
24009
|
+
]),
|
|
24010
|
+
ok: boolean(),
|
|
24011
|
+
detail: string$2()
|
|
24012
|
+
});
|
|
24013
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24014
|
+
object({
|
|
24015
|
+
kind: literal("applied"),
|
|
24016
|
+
planHash: string$2(),
|
|
24017
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24018
|
+
}),
|
|
24019
|
+
object({
|
|
24020
|
+
kind: literal("aborted"),
|
|
24021
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24022
|
+
}),
|
|
24023
|
+
object({
|
|
24024
|
+
kind: literal("stale"),
|
|
24025
|
+
plan: AutoTunePlanSchema
|
|
24026
|
+
}),
|
|
24027
|
+
object({
|
|
24028
|
+
kind: literal("refused"),
|
|
24029
|
+
reason: _enum(["apply-in-progress"])
|
|
24030
|
+
})
|
|
24031
|
+
]);
|
|
24032
|
+
/**
|
|
24033
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24034
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24035
|
+
* hardware share suggestion and the stale device pins.
|
|
24036
|
+
*/
|
|
24037
|
+
/**
|
|
24038
|
+
* How a new detection session picks its node and device.
|
|
24039
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24040
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24041
|
+
* weight only bites once a node already holds a session.
|
|
24042
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24043
|
+
* full or drowning node yields to a free one (D748).
|
|
24044
|
+
*/
|
|
24045
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24046
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24047
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24048
|
+
nodes: record(string$2(), number().positive()).default({}),
|
|
24049
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24050
|
+
devices: record(string$2(), record(string$2(), number().positive())).default({})
|
|
24051
|
+
});
|
|
24052
|
+
var PlacementStatsInputSchema = object({
|
|
24053
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24054
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24055
|
+
var PlacementDeviceStatsSchema = object({
|
|
24056
|
+
deviceKey: string$2(),
|
|
24057
|
+
/** Sessions running on this device now. */
|
|
24058
|
+
sessionsNow: number(),
|
|
24059
|
+
/** Sessions started on this device inside the window. */
|
|
24060
|
+
sessionsStarted: number(),
|
|
24061
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24062
|
+
observedShare: number().nullable()
|
|
24063
|
+
});
|
|
24064
|
+
var PlacementNodeStatsSchema = object({
|
|
24065
|
+
nodeId: string$2(),
|
|
24066
|
+
sessionsNow: number(),
|
|
24067
|
+
sessionsStarted: number(),
|
|
24068
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24069
|
+
observedShare: number().nullable(),
|
|
24070
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24071
|
+
peakSessions: number(),
|
|
24072
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24073
|
+
yieldsAway: number(),
|
|
24074
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24075
|
+
});
|
|
24076
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24077
|
+
var StaleDevicePinSchema = object({
|
|
24078
|
+
deviceId: number(),
|
|
24079
|
+
deviceKey: string$2(),
|
|
24080
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24081
|
+
reason: _enum(["disabled", "absent"])
|
|
24082
|
+
});
|
|
24083
|
+
var PlacementStatsSchema = object({
|
|
24084
|
+
policy: SessionPlacementPolicySchema,
|
|
24085
|
+
windowMs: number(),
|
|
24086
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24087
|
+
observedForMs: number(),
|
|
24088
|
+
sessionsNow: number(),
|
|
24089
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24090
|
+
clusterPeakSessions: number(),
|
|
24091
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24092
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24093
|
+
});
|
|
24094
|
+
/**
|
|
24095
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24096
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24097
|
+
* the measured latency table for the node's hardware class.
|
|
24098
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24099
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24100
|
+
*/
|
|
24101
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24102
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24103
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24104
|
+
var SuggestSharesInputSchema = object({
|
|
24105
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24106
|
+
/** Default `hardware`. */
|
|
24107
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24108
|
+
});
|
|
24109
|
+
var SuggestedDeviceShareSchema = object({
|
|
24110
|
+
deviceKey: string$2(),
|
|
24111
|
+
/** Share of the node (0–100, rounded). */
|
|
24112
|
+
share: number(),
|
|
24113
|
+
modelId: string$2().nullable(),
|
|
24114
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24115
|
+
fps: number().nullable(),
|
|
24116
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24117
|
+
measured: boolean(),
|
|
24118
|
+
/**
|
|
24119
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24120
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24121
|
+
*/
|
|
24122
|
+
suggestedMaxSessions: number().nullable()
|
|
24123
|
+
});
|
|
24124
|
+
var SuggestedNodeShareSchema = object({
|
|
24125
|
+
nodeId: string$2(),
|
|
24126
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24127
|
+
share: number().nullable(),
|
|
24128
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24129
|
+
capacitySessions: number(),
|
|
24130
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24131
|
+
skippedReason: string$2().nullable(),
|
|
24132
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24133
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24134
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24135
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24136
|
+
});
|
|
24137
|
+
var SuggestSharesResultSchema = object({
|
|
24138
|
+
headroom: number(),
|
|
24139
|
+
/** The source asked for; each node says what it actually used. */
|
|
24140
|
+
source: CapacitySourceSchema,
|
|
24141
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24142
|
+
cameraFps: number(),
|
|
24143
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24144
|
+
minSessionsPerDevice: number(),
|
|
24145
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24146
|
+
});
|
|
24147
|
+
/**
|
|
24148
|
+
* Where the node and device shares come from (D750, D755).
|
|
24149
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24150
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24151
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24152
|
+
* switched on or off, or changes model. No load input.
|
|
24153
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24154
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24155
|
+
* - `manual` — the operator's stored sliders.
|
|
24156
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24157
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24158
|
+
*/
|
|
24159
|
+
var ShareSourceSchema = _enum([
|
|
24160
|
+
"hardware",
|
|
24161
|
+
"benchmark",
|
|
24162
|
+
"manual"
|
|
24163
|
+
]);
|
|
24164
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24165
|
+
object({
|
|
24166
|
+
nodes: record(string$2(), number()),
|
|
24167
|
+
devices: record(string$2(), record(string$2(), number()))
|
|
24168
|
+
});
|
|
24169
|
+
var EffectiveDeviceShareSchema = object({
|
|
24170
|
+
deviceKey: string$2(),
|
|
24171
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24172
|
+
eligible: boolean(),
|
|
24173
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24174
|
+
configuredPct: number(),
|
|
24175
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24176
|
+
effectivePct: number()
|
|
24177
|
+
});
|
|
24178
|
+
var EffectiveNodeShareSchema = object({
|
|
24179
|
+
nodeId: string$2(),
|
|
24180
|
+
eligible: boolean(),
|
|
24181
|
+
configuredPct: number(),
|
|
24182
|
+
effectivePct: number(),
|
|
24183
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24184
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24185
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24186
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24187
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24188
|
+
});
|
|
24189
|
+
var EffectiveSharesSchema = object({
|
|
24190
|
+
source: ShareSourceSchema,
|
|
24191
|
+
policy: SessionPlacementPolicySchema,
|
|
24192
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24193
|
+
autoPending: boolean(),
|
|
24194
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24195
|
+
computedAt: number().nullable(),
|
|
24196
|
+
/** What made the system recompute them last. */
|
|
24197
|
+
trigger: string$2().nullable(),
|
|
24198
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24199
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24200
|
+
nodeWeights: record(string$2(), number()),
|
|
24201
|
+
deviceWeights: record(string$2(), record(string$2(), number()))
|
|
24202
|
+
});
|
|
23851
24203
|
object({
|
|
23852
24204
|
activeCameras: number(),
|
|
23853
24205
|
throttledCameras: number(),
|
|
@@ -24331,6 +24683,22 @@ var MotionSourceEnum = _enum([
|
|
|
24331
24683
|
"device-activity"
|
|
24332
24684
|
]);
|
|
24333
24685
|
/**
|
|
24686
|
+
* What opened an on-motion detection SESSION: the motion source that passed the
|
|
24687
|
+
* camera's `motionSources` gate, and what raised it (the camera itself, or a
|
|
24688
|
+
* sensor the operator attached — D672). `sensorName` is the attached sensor's
|
|
24689
|
+
* device name as the orchestrator's camera-sensors resolution last read it;
|
|
24690
|
+
* absent when unknown or when the camera itself triggered.
|
|
24691
|
+
*
|
|
24692
|
+
* Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
|
|
24693
|
+
* can say what started the session (D672 rule 11, amended 2026-10-06). The
|
|
24694
|
+
* runner never decides anything on it.
|
|
24695
|
+
*/
|
|
24696
|
+
var SessionTriggerSchema = object({
|
|
24697
|
+
source: MotionSourceEnum,
|
|
24698
|
+
triggeredBy: MotionTriggeredBySchema,
|
|
24699
|
+
sensorName: string$2().optional()
|
|
24700
|
+
});
|
|
24701
|
+
/**
|
|
24334
24702
|
* List of motion sources active on a camera. Empty array is valid:
|
|
24335
24703
|
* "no source" — happens for battery cams without firmware motion when
|
|
24336
24704
|
* the operator hasn't opted into the SW analyzer (would hold the
|
|
@@ -24582,6 +24950,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
24582
24950
|
*/
|
|
24583
24951
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
24584
24952
|
/**
|
|
24953
|
+
* What opened this attach, on a SESSION attach only (see
|
|
24954
|
+
* {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
|
|
24955
|
+
* standing attach, an occupancy burst, a re-dispatch with no motion event
|
|
24956
|
+
* behind it, and every attach from an orchestrator older than the field — the
|
|
24957
|
+
* runner then names no source on the phase event.
|
|
24958
|
+
*/
|
|
24959
|
+
sessionTrigger: SessionTriggerSchema.optional(),
|
|
24960
|
+
/**
|
|
24585
24961
|
* WHICH root detector runs for this camera. The detection counterpart of
|
|
24586
24962
|
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
24587
24963
|
* of sources the system understands, vendor-agnostic, owned here.
|
|
@@ -24741,14 +25117,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24741
25117
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24742
25118
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24743
25119
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24744
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24745
|
-
* per
|
|
25120
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25121
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25122
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25123
|
+
* (D762).
|
|
24746
25124
|
*/
|
|
24747
25125
|
devices: array(object({
|
|
24748
25126
|
deviceKey: string$2(),
|
|
24749
25127
|
backend: string$2(),
|
|
24750
|
-
attachedCameras: number()
|
|
24751
|
-
queueDepthTotal: number()
|
|
25128
|
+
attachedCameras: number()
|
|
24752
25129
|
})).default([]),
|
|
24753
25130
|
/** Hardware capability flags reported by this node. */
|
|
24754
25131
|
hardware: object({
|
|
@@ -24884,7 +25261,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24884
25261
|
*/
|
|
24885
25262
|
cropJpeg: string$2().optional(),
|
|
24886
25263
|
parent: DetailParentSchema,
|
|
24887
|
-
steps: array(string$2()).optional()
|
|
25264
|
+
steps: array(string$2()).optional(),
|
|
25265
|
+
/**
|
|
25266
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25267
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25268
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25269
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25270
|
+
* requested step infers as before.
|
|
25271
|
+
*/
|
|
25272
|
+
supplied: object({
|
|
25273
|
+
stepId: string$2(),
|
|
25274
|
+
modelId: string$2(),
|
|
25275
|
+
boxes: array(object({
|
|
25276
|
+
bbox: NativeCropBboxSchema,
|
|
25277
|
+
score: number()
|
|
25278
|
+
})).min(1)
|
|
25279
|
+
}).optional()
|
|
24888
25280
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24889
25281
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24890
25282
|
stepId: string$2(),
|
|
@@ -24947,14 +25339,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24947
25339
|
settings: record(string$2(), unknown()).readonly().optional()
|
|
24948
25340
|
}).nullable().optional()
|
|
24949
25341
|
});
|
|
24950
|
-
var PipelineTemplateSchema = object({
|
|
24951
|
-
id: string$2(),
|
|
24952
|
-
name: string$2(),
|
|
24953
|
-
description: string$2().optional(),
|
|
24954
|
-
config: CameraPipelineConfigSchema,
|
|
24955
|
-
createdAt: string$2(),
|
|
24956
|
-
updatedAt: string$2()
|
|
24957
|
-
});
|
|
24958
25342
|
var DeviceStepConfigSchema = object({
|
|
24959
25343
|
modelId: string$2().optional(),
|
|
24960
25344
|
settings: record(string$2(), unknown()).optional(),
|
|
@@ -25028,9 +25412,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25028
25412
|
modelId: string$2().optional(),
|
|
25029
25413
|
settings: record(string$2(), unknown()).readonly().optional()
|
|
25030
25414
|
});
|
|
25415
|
+
var CameraStepSettingsSchema = record(string$2(), record(string$2(), unknown()).readonly());
|
|
25031
25416
|
var CameraPipelineSettingsSchema = object({
|
|
25032
|
-
pinnedAgentNodeId: string$2().optional(),
|
|
25033
25417
|
stepToggles: record(string$2(), boolean()).optional(),
|
|
25418
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25034
25419
|
stepOverridesByDevice: record(string$2(), record(string$2(), record(string$2(), CameraStepOverridePatchSchema))).optional(),
|
|
25035
25420
|
pipelineByAgent: record(string$2(), CameraPipelineForAgentSchema).optional()
|
|
25036
25421
|
});
|
|
@@ -25063,7 +25448,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25063
25448
|
});
|
|
25064
25449
|
/**
|
|
25065
25450
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25066
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25451
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25452
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25453
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25454
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25067
25455
|
*/
|
|
25068
25456
|
var AgentLoadSummarySchema = object({
|
|
25069
25457
|
nodeId: string$2(),
|
|
@@ -25152,26 +25540,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25152
25540
|
width: number(),
|
|
25153
25541
|
height: number(),
|
|
25154
25542
|
subscribers: number(),
|
|
25155
|
-
|
|
25156
|
-
|
|
25543
|
+
/**
|
|
25544
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25545
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25546
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25547
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25548
|
+
* camera and is not served (D758).
|
|
25549
|
+
*/
|
|
25550
|
+
inFps: number().nullable()
|
|
25157
25551
|
})).readonly(),
|
|
25158
25552
|
webrtcSessions: number(),
|
|
25159
25553
|
rtspRestream: boolean()
|
|
25160
25554
|
});
|
|
25161
|
-
/**
|
|
25162
|
-
|
|
25163
|
-
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25168
|
-
|
|
25169
|
-
var CameraDecoderStatusSchema = object({
|
|
25170
|
-
nodeId: string$2(),
|
|
25171
|
-
formats: array(string$2()).readonly(),
|
|
25172
|
-
sessionCount: number(),
|
|
25173
|
-
shm: CameraDecoderShmSchema
|
|
25174
|
-
});
|
|
25555
|
+
/**
|
|
25556
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25557
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25558
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25559
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25560
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25561
|
+
* detector), never from a counter nothing feeds.
|
|
25562
|
+
*/
|
|
25563
|
+
var CameraDecoderStatusSchema = object({ nodeId: string$2() });
|
|
25175
25564
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25176
25565
|
var CameraMotionStatusSchema = object({
|
|
25177
25566
|
enabled: boolean(),
|
|
@@ -25528,12 +25917,6 @@ method(object({
|
|
|
25528
25917
|
}), object({ success: literal(true) }), {
|
|
25529
25918
|
kind: "mutation",
|
|
25530
25919
|
auth: "admin"
|
|
25531
|
-
}), method(object({
|
|
25532
|
-
agentNodeId: string$2(),
|
|
25533
|
-
detectWeight: number().positive().nullable()
|
|
25534
|
-
}), object({ success: literal(true) }), {
|
|
25535
|
-
kind: "mutation",
|
|
25536
|
-
auth: "admin"
|
|
25537
25920
|
}), method(object({
|
|
25538
25921
|
agentNodeId: string$2(),
|
|
25539
25922
|
detect: boolean().nullable().optional(),
|
|
@@ -25575,6 +25958,15 @@ method(object({
|
|
|
25575
25958
|
}), {
|
|
25576
25959
|
kind: "mutation",
|
|
25577
25960
|
auth: "admin"
|
|
25961
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25962
|
+
kind: "mutation",
|
|
25963
|
+
auth: "admin"
|
|
25964
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
25965
|
+
kind: "mutation",
|
|
25966
|
+
auth: "admin"
|
|
25967
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
25968
|
+
kind: "mutation",
|
|
25969
|
+
auth: "admin"
|
|
25578
25970
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25579
25971
|
deviceId: number(),
|
|
25580
25972
|
addonId: string$2(),
|
|
@@ -25591,6 +25983,13 @@ method(object({
|
|
|
25591
25983
|
}), object({ success: literal(true) }), {
|
|
25592
25984
|
kind: "mutation",
|
|
25593
25985
|
auth: "admin"
|
|
25986
|
+
}), method(object({
|
|
25987
|
+
deviceId: number(),
|
|
25988
|
+
addonId: string$2(),
|
|
25989
|
+
settings: record(string$2(), unknown()).nullable()
|
|
25990
|
+
}), object({ success: literal(true) }), {
|
|
25991
|
+
kind: "mutation",
|
|
25992
|
+
auth: "admin"
|
|
25594
25993
|
}), method(object({
|
|
25595
25994
|
deviceId: number(),
|
|
25596
25995
|
agentNodeId: string$2(),
|
|
@@ -25614,25 +26013,7 @@ method(object({
|
|
|
25614
26013
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25615
26014
|
kind: "mutation",
|
|
25616
26015
|
auth: "admin"
|
|
25617
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25618
|
-
name: string$2(),
|
|
25619
|
-
description: string$2().optional(),
|
|
25620
|
-
config: CameraPipelineConfigSchema
|
|
25621
|
-
}), PipelineTemplateSchema, {
|
|
25622
|
-
kind: "mutation",
|
|
25623
|
-
auth: "admin"
|
|
25624
|
-
}), method(object({
|
|
25625
|
-
id: string$2(),
|
|
25626
|
-
name: string$2().optional(),
|
|
25627
|
-
description: string$2().optional(),
|
|
25628
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25629
|
-
}), PipelineTemplateSchema, {
|
|
25630
|
-
kind: "mutation",
|
|
25631
|
-
auth: "admin"
|
|
25632
|
-
}), method(object({ id: string$2() }), object({ success: literal(true) }), {
|
|
25633
|
-
kind: "mutation",
|
|
25634
|
-
auth: "admin"
|
|
25635
|
-
});
|
|
26016
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25636
26017
|
/**
|
|
25637
26018
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25638
26019
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -27881,8 +28262,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27881
28262
|
]).nullable(),
|
|
27882
28263
|
/** Input FPS from the camera (null for adaptive). */
|
|
27883
28264
|
inputFps: number().nullable(),
|
|
27884
|
-
/** Decoded FPS (null for adaptive). */
|
|
27885
|
-
decodeFps: number().nullable(),
|
|
27886
28265
|
/** Bitrate in kbps (null for adaptive). */
|
|
27887
28266
|
bitrateKbps: number().nullable()
|
|
27888
28267
|
});
|
|
@@ -28214,6 +28593,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28214
28593
|
*/
|
|
28215
28594
|
alive: boolean()
|
|
28216
28595
|
})), method(object({
|
|
28596
|
+
deviceId: number().int().nonnegative(),
|
|
28597
|
+
sessionId: string$2(),
|
|
28598
|
+
downlinkMbps: number().nonnegative()
|
|
28599
|
+
}), object({
|
|
28600
|
+
outcome: _enum(["switching", "held"]),
|
|
28601
|
+
tier: CamProfileSchema.nullable(),
|
|
28602
|
+
reason: string$2()
|
|
28603
|
+
}), { kind: "mutation" }), method(object({
|
|
28217
28604
|
deviceId: number().int().nonnegative(),
|
|
28218
28605
|
sessionId: string$2()
|
|
28219
28606
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28453,6 +28840,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28453
28840
|
var RestartAddonResultSchema = unknown();
|
|
28454
28841
|
var InstallPackageResultSchema = unknown();
|
|
28455
28842
|
var ReloadPackagesResultSchema = unknown();
|
|
28843
|
+
/**
|
|
28844
|
+
* What an uninstall did on ONE node.
|
|
28845
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28846
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28847
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28848
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28849
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28850
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28851
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28852
|
+
*/
|
|
28853
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28854
|
+
"uninstalled",
|
|
28855
|
+
"not-installed",
|
|
28856
|
+
"refused",
|
|
28857
|
+
"failed",
|
|
28858
|
+
"pending-reconnect"
|
|
28859
|
+
]);
|
|
28860
|
+
var UninstallNodeResultSchema = object({
|
|
28861
|
+
nodeId: string$2(),
|
|
28862
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28863
|
+
error: string$2().optional(),
|
|
28864
|
+
addonIds: array(string$2()).readonly(),
|
|
28865
|
+
runnersStopped: array(string$2()).readonly(),
|
|
28866
|
+
warnings: array(string$2()).readonly()
|
|
28867
|
+
});
|
|
28868
|
+
var UninstallPackageResultSchema = object({
|
|
28869
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28870
|
+
success: boolean(),
|
|
28871
|
+
packageName: string$2(),
|
|
28872
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28873
|
+
});
|
|
28874
|
+
/**
|
|
28875
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28876
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28877
|
+
*/
|
|
28878
|
+
var PackageInstallationsSchema = object({
|
|
28879
|
+
installations: array(object({
|
|
28880
|
+
packageName: string$2(),
|
|
28881
|
+
nodeId: string$2(),
|
|
28882
|
+
nodeName: string$2(),
|
|
28883
|
+
isHub: boolean(),
|
|
28884
|
+
isOnline: boolean(),
|
|
28885
|
+
version: string$2().nullable(),
|
|
28886
|
+
addonIds: array(string$2()).readonly(),
|
|
28887
|
+
source: _enum(["live", "recorded"]),
|
|
28888
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28889
|
+
onHub: boolean()
|
|
28890
|
+
})).readonly(),
|
|
28891
|
+
unreachable: array(object({
|
|
28892
|
+
nodeId: string$2(),
|
|
28893
|
+
error: string$2()
|
|
28894
|
+
})).readonly()
|
|
28895
|
+
});
|
|
28456
28896
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28457
28897
|
"queued",
|
|
28458
28898
|
"updating",
|
|
@@ -28535,10 +28975,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28535
28975
|
}), method(object({ packageName: string$2() }), InstallPackageResultSchema, {
|
|
28536
28976
|
kind: "mutation",
|
|
28537
28977
|
auth: "admin"
|
|
28538
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28978
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28979
|
+
packageName: string$2().min(1),
|
|
28980
|
+
nodeId: string$2().optional(),
|
|
28981
|
+
everywhere: boolean().optional()
|
|
28982
|
+
}), UninstallPackageResultSchema, {
|
|
28539
28983
|
kind: "mutation",
|
|
28540
28984
|
auth: "admin"
|
|
28541
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28985
|
+
}), method(object({ packageName: string$2().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28542
28986
|
kind: "mutation",
|
|
28543
28987
|
auth: "admin"
|
|
28544
28988
|
}), method(object({ query: string$2().optional() }), array(SearchResultSchema)), method(object({ nodeId: string$2().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -31987,7 +32431,7 @@ var LocalInterfaceSchema = object({
|
|
|
31987
32431
|
name: string$2(),
|
|
31988
32432
|
family: _enum(["IPv4", "IPv6"]),
|
|
31989
32433
|
address: string$2(),
|
|
31990
|
-
/** CIDR shorthand (e.g. `192.168.
|
|
32434
|
+
/** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
|
|
31991
32435
|
cidr: string$2(),
|
|
31992
32436
|
/** OS netmask. Stable across calls so the SDK can hash on it. */
|
|
31993
32437
|
netmask: string$2(),
|
|
@@ -32041,7 +32485,9 @@ var ConnectionEndpointSchema = object({
|
|
|
32041
32485
|
"lan-ipv4",
|
|
32042
32486
|
"lan-ipv6",
|
|
32043
32487
|
"public",
|
|
32044
|
-
"loopback"
|
|
32488
|
+
"loopback",
|
|
32489
|
+
"app-link",
|
|
32490
|
+
"custom"
|
|
32045
32491
|
]),
|
|
32046
32492
|
/**
|
|
32047
32493
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32110,15 +32556,27 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32110
32556
|
localPort: AdvertisedLocalPortSchema
|
|
32111
32557
|
});
|
|
32112
32558
|
/**
|
|
32113
|
-
* The
|
|
32114
|
-
*
|
|
32115
|
-
*
|
|
32559
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
32560
|
+
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32561
|
+
* so the UI can show it either way.
|
|
32116
32562
|
*/
|
|
32117
32563
|
var NotificationEndpointSchema = object({
|
|
32118
32564
|
/** The operator's explicit choice, or null for AUTO. */
|
|
32119
32565
|
baseUrl: string$2().nullable(),
|
|
32120
|
-
/**
|
|
32121
|
-
|
|
32566
|
+
/**
|
|
32567
|
+
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
32568
|
+
* CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
|
|
32569
|
+
* answered the public tunnel / mesh here, or null.
|
|
32570
|
+
*/
|
|
32571
|
+
resolved: string$2().nullable(),
|
|
32572
|
+
/**
|
|
32573
|
+
* The hub origin an app link carries as `hub=` (D709): the hub's best
|
|
32574
|
+
* public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
|
|
32575
|
+
* picked from this cap's own palette by `pickAppLinkHub`. `null` when the
|
|
32576
|
+
* hub advertises neither; the app link is then minted without `hub=`.
|
|
32577
|
+
* Absent on a pre-D709 hub.
|
|
32578
|
+
*/
|
|
32579
|
+
appLinkHub: string$2().nullable()
|
|
32122
32580
|
});
|
|
32123
32581
|
/**
|
|
32124
32582
|
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
@@ -32131,6 +32589,72 @@ var ViewerEndpointsSchema = object({
|
|
|
32131
32589
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
32132
32590
|
resolved: array(string$2()).readonly()
|
|
32133
32591
|
});
|
|
32592
|
+
/**
|
|
32593
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
32594
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
32595
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
32596
|
+
*/
|
|
32597
|
+
var HubAddressSnapshotSchema = object({
|
|
32598
|
+
override: string$2().nullable(),
|
|
32599
|
+
resolved: string$2().nullable(),
|
|
32600
|
+
source: _enum([
|
|
32601
|
+
"override",
|
|
32602
|
+
"auto",
|
|
32603
|
+
"none"
|
|
32604
|
+
])
|
|
32605
|
+
});
|
|
32606
|
+
var HubAddressesSchema = object({
|
|
32607
|
+
cluster: HubAddressSnapshotSchema,
|
|
32608
|
+
browser: HubAddressSnapshotSchema
|
|
32609
|
+
});
|
|
32610
|
+
/**
|
|
32611
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
32612
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
32613
|
+
* by at most one address.
|
|
32614
|
+
*/
|
|
32615
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
32616
|
+
var RoleSourceSchema = _enum([
|
|
32617
|
+
"flagged",
|
|
32618
|
+
"auto",
|
|
32619
|
+
"none"
|
|
32620
|
+
]);
|
|
32621
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
32622
|
+
var HubAddressRoleResolutionSchema = object({
|
|
32623
|
+
/** The address carrying the flag, or null = automatic. */
|
|
32624
|
+
flagged: string$2().nullable(),
|
|
32625
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
32626
|
+
resolved: string$2().nullable(),
|
|
32627
|
+
source: RoleSourceSchema
|
|
32628
|
+
});
|
|
32629
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
32630
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
32631
|
+
flagged: array(string$2()).readonly(),
|
|
32632
|
+
/** What the apps race right now. */
|
|
32633
|
+
resolved: array(string$2()).readonly(),
|
|
32634
|
+
source: RoleSourceSchema
|
|
32635
|
+
});
|
|
32636
|
+
var HubAddressBookSchema = object({
|
|
32637
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
32638
|
+
/** In the hub's detected palette right now. */
|
|
32639
|
+
detected: boolean(),
|
|
32640
|
+
/** Entered by the operator (removable). */
|
|
32641
|
+
custom: boolean(),
|
|
32642
|
+
/** The roles explicitly flagged on this address. */
|
|
32643
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
32644
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
32645
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
32646
|
+
/** The roles this address may be flagged with. */
|
|
32647
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
32648
|
+
})).readonly(),
|
|
32649
|
+
roles: object({
|
|
32650
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
32651
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
32652
|
+
internal: HubAddressRoleResolutionSchema,
|
|
32653
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
32654
|
+
}),
|
|
32655
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
32656
|
+
appLinkHub: string$2().nullable()
|
|
32657
|
+
});
|
|
32134
32658
|
var AllowedAddressesSchema = object({
|
|
32135
32659
|
/**
|
|
32136
32660
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -32172,8 +32696,29 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32172
32696
|
* Pass `'https'` when the caller is itself loaded over HTTPS
|
|
32173
32697
|
* to avoid mixed-content blocks in the browser. The public
|
|
32174
32698
|
* tunnel always emits `https://` regardless. */
|
|
32175
|
-
scheme: _enum(["http", "https"]).optional()
|
|
32176
|
-
|
|
32699
|
+
scheme: _enum(["http", "https"]).optional(),
|
|
32700
|
+
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32701
|
+
* an address notification taps can be flagged with, not a hub
|
|
32702
|
+
* route. Default `false`: racers and rankers never see it. */
|
|
32703
|
+
includeAppLink: boolean().optional()
|
|
32704
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string$2().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string$2()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
32705
|
+
baseUrl: string$2(),
|
|
32706
|
+
label: string$2().max(80)
|
|
32707
|
+
}), HubAddressBookSchema, {
|
|
32708
|
+
kind: "mutation",
|
|
32709
|
+
auth: "admin"
|
|
32710
|
+
}), method(object({ baseUrl: string$2() }), HubAddressBookSchema, {
|
|
32711
|
+
kind: "mutation",
|
|
32712
|
+
auth: "admin"
|
|
32713
|
+
}), method(object({
|
|
32714
|
+
role: HubAddressRoleSchema,
|
|
32715
|
+
baseUrl: string$2().nullable(),
|
|
32716
|
+
enabled: boolean(),
|
|
32717
|
+
acceptInsecureHttp: boolean().optional()
|
|
32718
|
+
}), HubAddressBookSchema, {
|
|
32719
|
+
kind: "mutation",
|
|
32720
|
+
auth: "admin"
|
|
32721
|
+
}), 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$2().optional() }), TlsStatusSchema, {
|
|
32177
32722
|
kind: "mutation",
|
|
32178
32723
|
auth: "admin"
|
|
32179
32724
|
}), method(object({
|
|
@@ -32501,7 +33046,7 @@ var MeshPeerSchema = object({
|
|
|
32501
33046
|
tags: array(string$2()).readonly(),
|
|
32502
33047
|
/** True when the peer advertises itself as an exit-node candidate. */
|
|
32503
33048
|
exitNodeOption: boolean(),
|
|
32504
|
-
/** Subnet routes the peer advertises (e.g. `["192.168.
|
|
33049
|
+
/** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
|
|
32505
33050
|
advertisedRoutes: array(string$2()).readonly(),
|
|
32506
33051
|
/** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
|
|
32507
33052
|
userLogin: string$2().nullable(),
|
|
@@ -32631,7 +33176,8 @@ var MotionStatusSchema = object({
|
|
|
32631
33176
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
32632
33177
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
32633
33178
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
32634
|
-
* A provider's `isDetected`
|
|
33179
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
33180
|
+
* (`hubMotionNativeProvider`).
|
|
32635
33181
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
32636
33182
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
32637
33183
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -33829,7 +34375,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
33829
34375
|
*/
|
|
33830
34376
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
33831
34377
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
33832
|
-
readOnly: boolean().optional()
|
|
34378
|
+
readOnly: boolean().optional(),
|
|
34379
|
+
/**
|
|
34380
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
34381
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
34382
|
+
* copy on the binding.
|
|
34383
|
+
*/
|
|
34384
|
+
maxCharacters: number().int().positive().optional()
|
|
33833
34385
|
})).readonly() });
|
|
33834
34386
|
var OsdOverlayPatchSchema = object({
|
|
33835
34387
|
enabled: boolean().optional(),
|
|
@@ -33880,7 +34432,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
33880
34432
|
valuePath: string$2().min(1).max(64),
|
|
33881
34433
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
33882
34434
|
displayUnit: string$2().max(16).optional(),
|
|
33883
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
34435
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
34436
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
34437
|
+
valueMap: record(string$2(), string$2()).optional()
|
|
33884
34438
|
});
|
|
33885
34439
|
/**
|
|
33886
34440
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -33930,18 +34484,11 @@ var OsdSlotBindingSchema = object({
|
|
|
33930
34484
|
source: OsdSourceSchema,
|
|
33931
34485
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
33932
34486
|
template: string$2().max(96).default("${value}"),
|
|
33933
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
33934
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
33935
34487
|
/**
|
|
33936
34488
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
33937
34489
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
33938
34490
|
*/
|
|
33939
34491
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
33940
|
-
/**
|
|
33941
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
33942
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
33943
|
-
*/
|
|
33944
|
-
unitLabel: string$2().max(8).optional(),
|
|
33945
34492
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
33946
34493
|
valueMap: record(string$2(), string$2()).optional(),
|
|
33947
34494
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -33950,9 +34497,7 @@ var OsdSlotBindingSchema = object({
|
|
|
33950
34497
|
* Display gate, in the notification centre's condition vocabulary.
|
|
33951
34498
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
33952
34499
|
*/
|
|
33953
|
-
conditions: NcConditionsSchema.optional()
|
|
33954
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
33955
|
-
fallbackText: string$2().max(64).default("")
|
|
34500
|
+
conditions: NcConditionsSchema.optional()
|
|
33956
34501
|
});
|
|
33957
34502
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
33958
34503
|
var OsdSlotViewSchema = object({
|
|
@@ -39179,6 +39724,16 @@ var zoneRulesCapability = {
|
|
|
39179
39724
|
durability: "restored"
|
|
39180
39725
|
};
|
|
39181
39726
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
39727
|
+
Object.freeze({
|
|
39728
|
+
person: .5,
|
|
39729
|
+
vehicle: .5,
|
|
39730
|
+
animal: .5
|
|
39731
|
+
});
|
|
39732
|
+
Object.freeze({
|
|
39733
|
+
person: .65,
|
|
39734
|
+
vehicle: .65,
|
|
39735
|
+
animal: .65
|
|
39736
|
+
});
|
|
39182
39737
|
/**
|
|
39183
39738
|
* Accessory device helpers — shared across drivers.
|
|
39184
39739
|
*
|
|
@@ -40877,6 +41432,12 @@ Object.freeze({
|
|
|
40877
41432
|
addonId: null,
|
|
40878
41433
|
access: "view"
|
|
40879
41434
|
},
|
|
41435
|
+
"addons.listInstallations": {
|
|
41436
|
+
capName: "addons",
|
|
41437
|
+
capScope: "system",
|
|
41438
|
+
addonId: null,
|
|
41439
|
+
access: "view"
|
|
41440
|
+
},
|
|
40880
41441
|
"addons.listJobs": {
|
|
40881
41442
|
capName: "addons",
|
|
40882
41443
|
capScope: "system",
|
|
@@ -42059,90 +42620,18 @@ Object.freeze({
|
|
|
42059
42620
|
addonId: null,
|
|
42060
42621
|
access: "create"
|
|
42061
42622
|
},
|
|
42062
|
-
"decoder.createSession": {
|
|
42063
|
-
capName: "decoder",
|
|
42064
|
-
capScope: "system",
|
|
42065
|
-
addonId: null,
|
|
42066
|
-
access: "view"
|
|
42067
|
-
},
|
|
42068
|
-
"decoder.destroySession": {
|
|
42069
|
-
capName: "decoder",
|
|
42070
|
-
capScope: "system",
|
|
42071
|
-
addonId: null,
|
|
42072
|
-
access: "delete"
|
|
42073
|
-
},
|
|
42074
|
-
"decoder.getFrame": {
|
|
42075
|
-
capName: "decoder",
|
|
42076
|
-
capScope: "system",
|
|
42077
|
-
addonId: null,
|
|
42078
|
-
access: "view"
|
|
42079
|
-
},
|
|
42080
42623
|
"decoder.getInfo": {
|
|
42081
42624
|
capName: "decoder",
|
|
42082
42625
|
capScope: "system",
|
|
42083
42626
|
addonId: null,
|
|
42084
42627
|
access: "view"
|
|
42085
42628
|
},
|
|
42086
|
-
"decoder.getShmStats": {
|
|
42087
|
-
capName: "decoder",
|
|
42088
|
-
capScope: "system",
|
|
42089
|
-
addonId: null,
|
|
42090
|
-
access: "view"
|
|
42091
|
-
},
|
|
42092
|
-
"decoder.getStats": {
|
|
42093
|
-
capName: "decoder",
|
|
42094
|
-
capScope: "system",
|
|
42095
|
-
addonId: null,
|
|
42096
|
-
access: "view"
|
|
42097
|
-
},
|
|
42098
|
-
"decoder.listActiveSessions": {
|
|
42099
|
-
capName: "decoder",
|
|
42100
|
-
capScope: "system",
|
|
42101
|
-
addonId: null,
|
|
42102
|
-
access: "view"
|
|
42103
|
-
},
|
|
42104
|
-
"decoder.openStream": {
|
|
42105
|
-
capName: "decoder",
|
|
42106
|
-
capScope: "system",
|
|
42107
|
-
addonId: null,
|
|
42108
|
-
access: "view"
|
|
42109
|
-
},
|
|
42110
|
-
"decoder.pullFrames": {
|
|
42111
|
-
capName: "decoder",
|
|
42112
|
-
capScope: "system",
|
|
42113
|
-
addonId: null,
|
|
42114
|
-
access: "view"
|
|
42115
|
-
},
|
|
42116
|
-
"decoder.pullHandles": {
|
|
42117
|
-
capName: "decoder",
|
|
42118
|
-
capScope: "system",
|
|
42119
|
-
addonId: null,
|
|
42120
|
-
access: "view"
|
|
42121
|
-
},
|
|
42122
|
-
"decoder.pushPacket": {
|
|
42123
|
-
capName: "decoder",
|
|
42124
|
-
capScope: "system",
|
|
42125
|
-
addonId: null,
|
|
42126
|
-
access: "view"
|
|
42127
|
-
},
|
|
42128
42629
|
"decoder.reprobeHwaccel": {
|
|
42129
42630
|
capName: "decoder",
|
|
42130
42631
|
capScope: "system",
|
|
42131
42632
|
addonId: null,
|
|
42132
42633
|
access: "create"
|
|
42133
42634
|
},
|
|
42134
|
-
"decoder.supportsCodec": {
|
|
42135
|
-
capName: "decoder",
|
|
42136
|
-
capScope: "system",
|
|
42137
|
-
addonId: null,
|
|
42138
|
-
access: "view"
|
|
42139
|
-
},
|
|
42140
|
-
"decoder.updateConfig": {
|
|
42141
|
-
capName: "decoder",
|
|
42142
|
-
capScope: "system",
|
|
42143
|
-
addonId: null,
|
|
42144
|
-
access: "view"
|
|
42145
|
-
},
|
|
42146
42635
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
42147
42636
|
capName: "detection-pipeline",
|
|
42148
42637
|
capScope: "device",
|
|
@@ -43631,12 +44120,24 @@ Object.freeze({
|
|
|
43631
44120
|
addonId: null,
|
|
43632
44121
|
access: "view"
|
|
43633
44122
|
},
|
|
44123
|
+
"localNetwork.addCustomAddress": {
|
|
44124
|
+
capName: "local-network",
|
|
44125
|
+
capScope: "system",
|
|
44126
|
+
addonId: null,
|
|
44127
|
+
access: "create"
|
|
44128
|
+
},
|
|
43634
44129
|
"localNetwork.downloadCa": {
|
|
43635
44130
|
capName: "local-network",
|
|
43636
44131
|
capScope: "system",
|
|
43637
44132
|
addonId: null,
|
|
43638
44133
|
access: "view"
|
|
43639
44134
|
},
|
|
44135
|
+
"localNetwork.getAddresses": {
|
|
44136
|
+
capName: "local-network",
|
|
44137
|
+
capScope: "system",
|
|
44138
|
+
addonId: null,
|
|
44139
|
+
access: "view"
|
|
44140
|
+
},
|
|
43640
44141
|
"localNetwork.getAllowedAddresses": {
|
|
43641
44142
|
capName: "local-network",
|
|
43642
44143
|
capScope: "system",
|
|
@@ -43649,6 +44150,12 @@ Object.freeze({
|
|
|
43649
44150
|
addonId: null,
|
|
43650
44151
|
access: "view"
|
|
43651
44152
|
},
|
|
44153
|
+
"localNetwork.getHubAddresses": {
|
|
44154
|
+
capName: "local-network",
|
|
44155
|
+
capScope: "system",
|
|
44156
|
+
addonId: null,
|
|
44157
|
+
access: "view"
|
|
44158
|
+
},
|
|
43652
44159
|
"localNetwork.getNotificationEndpoint": {
|
|
43653
44160
|
capName: "local-network",
|
|
43654
44161
|
capScope: "system",
|
|
@@ -43685,6 +44192,12 @@ Object.freeze({
|
|
|
43685
44192
|
addonId: null,
|
|
43686
44193
|
access: "create"
|
|
43687
44194
|
},
|
|
44195
|
+
"localNetwork.removeCustomAddress": {
|
|
44196
|
+
capName: "local-network",
|
|
44197
|
+
capScope: "system",
|
|
44198
|
+
addonId: null,
|
|
44199
|
+
access: "delete"
|
|
44200
|
+
},
|
|
43688
44201
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
43689
44202
|
capName: "local-network",
|
|
43690
44203
|
capScope: "system",
|
|
@@ -43697,6 +44210,12 @@ Object.freeze({
|
|
|
43697
44210
|
addonId: null,
|
|
43698
44211
|
access: "create"
|
|
43699
44212
|
},
|
|
44213
|
+
"localNetwork.setAddressRole": {
|
|
44214
|
+
capName: "local-network",
|
|
44215
|
+
capScope: "system",
|
|
44216
|
+
addonId: null,
|
|
44217
|
+
access: "create"
|
|
44218
|
+
},
|
|
43700
44219
|
"localNetwork.setAllowedAddresses": {
|
|
43701
44220
|
capName: "local-network",
|
|
43702
44221
|
capScope: "system",
|
|
@@ -45191,13 +45710,13 @@ Object.freeze({
|
|
|
45191
45710
|
addonId: null,
|
|
45192
45711
|
access: "delete"
|
|
45193
45712
|
},
|
|
45194
|
-
"pipelineExecutor.
|
|
45713
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
45195
45714
|
capName: "pipeline-executor",
|
|
45196
45715
|
capScope: "system",
|
|
45197
45716
|
addonId: null,
|
|
45198
45717
|
access: "delete"
|
|
45199
45718
|
},
|
|
45200
|
-
"pipelineExecutor.
|
|
45719
|
+
"pipelineExecutor.deleteModel": {
|
|
45201
45720
|
capName: "pipeline-executor",
|
|
45202
45721
|
capScope: "system",
|
|
45203
45722
|
addonId: null,
|
|
@@ -45341,12 +45860,6 @@ Object.freeze({
|
|
|
45341
45860
|
addonId: null,
|
|
45342
45861
|
access: "view"
|
|
45343
45862
|
},
|
|
45344
|
-
"pipelineExecutor.listTemplates": {
|
|
45345
|
-
capName: "pipeline-executor",
|
|
45346
|
-
capScope: "system",
|
|
45347
|
-
addonId: null,
|
|
45348
|
-
access: "view"
|
|
45349
|
-
},
|
|
45350
45863
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
45351
45864
|
capName: "pipeline-executor",
|
|
45352
45865
|
capScope: "system",
|
|
@@ -45371,12 +45884,6 @@ Object.freeze({
|
|
|
45371
45884
|
addonId: null,
|
|
45372
45885
|
access: "create"
|
|
45373
45886
|
},
|
|
45374
|
-
"pipelineExecutor.saveTemplate": {
|
|
45375
|
-
capName: "pipeline-executor",
|
|
45376
|
-
capScope: "system",
|
|
45377
|
-
addonId: null,
|
|
45378
|
-
access: "create"
|
|
45379
|
-
},
|
|
45380
45887
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
45381
45888
|
capName: "pipeline-executor",
|
|
45382
45889
|
capScope: "system",
|
|
@@ -45395,41 +45902,35 @@ Object.freeze({
|
|
|
45395
45902
|
addonId: null,
|
|
45396
45903
|
access: "create"
|
|
45397
45904
|
},
|
|
45398
|
-
"pipelineExecutor.updateTemplate": {
|
|
45399
|
-
capName: "pipeline-executor",
|
|
45400
|
-
capScope: "system",
|
|
45401
|
-
addonId: null,
|
|
45402
|
-
access: "create"
|
|
45403
|
-
},
|
|
45404
45905
|
"pipelineExecutor.validatePipeline": {
|
|
45405
45906
|
capName: "pipeline-executor",
|
|
45406
45907
|
capScope: "system",
|
|
45407
45908
|
addonId: null,
|
|
45408
45909
|
access: "view"
|
|
45409
45910
|
},
|
|
45410
|
-
"pipelineOrchestrator.
|
|
45911
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
45411
45912
|
capName: "pipeline-orchestrator",
|
|
45412
45913
|
capScope: "system",
|
|
45413
45914
|
addonId: null,
|
|
45414
45915
|
access: "create"
|
|
45415
45916
|
},
|
|
45416
|
-
"pipelineOrchestrator.
|
|
45917
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
45417
45918
|
capName: "pipeline-orchestrator",
|
|
45418
45919
|
capScope: "system",
|
|
45419
45920
|
addonId: null,
|
|
45420
45921
|
access: "create"
|
|
45421
45922
|
},
|
|
45422
|
-
"pipelineOrchestrator.
|
|
45923
|
+
"pipelineOrchestrator.assignAudio": {
|
|
45423
45924
|
capName: "pipeline-orchestrator",
|
|
45424
45925
|
capScope: "system",
|
|
45425
45926
|
addonId: null,
|
|
45426
45927
|
access: "create"
|
|
45427
45928
|
},
|
|
45428
|
-
"pipelineOrchestrator.
|
|
45929
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
45429
45930
|
capName: "pipeline-orchestrator",
|
|
45430
45931
|
capScope: "system",
|
|
45431
45932
|
addonId: null,
|
|
45432
|
-
access: "
|
|
45933
|
+
access: "create"
|
|
45433
45934
|
},
|
|
45434
45935
|
"pipelineOrchestrator.getAgentLoad": {
|
|
45435
45936
|
capName: "pipeline-orchestrator",
|
|
@@ -45521,6 +46022,12 @@ Object.freeze({
|
|
|
45521
46022
|
addonId: null,
|
|
45522
46023
|
access: "view"
|
|
45523
46024
|
},
|
|
46025
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
46026
|
+
capName: "pipeline-orchestrator",
|
|
46027
|
+
capScope: "system",
|
|
46028
|
+
addonId: null,
|
|
46029
|
+
access: "view"
|
|
46030
|
+
},
|
|
45524
46031
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
45525
46032
|
capName: "pipeline-orchestrator",
|
|
45526
46033
|
capScope: "system",
|
|
@@ -45557,19 +46064,19 @@ Object.freeze({
|
|
|
45557
46064
|
addonId: null,
|
|
45558
46065
|
access: "view"
|
|
45559
46066
|
},
|
|
45560
|
-
"pipelineOrchestrator.
|
|
46067
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
45561
46068
|
capName: "pipeline-orchestrator",
|
|
45562
46069
|
capScope: "system",
|
|
45563
46070
|
addonId: null,
|
|
45564
46071
|
access: "view"
|
|
45565
46072
|
},
|
|
45566
|
-
"pipelineOrchestrator.
|
|
46073
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
45567
46074
|
capName: "pipeline-orchestrator",
|
|
45568
46075
|
capScope: "system",
|
|
45569
46076
|
addonId: null,
|
|
45570
46077
|
access: "view"
|
|
45571
46078
|
},
|
|
45572
|
-
"pipelineOrchestrator.
|
|
46079
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
45573
46080
|
capName: "pipeline-orchestrator",
|
|
45574
46081
|
capScope: "system",
|
|
45575
46082
|
addonId: null,
|
|
@@ -45581,6 +46088,12 @@ Object.freeze({
|
|
|
45581
46088
|
addonId: null,
|
|
45582
46089
|
access: "create"
|
|
45583
46090
|
},
|
|
46091
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
46092
|
+
capName: "pipeline-orchestrator",
|
|
46093
|
+
capScope: "system",
|
|
46094
|
+
addonId: null,
|
|
46095
|
+
access: "view"
|
|
46096
|
+
},
|
|
45584
46097
|
"pipelineOrchestrator.rebalance": {
|
|
45585
46098
|
capName: "pipeline-orchestrator",
|
|
45586
46099
|
capScope: "system",
|
|
@@ -45623,12 +46136,6 @@ Object.freeze({
|
|
|
45623
46136
|
addonId: null,
|
|
45624
46137
|
access: "create"
|
|
45625
46138
|
},
|
|
45626
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
45627
|
-
capName: "pipeline-orchestrator",
|
|
45628
|
-
capScope: "system",
|
|
45629
|
-
addonId: null,
|
|
45630
|
-
access: "create"
|
|
45631
|
-
},
|
|
45632
46139
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
45633
46140
|
capName: "pipeline-orchestrator",
|
|
45634
46141
|
capScope: "system",
|
|
@@ -45641,12 +46148,6 @@ Object.freeze({
|
|
|
45641
46148
|
addonId: null,
|
|
45642
46149
|
access: "create"
|
|
45643
46150
|
},
|
|
45644
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
45645
|
-
capName: "pipeline-orchestrator",
|
|
45646
|
-
capScope: "system",
|
|
45647
|
-
addonId: null,
|
|
45648
|
-
access: "create"
|
|
45649
|
-
},
|
|
45650
46151
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
45651
46152
|
capName: "pipeline-orchestrator",
|
|
45652
46153
|
capScope: "system",
|
|
@@ -45683,6 +46184,12 @@ Object.freeze({
|
|
|
45683
46184
|
addonId: null,
|
|
45684
46185
|
access: "create"
|
|
45685
46186
|
},
|
|
46187
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
46188
|
+
capName: "pipeline-orchestrator",
|
|
46189
|
+
capScope: "system",
|
|
46190
|
+
addonId: null,
|
|
46191
|
+
access: "create"
|
|
46192
|
+
},
|
|
45686
46193
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
45687
46194
|
capName: "pipeline-orchestrator",
|
|
45688
46195
|
capScope: "system",
|
|
@@ -45701,25 +46208,37 @@ Object.freeze({
|
|
|
45701
46208
|
addonId: null,
|
|
45702
46209
|
access: "create"
|
|
45703
46210
|
},
|
|
46211
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
46212
|
+
capName: "pipeline-orchestrator",
|
|
46213
|
+
capScope: "system",
|
|
46214
|
+
addonId: null,
|
|
46215
|
+
access: "create"
|
|
46216
|
+
},
|
|
45704
46217
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
45705
46218
|
capName: "pipeline-orchestrator",
|
|
45706
46219
|
capScope: "system",
|
|
45707
46220
|
addonId: null,
|
|
45708
46221
|
access: "create"
|
|
45709
46222
|
},
|
|
45710
|
-
"pipelineOrchestrator.
|
|
46223
|
+
"pipelineOrchestrator.setShareSource": {
|
|
45711
46224
|
capName: "pipeline-orchestrator",
|
|
45712
46225
|
capScope: "system",
|
|
45713
46226
|
addonId: null,
|
|
45714
46227
|
access: "create"
|
|
45715
46228
|
},
|
|
45716
|
-
"pipelineOrchestrator.
|
|
46229
|
+
"pipelineOrchestrator.suggestShares": {
|
|
46230
|
+
capName: "pipeline-orchestrator",
|
|
46231
|
+
capScope: "system",
|
|
46232
|
+
addonId: null,
|
|
46233
|
+
access: "view"
|
|
46234
|
+
},
|
|
46235
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
45717
46236
|
capName: "pipeline-orchestrator",
|
|
45718
46237
|
capScope: "system",
|
|
45719
46238
|
addonId: null,
|
|
45720
46239
|
access: "create"
|
|
45721
46240
|
},
|
|
45722
|
-
"pipelineOrchestrator.
|
|
46241
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
45723
46242
|
capName: "pipeline-orchestrator",
|
|
45724
46243
|
capScope: "system",
|
|
45725
46244
|
addonId: null,
|
|
@@ -47159,12 +47678,6 @@ Object.freeze({
|
|
|
47159
47678
|
addonId: null,
|
|
47160
47679
|
access: "view"
|
|
47161
47680
|
},
|
|
47162
|
-
"streamBroker.pullFrameHandles": {
|
|
47163
|
-
capName: "stream-broker",
|
|
47164
|
-
capScope: "system",
|
|
47165
|
-
addonId: null,
|
|
47166
|
-
access: "view"
|
|
47167
|
-
},
|
|
47168
47681
|
"streamBroker.regenerateRtspToken": {
|
|
47169
47682
|
capName: "stream-broker",
|
|
47170
47683
|
capScope: "system",
|
|
@@ -47231,12 +47744,6 @@ Object.freeze({
|
|
|
47231
47744
|
addonId: null,
|
|
47232
47745
|
access: "create"
|
|
47233
47746
|
},
|
|
47234
|
-
"streamBroker.subscribeFrames": {
|
|
47235
|
-
capName: "stream-broker",
|
|
47236
|
-
capScope: "system",
|
|
47237
|
-
addonId: null,
|
|
47238
|
-
access: "create"
|
|
47239
|
-
},
|
|
47240
47747
|
"streamBroker.unassignProfile": {
|
|
47241
47748
|
capName: "stream-broker",
|
|
47242
47749
|
capScope: "system",
|
|
@@ -47249,12 +47756,6 @@ Object.freeze({
|
|
|
47249
47756
|
addonId: null,
|
|
47250
47757
|
access: "create"
|
|
47251
47758
|
},
|
|
47252
|
-
"streamBroker.unsubscribeFrames": {
|
|
47253
|
-
capName: "stream-broker",
|
|
47254
|
-
capScope: "system",
|
|
47255
|
-
addonId: null,
|
|
47256
|
-
access: "create"
|
|
47257
|
-
},
|
|
47258
47759
|
"streamCatalog.getCatalog": {
|
|
47259
47760
|
capName: "stream-catalog",
|
|
47260
47761
|
capScope: "device",
|
|
@@ -47951,6 +48452,12 @@ Object.freeze({
|
|
|
47951
48452
|
addonId: null,
|
|
47952
48453
|
access: "create"
|
|
47953
48454
|
},
|
|
48455
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
48456
|
+
capName: "webrtc-session",
|
|
48457
|
+
capScope: "device",
|
|
48458
|
+
addonId: null,
|
|
48459
|
+
access: "create"
|
|
48460
|
+
},
|
|
47954
48461
|
"webrtcSession.closeSession": {
|
|
47955
48462
|
capName: "webrtc-session",
|
|
47956
48463
|
capScope: "device",
|
|
@@ -49762,11 +50269,6 @@ Object.freeze({
|
|
|
49762
50269
|
form: "single",
|
|
49763
50270
|
optional: false
|
|
49764
50271
|
}],
|
|
49765
|
-
"decoder.createSession": [{
|
|
49766
|
-
name: "deviceId",
|
|
49767
|
-
form: "single",
|
|
49768
|
-
optional: true
|
|
49769
|
-
}],
|
|
49770
50272
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
49771
50273
|
name: "deviceId",
|
|
49772
50274
|
form: "single",
|
|
@@ -50997,6 +51499,11 @@ Object.freeze({
|
|
|
50997
51499
|
form: "single",
|
|
50998
51500
|
optional: false
|
|
50999
51501
|
}],
|
|
51502
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
51503
|
+
name: "deviceIds",
|
|
51504
|
+
form: "array",
|
|
51505
|
+
optional: true
|
|
51506
|
+
}],
|
|
51000
51507
|
"pipelineExecutor.runPipeline": [{
|
|
51001
51508
|
name: "deviceId",
|
|
51002
51509
|
form: "single",
|
|
@@ -51102,6 +51609,11 @@ Object.freeze({
|
|
|
51102
51609
|
form: "single",
|
|
51103
51610
|
optional: false
|
|
51104
51611
|
}],
|
|
51612
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
51613
|
+
name: "deviceId",
|
|
51614
|
+
form: "single",
|
|
51615
|
+
optional: false
|
|
51616
|
+
}],
|
|
51105
51617
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
51106
51618
|
name: "deviceId",
|
|
51107
51619
|
form: "single",
|
|
@@ -51873,6 +52385,11 @@ Object.freeze({
|
|
|
51873
52385
|
form: "single",
|
|
51874
52386
|
optional: false
|
|
51875
52387
|
}],
|
|
52388
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
52389
|
+
name: "deviceId",
|
|
52390
|
+
form: "single",
|
|
52391
|
+
optional: false
|
|
52392
|
+
}],
|
|
51876
52393
|
"webrtcSession.closeSession": [{
|
|
51877
52394
|
name: "deviceId",
|
|
51878
52395
|
form: "single",
|
|
@@ -52102,6 +52619,8 @@ new Map(Object.entries({
|
|
|
52102
52619
|
"detection-blind": "device-events",
|
|
52103
52620
|
"node-online": "system",
|
|
52104
52621
|
"node-offline": "system",
|
|
52622
|
+
"node-restarting": "system",
|
|
52623
|
+
"node-updating": "system",
|
|
52105
52624
|
"node-inference-unavailable": "system",
|
|
52106
52625
|
"addon-crash-loop": "system",
|
|
52107
52626
|
"addon-update-available": "system",
|
|
@@ -52179,18 +52698,21 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52179
52698
|
kinds: [
|
|
52180
52699
|
"node-offline",
|
|
52181
52700
|
"node-online",
|
|
52701
|
+
"node-restarting",
|
|
52182
52702
|
"node-inference-unavailable"
|
|
52183
52703
|
]
|
|
52184
52704
|
},
|
|
52185
52705
|
{
|
|
52186
52706
|
id: "addons",
|
|
52187
52707
|
family: "system",
|
|
52188
|
-
label: "Addons",
|
|
52189
|
-
kinds: [
|
|
52190
|
-
|
|
52191
|
-
|
|
52192
|
-
|
|
52193
|
-
|
|
52708
|
+
label: "Addons stopped",
|
|
52709
|
+
kinds: ["addon-crash-loop"]
|
|
52710
|
+
},
|
|
52711
|
+
{
|
|
52712
|
+
id: "addon-updates",
|
|
52713
|
+
family: "system",
|
|
52714
|
+
label: "Addon updates",
|
|
52715
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
52194
52716
|
},
|
|
52195
52717
|
{
|
|
52196
52718
|
id: "updates",
|
|
@@ -52198,6 +52720,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52198
52720
|
label: "Server & container updates",
|
|
52199
52721
|
kinds: [
|
|
52200
52722
|
"server-update-available",
|
|
52723
|
+
"node-updating",
|
|
52201
52724
|
"server-updated",
|
|
52202
52725
|
"wrapper-update-available"
|
|
52203
52726
|
]
|
|
@@ -52345,18 +52868,21 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52345
52868
|
kinds: [
|
|
52346
52869
|
"node-offline",
|
|
52347
52870
|
"node-online",
|
|
52871
|
+
"node-restarting",
|
|
52348
52872
|
"node-inference-unavailable"
|
|
52349
52873
|
]
|
|
52350
52874
|
},
|
|
52351
52875
|
{
|
|
52352
52876
|
name: "summaryAddons",
|
|
52353
|
-
label: "Summary: addons",
|
|
52354
|
-
example: "
|
|
52355
|
-
kinds: [
|
|
52356
|
-
|
|
52357
|
-
|
|
52358
|
-
|
|
52359
|
-
|
|
52877
|
+
label: "Summary: addons stopped",
|
|
52878
|
+
example: "hub — recorder stopped after repeated crashes",
|
|
52879
|
+
kinds: ["addon-crash-loop"]
|
|
52880
|
+
},
|
|
52881
|
+
{
|
|
52882
|
+
name: "summaryAddonUpdates",
|
|
52883
|
+
label: "Summary: addon updates",
|
|
52884
|
+
example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
|
|
52885
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
52360
52886
|
},
|
|
52361
52887
|
{
|
|
52362
52888
|
name: "summaryUpdates",
|
|
@@ -52364,6 +52890,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52364
52890
|
example: "server 1.2.377 → 1.2.378",
|
|
52365
52891
|
kinds: [
|
|
52366
52892
|
"server-update-available",
|
|
52893
|
+
"node-updating",
|
|
52367
52894
|
"server-updated",
|
|
52368
52895
|
"wrapper-update-available"
|
|
52369
52896
|
]
|
|
@@ -52396,7 +52923,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52396
52923
|
{
|
|
52397
52924
|
name: "summarySection",
|
|
52398
52925
|
label: "Summary: this section",
|
|
52399
|
-
description: "The section a per-section summary row is about
|
|
52926
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
52400
52927
|
example: "Batterie scariche",
|
|
52401
52928
|
group: "system",
|
|
52402
52929
|
families: ["rule"],
|
|
@@ -52440,6 +52967,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52440
52967
|
[...RULE_BODY_ONLY],
|
|
52441
52968
|
[...RULE_TEXT],
|
|
52442
52969
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
52970
|
+
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
52443
52971
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
52444
52972
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
52445
52973
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
@@ -52480,6 +53008,8 @@ var STATE_SUMMARY_VARS = [
|
|
|
52480
53008
|
[...RULE_TEXT],
|
|
52481
53009
|
[...RULE_TEXT],
|
|
52482
53010
|
[...RULE_TEXT],
|
|
53011
|
+
[...RULE_TEXT],
|
|
53012
|
+
[...RULE_TEXT],
|
|
52483
53013
|
...STATE_SUMMARY_VARS
|
|
52484
53014
|
];
|
|
52485
53015
|
new Set([
|