@camstack/addon-provider-petkit 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.js
CHANGED
|
@@ -1101,7 +1101,7 @@ var Nodepetkit = class {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
};
|
|
1103
1103
|
//#endregion
|
|
1104
|
-
//#region ../types/dist/event-category-
|
|
1104
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
1105
1105
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
1106
1106
|
EventCategory["SystemBoot"] = "system.boot";
|
|
1107
1107
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1602,15 +1602,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1602
1602
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
1603
1603
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
1604
1604
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
1605
|
-
/**
|
|
1606
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
1607
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
1608
|
-
* `createSession`, so running sessions keep their current backend until
|
|
1609
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
1610
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
1611
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
1612
|
-
*/
|
|
1613
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
1614
1605
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
1615
1606
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
1616
1607
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -6481,7 +6472,7 @@ var ZodIssueCode = {
|
|
|
6481
6472
|
var ZodFirstPartyTypeKind;
|
|
6482
6473
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6483
6474
|
//#endregion
|
|
6484
|
-
//#region ../types/dist/sleep-
|
|
6475
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
6485
6476
|
/**
|
|
6486
6477
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6487
6478
|
* window to float samples (D455).
|
|
@@ -7847,32 +7838,12 @@ object({
|
|
|
7847
7838
|
audioCodec: string().optional(),
|
|
7848
7839
|
metadata: record(string(), unknown()).readonly().optional()
|
|
7849
7840
|
});
|
|
7850
|
-
var EncodedPacketSchema = object({
|
|
7851
|
-
type: _enum(["video", "audio"]),
|
|
7852
|
-
data: _instanceof(Uint8Array),
|
|
7853
|
-
pts: number(),
|
|
7854
|
-
dts: number(),
|
|
7855
|
-
keyframe: boolean(),
|
|
7856
|
-
codec: string()
|
|
7857
|
-
});
|
|
7858
|
-
var DecodedFrameSchema = object({
|
|
7859
|
-
data: _instanceof(Uint8Array),
|
|
7860
|
-
width: number(),
|
|
7861
|
-
height: number(),
|
|
7862
|
-
format: _enum([
|
|
7863
|
-
"jpeg",
|
|
7864
|
-
"rgb",
|
|
7865
|
-
"bgr",
|
|
7866
|
-
"yuv420",
|
|
7867
|
-
"gray"
|
|
7868
|
-
]),
|
|
7869
|
-
timestamp: number()
|
|
7870
|
-
});
|
|
7871
7841
|
/**
|
|
7872
7842
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
7873
7843
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
7874
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
7875
|
-
*
|
|
7844
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
7845
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
7846
|
+
* over tRPC / Moleculer.
|
|
7876
7847
|
*
|
|
7877
7848
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
7878
7849
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -7898,50 +7869,6 @@ var FrameHandleSchema = object({
|
|
|
7898
7869
|
slotCount: number().int().positive()
|
|
7899
7870
|
});
|
|
7900
7871
|
/**
|
|
7901
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
7902
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
7903
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
7904
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
7905
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
7906
|
-
*/
|
|
7907
|
-
var FrameHandleFormatSchema = _enum([
|
|
7908
|
-
"rgb",
|
|
7909
|
-
"bgr",
|
|
7910
|
-
"yuv420",
|
|
7911
|
-
"gray"
|
|
7912
|
-
]);
|
|
7913
|
-
/**
|
|
7914
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
7915
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
7916
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
7917
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
7918
|
-
* they asked for with no broker-side conversion.
|
|
7919
|
-
*/
|
|
7920
|
-
var SubscribeFramesInputSchema = object({
|
|
7921
|
-
brokerId: string(),
|
|
7922
|
-
format: FrameHandleFormatSchema,
|
|
7923
|
-
/**
|
|
7924
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
7925
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
7926
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
7927
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
7928
|
-
*/
|
|
7929
|
-
maxFps: number().positive().optional(),
|
|
7930
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
7931
|
-
tag: string().optional()
|
|
7932
|
-
});
|
|
7933
|
-
/**
|
|
7934
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
7935
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
7936
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
7937
|
-
*/
|
|
7938
|
-
var SubscribeFramesResultSchema = object({
|
|
7939
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
7940
|
-
subscriptionId: string(),
|
|
7941
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
7942
|
-
maxFps: number().nonnegative()
|
|
7943
|
-
});
|
|
7944
|
-
/**
|
|
7945
7872
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
7946
7873
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
7947
7874
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -7949,8 +7876,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
7949
7876
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
7950
7877
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
7951
7878
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
7952
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
7953
|
-
*
|
|
7879
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
7880
|
+
* it.
|
|
7954
7881
|
*/
|
|
7955
7882
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
7956
7883
|
var DecodedAudioChunkSchema = object({
|
|
@@ -7968,11 +7895,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
7968
7895
|
format: AudioChunkFormatSchema.optional()
|
|
7969
7896
|
});
|
|
7970
7897
|
/**
|
|
7971
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
7972
|
-
*
|
|
7973
|
-
*
|
|
7974
|
-
*
|
|
7975
|
-
* `pullAudioChunks`.
|
|
7898
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
7899
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
7900
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
7901
|
+
* the consumer drains via `pullAudioChunks`.
|
|
7976
7902
|
*/
|
|
7977
7903
|
var SubscribeAudioChunksInputSchema = object({
|
|
7978
7904
|
brokerId: string(),
|
|
@@ -8003,9 +7929,7 @@ var BrokerStatsSchema = object({
|
|
|
8003
7929
|
"stopped"
|
|
8004
7930
|
]),
|
|
8005
7931
|
inputFps: number(),
|
|
8006
|
-
decodeFps: number(),
|
|
8007
7932
|
encodedSubscribers: number(),
|
|
8008
|
-
decodedSubscribers: number(),
|
|
8009
7933
|
uptimeMs: number(),
|
|
8010
7934
|
bitrateKbps: number(),
|
|
8011
7935
|
idrIntervalMs: number(),
|
|
@@ -8018,14 +7942,6 @@ var BrokerStatsSchema = object({
|
|
|
8018
7942
|
preBufferMs: number(),
|
|
8019
7943
|
preBufferPackets: number(),
|
|
8020
7944
|
/**
|
|
8021
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
8022
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
8023
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
8024
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
8025
|
-
* a separate cap call per broker.
|
|
8026
|
-
*/
|
|
8027
|
-
decoderNodeId: string().nullable(),
|
|
8028
|
-
/**
|
|
8029
7945
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
8030
7946
|
* when the stream has no audio track or the broker is in cold start.
|
|
8031
7947
|
* `supported = false` means the codec was detected but the local
|
|
@@ -11361,70 +11277,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
11361
11277
|
"backup"
|
|
11362
11278
|
]).optional()
|
|
11363
11279
|
});
|
|
11364
|
-
var DecoderStatsSchema = object({
|
|
11365
|
-
inputFps: number(),
|
|
11366
|
-
outputFps: number(),
|
|
11367
|
-
avgDecodeTimeMs: number(),
|
|
11368
|
-
droppedFrames: number(),
|
|
11369
|
-
/**
|
|
11370
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
11371
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
11372
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
11373
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
11374
|
-
*/
|
|
11375
|
-
lagMs: number().optional(),
|
|
11376
|
-
effectiveFps: number().optional(),
|
|
11377
|
-
adaptiveFps: number().optional()
|
|
11378
|
-
});
|
|
11379
|
-
var DecoderSessionConfigSchema = object({
|
|
11380
|
-
codec: string(),
|
|
11381
|
-
maxFps: number().default(0),
|
|
11382
|
-
outputFormat: _enum([
|
|
11383
|
-
"jpeg",
|
|
11384
|
-
"rgb",
|
|
11385
|
-
"bgr",
|
|
11386
|
-
"yuv420",
|
|
11387
|
-
"gray"
|
|
11388
|
-
]).default("jpeg"),
|
|
11389
|
-
scale: number().default(1),
|
|
11390
|
-
width: number().optional(),
|
|
11391
|
-
height: number().optional(),
|
|
11392
|
-
/**
|
|
11393
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
11394
|
-
* because the cap is generic (any caller could request decode), but
|
|
11395
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
11396
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
11397
|
-
* sendPacket errors on a single hung camera).
|
|
11398
|
-
*/
|
|
11399
|
-
deviceId: number().int().nonnegative().optional(),
|
|
11400
|
-
/**
|
|
11401
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
11402
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
11403
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
11404
|
-
* profile cleanly.
|
|
11405
|
-
*/
|
|
11406
|
-
tag: string().optional(),
|
|
11407
|
-
/**
|
|
11408
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
11409
|
-
*
|
|
11410
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
11411
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
11412
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
11413
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
11414
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
11415
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
11416
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
11417
|
-
*/
|
|
11418
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
11419
|
-
/**
|
|
11420
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
11421
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
11422
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
11423
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
11424
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
11425
|
-
*/
|
|
11426
|
-
debug: boolean().optional()
|
|
11427
|
-
});
|
|
11428
11280
|
/**
|
|
11429
11281
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
11430
11282
|
* an addon declares its channels in.
|
|
@@ -11567,6 +11419,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
11567
11419
|
"balanced",
|
|
11568
11420
|
"strict"
|
|
11569
11421
|
]);
|
|
11422
|
+
/** Steps whose effect a root label can BE. */
|
|
11423
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
11424
|
+
"animal-classifier",
|
|
11425
|
+
"vehicle-classifier",
|
|
11426
|
+
"package-detection"
|
|
11427
|
+
];
|
|
11428
|
+
/** Steps whose box a root detection can BE. */
|
|
11429
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
11430
|
+
/**
|
|
11431
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
11432
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
11433
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
11434
|
+
* no camera tree carries.)
|
|
11435
|
+
*/
|
|
11436
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
11437
|
+
[
|
|
11438
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
11439
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
11440
|
+
...MASK_SUPPLY_STEP_IDS
|
|
11441
|
+
];
|
|
11570
11442
|
var MODEL_FORMATS = [
|
|
11571
11443
|
"onnx",
|
|
11572
11444
|
"coreml",
|
|
@@ -11595,7 +11467,53 @@ var ModelFormatEntrySchema = object({
|
|
|
11595
11467
|
/** Multi-file payload (directory members or sibling files). */
|
|
11596
11468
|
files: array(string()).readonly().optional(),
|
|
11597
11469
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
11598
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
11470
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
11471
|
+
/**
|
|
11472
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
11473
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
11474
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
11475
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
11476
|
+
* node records the revision it downloaded next to the file
|
|
11477
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
11478
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
11479
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
11480
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
11481
|
+
*/
|
|
11482
|
+
revision: string().min(1).optional()
|
|
11483
|
+
});
|
|
11484
|
+
/**
|
|
11485
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
11486
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
11487
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
11488
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
11489
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
11490
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
11491
|
+
*/
|
|
11492
|
+
var ModelOnDiskStateSchema = _enum([
|
|
11493
|
+
"current",
|
|
11494
|
+
"stale",
|
|
11495
|
+
"missing"
|
|
11496
|
+
]);
|
|
11497
|
+
/**
|
|
11498
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
11499
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
11500
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
11501
|
+
*/
|
|
11502
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
11503
|
+
"fp32",
|
|
11504
|
+
"fp16",
|
|
11505
|
+
"int8"
|
|
11506
|
+
]);
|
|
11507
|
+
/**
|
|
11508
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
11509
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
11510
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
11511
|
+
*/
|
|
11512
|
+
var PipelineModelFormatStatusSchema = object({
|
|
11513
|
+
downloaded: boolean(),
|
|
11514
|
+
sizeMB: number(),
|
|
11515
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
11516
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
11599
11517
|
});
|
|
11600
11518
|
/**
|
|
11601
11519
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -11636,11 +11554,11 @@ var ModelVariantGroupSchema = object({
|
|
|
11636
11554
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
11637
11555
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
11638
11556
|
/**
|
|
11639
|
-
*
|
|
11640
|
-
*
|
|
11641
|
-
*
|
|
11557
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
11558
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
11559
|
+
* label is "Test".
|
|
11642
11560
|
*/
|
|
11643
|
-
optimization: _enum(["standard", "
|
|
11561
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
11644
11562
|
/**
|
|
11645
11563
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
11646
11564
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -11663,9 +11581,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
11663
11581
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
11664
11582
|
* string still parses — the string is lifted into `{ weights }`.
|
|
11665
11583
|
*
|
|
11666
|
-
* Every licence surface (the
|
|
11667
|
-
*
|
|
11668
|
-
*
|
|
11584
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
11585
|
+
* model table) is GENERATED from these records by
|
|
11586
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
11587
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
11669
11588
|
*/
|
|
11670
11589
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
11671
11590
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -11698,6 +11617,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
11698
11617
|
/** True when the weights or their data forbid commercial use. */
|
|
11699
11618
|
nonCommercial: boolean().optional()
|
|
11700
11619
|
}));
|
|
11620
|
+
/**
|
|
11621
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
11622
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
11623
|
+
*
|
|
11624
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
11625
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
11626
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
11627
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
11628
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
11629
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
11630
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
11631
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
11632
|
+
* detection in the shape that step produces. Derived from the model's
|
|
11633
|
+
* postprocessor on read, never stored by an import.
|
|
11634
|
+
*/
|
|
11635
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
11636
|
+
object({
|
|
11637
|
+
kind: literal("label"),
|
|
11638
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
11639
|
+
labelToEffect: record(string(), string()),
|
|
11640
|
+
uncovered: array(string()).readonly()
|
|
11641
|
+
}),
|
|
11642
|
+
object({
|
|
11643
|
+
kind: literal("crop"),
|
|
11644
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
11645
|
+
rootLabels: array(string()).readonly(),
|
|
11646
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
11647
|
+
childClass: _enum(["plate", "face"]),
|
|
11648
|
+
/**
|
|
11649
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
11650
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
11651
|
+
* stored by an import.
|
|
11652
|
+
*/
|
|
11653
|
+
rootInputPx: number().int().positive().optional()
|
|
11654
|
+
}),
|
|
11655
|
+
object({
|
|
11656
|
+
kind: literal("mask"),
|
|
11657
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
11658
|
+
})
|
|
11659
|
+
]);
|
|
11701
11660
|
var ModelCatalogEntrySchema = object({
|
|
11702
11661
|
id: string(),
|
|
11703
11662
|
name: string(),
|
|
@@ -11763,6 +11722,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11763
11722
|
*/
|
|
11764
11723
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11765
11724
|
/**
|
|
11725
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
11726
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
11727
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
11728
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
11729
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
11730
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
11731
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
11732
|
+
*/
|
|
11733
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
11734
|
+
/**
|
|
11735
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
11736
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
11737
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
11738
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
11739
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
11740
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
11741
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
11742
|
+
*/
|
|
11743
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
11744
|
+
/**
|
|
11745
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
11746
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
11747
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
11748
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
11749
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
11750
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
11751
|
+
*/
|
|
11752
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
11753
|
+
/**
|
|
11766
11754
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11767
11755
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11768
11756
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -11824,6 +11812,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
11824
11812
|
*/
|
|
11825
11813
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
11826
11814
|
/**
|
|
11815
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
11816
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
11817
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
11818
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
11819
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
11820
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
11821
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
11822
|
+
*/
|
|
11823
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
11824
|
+
/**
|
|
11827
11825
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
11828
11826
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
11829
11827
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -13425,13 +13423,6 @@ var BrokerRtspClientSchema = object({
|
|
|
13425
13423
|
lastRtpAt: number(),
|
|
13426
13424
|
bytesSent: number()
|
|
13427
13425
|
});
|
|
13428
|
-
var BrokerDecodedClientSchema = object({
|
|
13429
|
-
tag: string(),
|
|
13430
|
-
subscribedAt: number(),
|
|
13431
|
-
maxFps: number(),
|
|
13432
|
-
framesDelivered: number(),
|
|
13433
|
-
framesDropped: number()
|
|
13434
|
-
});
|
|
13435
13426
|
var BrokerAudioClientSchema = object({
|
|
13436
13427
|
tag: string(),
|
|
13437
13428
|
subscribedAt: number(),
|
|
@@ -13523,7 +13514,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
13523
13514
|
});
|
|
13524
13515
|
var BrokerClientsSchema = object({
|
|
13525
13516
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
13526
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
13527
13517
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
13528
13518
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
13529
13519
|
pipeClients: number(),
|
|
@@ -13892,11 +13882,7 @@ method(object({
|
|
|
13892
13882
|
auth: "admin"
|
|
13893
13883
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13894
13884
|
brokerId: string(),
|
|
13895
|
-
channel: _enum([
|
|
13896
|
-
"rtsp",
|
|
13897
|
-
"decoded",
|
|
13898
|
-
"audio"
|
|
13899
|
-
]),
|
|
13885
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13900
13886
|
handle: string()
|
|
13901
13887
|
}), object({ killed: boolean() }), {
|
|
13902
13888
|
kind: "mutation",
|
|
@@ -13931,10 +13917,7 @@ method(object({
|
|
|
13931
13917
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13932
13918
|
subscriptionId: string(),
|
|
13933
13919
|
maxCount: number().int().positive().default(8)
|
|
13934
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13935
|
-
subscriptionId: string(),
|
|
13936
|
-
maxCount: number().int().positive().default(4)
|
|
13937
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13920
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13938
13921
|
brokerId: string(),
|
|
13939
13922
|
seconds: number().min(0).max(30)
|
|
13940
13923
|
}), _void(), {
|
|
@@ -15193,54 +15176,12 @@ id: union([string(), number()]) }), {
|
|
|
15193
15176
|
kind: "mutation",
|
|
15194
15177
|
auth: "admin"
|
|
15195
15178
|
});
|
|
15196
|
-
|
|
15197
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
15198
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
15199
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
15200
|
-
*/
|
|
15201
|
-
var ShmRingStatsSchema = object({
|
|
15202
|
-
sessionId: string(),
|
|
15203
|
-
slotCount: number().int(),
|
|
15204
|
-
slotByteLength: number().int(),
|
|
15205
|
-
segmentBytes: number().int(),
|
|
15206
|
-
budgetMb: number().int(),
|
|
15207
|
-
framesWritten: number().int(),
|
|
15208
|
-
getFrameHits: number().int(),
|
|
15209
|
-
getFrameMisses: number().int()
|
|
15210
|
-
});
|
|
15211
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
15179
|
+
method(_void(), object({
|
|
15212
15180
|
id: string(),
|
|
15213
15181
|
name: string(),
|
|
15214
|
-
isPullMode: boolean().optional(),
|
|
15215
|
-
priority: number().optional(),
|
|
15216
15182
|
hwaccel: string().optional(),
|
|
15217
15183
|
probedBestHwaccel: string().optional()
|
|
15218
|
-
})), method(
|
|
15219
|
-
sessionId: string(),
|
|
15220
|
-
nodeId: string()
|
|
15221
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
15222
|
-
sessionId: string(),
|
|
15223
|
-
packet: EncodedPacketSchema
|
|
15224
|
-
}), _void()), method(object({
|
|
15225
|
-
sessionId: string(),
|
|
15226
|
-
url: string()
|
|
15227
|
-
}), _void()), method(object({
|
|
15228
|
-
sessionId: string(),
|
|
15229
|
-
maxCount: number().default(1),
|
|
15230
|
-
waitMs: number().optional()
|
|
15231
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
15232
|
-
sessionId: string(),
|
|
15233
|
-
maxCount: number().default(1),
|
|
15234
|
-
waitMs: number().optional()
|
|
15235
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
15236
|
-
sessionId: string(),
|
|
15237
|
-
config: DecoderSessionConfigSchema.partial()
|
|
15238
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
15239
|
-
sessionId: string(),
|
|
15240
|
-
codec: string(),
|
|
15241
|
-
outputFormat: string(),
|
|
15242
|
-
createdAtMs: number()
|
|
15243
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
15184
|
+
})), method(_void(), object({ backend: string() }), {
|
|
15244
15185
|
kind: "mutation",
|
|
15245
15186
|
auth: "admin"
|
|
15246
15187
|
});
|
|
@@ -15296,7 +15237,7 @@ DeviceType.Camera;
|
|
|
15296
15237
|
* This matters here more than anywhere else in the repo, because every provider
|
|
15297
15238
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
15298
15239
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
15299
|
-
* and `http://admin:hunter2@192.168.
|
|
15240
|
+
* and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
|
|
15300
15241
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
15301
15242
|
* filling it is the operator's business, not ours.
|
|
15302
15243
|
*
|
|
@@ -17289,6 +17230,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
17289
17230
|
kind: "mutation",
|
|
17290
17231
|
auth: "admin"
|
|
17291
17232
|
});
|
|
17233
|
+
var HUB_ADDRESS_ROLES = [
|
|
17234
|
+
"appConnections",
|
|
17235
|
+
"notificationTaps",
|
|
17236
|
+
"internal",
|
|
17237
|
+
"publicEndpoint"
|
|
17238
|
+
];
|
|
17292
17239
|
/**
|
|
17293
17240
|
* Transport bounds for AI capability methods.
|
|
17294
17241
|
*
|
|
@@ -18485,7 +18432,7 @@ method(object({
|
|
|
18485
18432
|
timeoutMs: 6e5
|
|
18486
18433
|
});
|
|
18487
18434
|
method(object({
|
|
18488
|
-
|
|
18435
|
+
targetNodeId: string(),
|
|
18489
18436
|
modelId: string(),
|
|
18490
18437
|
format: _enum(MODEL_FORMATS),
|
|
18491
18438
|
entry: ModelCatalogEntrySchema
|
|
@@ -19891,6 +19838,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
19891
19838
|
"stream-offline",
|
|
19892
19839
|
"node-online",
|
|
19893
19840
|
"node-offline",
|
|
19841
|
+
"node-restarting",
|
|
19842
|
+
"node-updating",
|
|
19894
19843
|
"node-inference-unavailable",
|
|
19895
19844
|
"detection-blind",
|
|
19896
19845
|
"addon-crash-loop",
|
|
@@ -20989,8 +20938,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
20989
20938
|
disabledTargetIds: array(string()).default([])
|
|
20990
20939
|
});
|
|
20991
20940
|
/**
|
|
20992
|
-
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that
|
|
20993
|
-
* still-true state. `
|
|
20941
|
+
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
20942
|
+
* report a still-true state. `addons` is the crash-looped addons only and
|
|
20943
|
+
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
20994
20944
|
* job is not an open state, and the alarm stays instant.
|
|
20995
20945
|
*/
|
|
20996
20946
|
var NcStateSummarySectionIdSchema = _enum([
|
|
@@ -21002,6 +20952,7 @@ var NcStateSummarySectionIdSchema = _enum([
|
|
|
21002
20952
|
"detection-blind",
|
|
21003
20953
|
"nodes",
|
|
21004
20954
|
"addons",
|
|
20955
|
+
"addon-updates",
|
|
21005
20956
|
"updates"
|
|
21006
20957
|
]);
|
|
21007
20958
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
@@ -21482,7 +21433,25 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
21482
21433
|
* When this mode may be armed. Absent / null = always allowed (same as a
|
|
21483
21434
|
* rule with no `schedule`). Evaluated with {@link isScheduleActive}.
|
|
21484
21435
|
*/
|
|
21485
|
-
schedule: NcScheduleSchema.optional()
|
|
21436
|
+
schedule: NcScheduleSchema.optional(),
|
|
21437
|
+
/**
|
|
21438
|
+
* D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
|
|
21439
|
+
* intrusion naming the locations)? Absent = false — the entry-delay notification is the
|
|
21440
|
+
* only one, and the matches ride the triggered notification's mosaic (D705).
|
|
21441
|
+
*/
|
|
21442
|
+
notifyDuringEntryDelay: boolean().optional(),
|
|
21443
|
+
/**
|
|
21444
|
+
* D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
|
|
21445
|
+
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
21446
|
+
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
21447
|
+
*/
|
|
21448
|
+
notifySensorRewatched: boolean().optional(),
|
|
21449
|
+
/**
|
|
21450
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
21451
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
21452
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
21453
|
+
*/
|
|
21454
|
+
notifySensorIgnored: boolean().optional()
|
|
21486
21455
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
21487
21456
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
21488
21457
|
mode: AlarmArmModeSchema,
|
|
@@ -21491,7 +21460,13 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
21491
21460
|
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
|
|
21492
21461
|
postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
|
|
21493
21462
|
/** Set a schedule, or `null` to clear (mode always allowed again). */
|
|
21494
|
-
schedule: NcScheduleSchema.nullable().optional()
|
|
21463
|
+
schedule: NcScheduleSchema.nullable().optional(),
|
|
21464
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
21465
|
+
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
21466
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
21467
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
21468
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
21469
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
21495
21470
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
21496
21471
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
21497
21472
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -22452,45 +22427,25 @@ Object.freeze(Object.fromEntries([{
|
|
|
22452
22427
|
label: "Face recognition model",
|
|
22453
22428
|
defaultModelId: "auraface-r100",
|
|
22454
22429
|
indexName: "the enrolled face gallery",
|
|
22455
|
-
options: [
|
|
22456
|
-
|
|
22457
|
-
|
|
22458
|
-
|
|
22459
|
-
},
|
|
22460
|
-
{
|
|
22461
|
-
id: "arcface-r100",
|
|
22462
|
-
label: "ArcFace (ResNet34)"
|
|
22463
|
-
},
|
|
22464
|
-
{
|
|
22465
|
-
id: "inception-resnet-v1",
|
|
22466
|
-
label: "Inception ResNet V1"
|
|
22467
|
-
}
|
|
22468
|
-
]
|
|
22430
|
+
options: [{
|
|
22431
|
+
id: "auraface-r100",
|
|
22432
|
+
label: "AuraFace R100"
|
|
22433
|
+
}]
|
|
22469
22434
|
}, {
|
|
22470
22435
|
stepId: "clip-embedding",
|
|
22471
22436
|
label: "Semantic search model",
|
|
22472
|
-
defaultModelId: "
|
|
22437
|
+
defaultModelId: "siglip2-b16-224",
|
|
22473
22438
|
indexName: "the object semantic-search index",
|
|
22474
|
-
options: [
|
|
22475
|
-
|
|
22476
|
-
|
|
22477
|
-
|
|
22478
|
-
},
|
|
22479
|
-
{
|
|
22480
|
-
id: "mobileclip-s2",
|
|
22481
|
-
label: "MobileCLIP S2"
|
|
22482
|
-
},
|
|
22483
|
-
{
|
|
22484
|
-
id: "siglip2-b16-224",
|
|
22485
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
22486
|
-
}
|
|
22487
|
-
]
|
|
22439
|
+
options: [{
|
|
22440
|
+
id: "siglip2-b16-224",
|
|
22441
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
22442
|
+
}]
|
|
22488
22443
|
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
22489
22444
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
22490
22445
|
stepId: "face-embedding",
|
|
22491
22446
|
key: "minLandmarkFaceSize",
|
|
22492
|
-
label: "Min face size
|
|
22493
|
-
description: "
|
|
22447
|
+
label: "Min face size to embed (detection-frame px)",
|
|
22448
|
+
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.",
|
|
22494
22449
|
type: "slider",
|
|
22495
22450
|
min: 0,
|
|
22496
22451
|
max: 64,
|
|
@@ -24410,6 +24365,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
24410
24365
|
timestamp: number()
|
|
24411
24366
|
});
|
|
24412
24367
|
/**
|
|
24368
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
24369
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
24370
|
+
*/
|
|
24371
|
+
var SuppliedRootOutputSchema = object({
|
|
24372
|
+
stepId: string(),
|
|
24373
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
24374
|
+
modelId: string(),
|
|
24375
|
+
detections: array(object({
|
|
24376
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
24377
|
+
bbox: tuple([
|
|
24378
|
+
number(),
|
|
24379
|
+
number(),
|
|
24380
|
+
number(),
|
|
24381
|
+
number()
|
|
24382
|
+
]),
|
|
24383
|
+
score: number(),
|
|
24384
|
+
/**
|
|
24385
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
24386
|
+
* detector already re-found inside a root face box (D730), so its
|
|
24387
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
24388
|
+
*/
|
|
24389
|
+
landmarks: array(object({
|
|
24390
|
+
x: number(),
|
|
24391
|
+
y: number()
|
|
24392
|
+
})).optional()
|
|
24393
|
+
})).min(1)
|
|
24394
|
+
});
|
|
24395
|
+
/**
|
|
24413
24396
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
24414
24397
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
24415
24398
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -24457,7 +24440,7 @@ var FrameRefSchema = object({
|
|
|
24457
24440
|
timestamp: number(),
|
|
24458
24441
|
capturedAt: number().optional()
|
|
24459
24442
|
});
|
|
24460
|
-
var ModelFormatSchema$
|
|
24443
|
+
var ModelFormatSchema$2 = _enum([
|
|
24461
24444
|
"onnx",
|
|
24462
24445
|
"coreml",
|
|
24463
24446
|
"openvino",
|
|
@@ -24475,7 +24458,7 @@ var PipelineSlotSchema = _enum([
|
|
|
24475
24458
|
var PipelineEngineChoiceSchema = object({
|
|
24476
24459
|
runtime: literal("python"),
|
|
24477
24460
|
backend: string(),
|
|
24478
|
-
format: ModelFormatSchema$
|
|
24461
|
+
format: ModelFormatSchema$2,
|
|
24479
24462
|
device: string().optional()
|
|
24480
24463
|
});
|
|
24481
24464
|
/**
|
|
@@ -24514,32 +24497,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
24514
24497
|
group: string().optional(),
|
|
24515
24498
|
settings: record(string(), unknown()).optional()
|
|
24516
24499
|
}));
|
|
24517
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
24518
|
-
addonId: string(),
|
|
24519
|
-
enabled: boolean(),
|
|
24520
|
-
modelId: string(),
|
|
24521
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
24522
|
-
settings: record(string(), unknown()).optional()
|
|
24523
|
-
}));
|
|
24524
|
-
var PipelineTemplateSchema$1 = object({
|
|
24525
|
-
id: string(),
|
|
24526
|
-
name: string(),
|
|
24527
|
-
createdAt: string(),
|
|
24528
|
-
updatedAt: string(),
|
|
24529
|
-
engine: PipelineEngineChoiceSchema,
|
|
24530
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
24531
|
-
});
|
|
24532
24500
|
var PipelineModelOptionSchema = object({
|
|
24533
24501
|
id: string(),
|
|
24534
24502
|
name: string(),
|
|
24535
|
-
formats: record(string(),
|
|
24536
|
-
downloaded: boolean(),
|
|
24537
|
-
sizeMB: number()
|
|
24538
|
-
})),
|
|
24503
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
24539
24504
|
group: ModelVariantGroupSchema.optional(),
|
|
24540
24505
|
legacy: boolean().optional(),
|
|
24541
24506
|
provider: ModelProviderIdSchema.optional(),
|
|
24542
|
-
defaultConfidence: number().optional()
|
|
24507
|
+
defaultConfidence: number().optional(),
|
|
24508
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
24543
24509
|
});
|
|
24544
24510
|
var ConfigFieldBridge = custom();
|
|
24545
24511
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -24701,6 +24667,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24701
24667
|
}), {
|
|
24702
24668
|
kind: "mutation",
|
|
24703
24669
|
auth: "admin"
|
|
24670
|
+
}), method(object({
|
|
24671
|
+
nodeId: string(),
|
|
24672
|
+
deviceIds: array(number()).readonly().optional(),
|
|
24673
|
+
dryRun: boolean()
|
|
24674
|
+
}), object({
|
|
24675
|
+
entries: array(object({
|
|
24676
|
+
deviceId: number(),
|
|
24677
|
+
keys: array(string()).readonly()
|
|
24678
|
+
})).readonly(),
|
|
24679
|
+
refused: array(object({
|
|
24680
|
+
deviceId: number(),
|
|
24681
|
+
reason: string()
|
|
24682
|
+
})).readonly()
|
|
24683
|
+
}), {
|
|
24684
|
+
kind: "mutation",
|
|
24685
|
+
auth: "admin"
|
|
24704
24686
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
24705
24687
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
24706
24688
|
deviceKey: string(),
|
|
@@ -24726,22 +24708,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24726
24708
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
24727
24709
|
steps: array(PipelineStepInputSchema),
|
|
24728
24710
|
deviceKey: string().optional()
|
|
24729
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
24730
|
-
name: string(),
|
|
24731
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
24732
|
-
engine: PipelineEngineChoiceSchema
|
|
24733
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
24734
|
-
id: string(),
|
|
24735
|
-
name: string().optional(),
|
|
24736
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
24737
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24711
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24738
24712
|
addonId: string(),
|
|
24739
24713
|
modelId: string(),
|
|
24740
|
-
format: ModelFormatSchema$
|
|
24714
|
+
format: ModelFormatSchema$2
|
|
24741
24715
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
24742
24716
|
addonId: string(),
|
|
24743
24717
|
modelId: string(),
|
|
24744
|
-
format: ModelFormatSchema$
|
|
24718
|
+
format: ModelFormatSchema$2
|
|
24745
24719
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
24746
24720
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24747
24721
|
frame: FrameInputSchema.optional(),
|
|
@@ -24807,7 +24781,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24807
24781
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
24808
24782
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
24809
24783
|
*/
|
|
24810
|
-
replay: literal(true).optional()
|
|
24784
|
+
replay: literal(true).optional(),
|
|
24785
|
+
/**
|
|
24786
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
24787
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
24788
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
24789
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
24790
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
24791
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
24792
|
+
*/
|
|
24793
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
24811
24794
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
24812
24795
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24813
24796
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -24889,6 +24872,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24889
24872
|
filename: string().optional(),
|
|
24890
24873
|
settings: record(string(), unknown()).optional()
|
|
24891
24874
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
24875
|
+
/**
|
|
24876
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24877
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24878
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24879
|
+
* schemas are what crosses the cap boundary.
|
|
24880
|
+
*/
|
|
24881
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24882
|
+
/** The operator's range for it. */
|
|
24883
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24884
|
+
min: 1,
|
|
24885
|
+
max: 8
|
|
24886
|
+
};
|
|
24887
|
+
var HardwareClassIdSchema = _enum([
|
|
24888
|
+
"intel-core-ultra",
|
|
24889
|
+
"intel-n-series",
|
|
24890
|
+
"apple-m-base",
|
|
24891
|
+
"apple-m-pro",
|
|
24892
|
+
"unknown"
|
|
24893
|
+
]);
|
|
24894
|
+
var AcceleratorKindSchema = _enum([
|
|
24895
|
+
"intel-npu",
|
|
24896
|
+
"intel-igpu",
|
|
24897
|
+
"x86-cpu",
|
|
24898
|
+
"arm-cpu",
|
|
24899
|
+
"apple-ane",
|
|
24900
|
+
"coral"
|
|
24901
|
+
]);
|
|
24902
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24903
|
+
object({
|
|
24904
|
+
kind: literal("capacity"),
|
|
24905
|
+
sessions: number(),
|
|
24906
|
+
minSessions: number()
|
|
24907
|
+
}),
|
|
24908
|
+
object({
|
|
24909
|
+
kind: literal("tie-faster"),
|
|
24910
|
+
over: string(),
|
|
24911
|
+
recallDelta: number()
|
|
24912
|
+
}),
|
|
24913
|
+
object({
|
|
24914
|
+
kind: literal("stepped-down"),
|
|
24915
|
+
from: string(),
|
|
24916
|
+
to: string(),
|
|
24917
|
+
limitedBy: string()
|
|
24918
|
+
}),
|
|
24919
|
+
object({
|
|
24920
|
+
kind: literal("no-fit-lightest"),
|
|
24921
|
+
sessions: number(),
|
|
24922
|
+
minSessions: number()
|
|
24923
|
+
}),
|
|
24924
|
+
object({
|
|
24925
|
+
kind: literal("derived-latency"),
|
|
24926
|
+
modelId: string()
|
|
24927
|
+
}),
|
|
24928
|
+
object({ kind: literal("cpu-device") }),
|
|
24929
|
+
object({ kind: literal("coral-untouched") }),
|
|
24930
|
+
object({ kind: literal("device-disabled") }),
|
|
24931
|
+
object({ kind: literal("device-unavailable") }),
|
|
24932
|
+
object({ kind: literal("node-offline") }),
|
|
24933
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24934
|
+
object({
|
|
24935
|
+
kind: literal("no-measured-data"),
|
|
24936
|
+
hardwareClass: HardwareClassIdSchema
|
|
24937
|
+
}),
|
|
24938
|
+
object({
|
|
24939
|
+
kind: literal("no-family-build"),
|
|
24940
|
+
format: ModelFormatSchema$1
|
|
24941
|
+
})
|
|
24942
|
+
]);
|
|
24943
|
+
var DeviceModelChoiceSchema = object({
|
|
24944
|
+
modelId: string(),
|
|
24945
|
+
p50Ms: number(),
|
|
24946
|
+
fps: number(),
|
|
24947
|
+
measured: boolean(),
|
|
24948
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24949
|
+
capacitySessions: number(),
|
|
24950
|
+
personRecall: number()
|
|
24951
|
+
});
|
|
24952
|
+
var DeviceRecommendationSchema = object({
|
|
24953
|
+
deviceKey: string(),
|
|
24954
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24955
|
+
enabled: boolean(),
|
|
24956
|
+
available: boolean(),
|
|
24957
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24958
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24959
|
+
});
|
|
24960
|
+
var NodeRecommendationSchema = object({
|
|
24961
|
+
nodeId: string(),
|
|
24962
|
+
reachable: boolean(),
|
|
24963
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24964
|
+
cpuModel: string().nullable(),
|
|
24965
|
+
skipped: boolean(),
|
|
24966
|
+
acceleratorModelId: string().nullable(),
|
|
24967
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24968
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24969
|
+
});
|
|
24970
|
+
var ModelPinChangeSchema = object({
|
|
24971
|
+
stepId: string(),
|
|
24972
|
+
before: string().nullable(),
|
|
24973
|
+
after: string().nullable()
|
|
24974
|
+
});
|
|
24975
|
+
var NodeDeviceChangeSchema = object({
|
|
24976
|
+
nodeId: string(),
|
|
24977
|
+
deviceKey: string(),
|
|
24978
|
+
madeExplicit: boolean(),
|
|
24979
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24980
|
+
thresholds: array(object({
|
|
24981
|
+
stepId: string(),
|
|
24982
|
+
keys: array(string()).readonly()
|
|
24983
|
+
})).readonly()
|
|
24984
|
+
});
|
|
24985
|
+
var CameraOverrideClearSchema = object({
|
|
24986
|
+
deviceId: number(),
|
|
24987
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24988
|
+
nodeId: string(),
|
|
24989
|
+
deviceKey: string().nullable(),
|
|
24990
|
+
stepId: string(),
|
|
24991
|
+
modelIdBefore: string().nullable(),
|
|
24992
|
+
keys: array(string()).readonly()
|
|
24993
|
+
});
|
|
24994
|
+
var DetectorStoreClearSchema = object({
|
|
24995
|
+
deviceId: number(),
|
|
24996
|
+
keys: array(string()).readonly()
|
|
24997
|
+
});
|
|
24998
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24999
|
+
object({
|
|
25000
|
+
kind: literal("detector-store-cluster-wide"),
|
|
25001
|
+
skippedNodes: array(string()).readonly()
|
|
25002
|
+
}),
|
|
25003
|
+
object({
|
|
25004
|
+
kind: literal("detector-store-unreadable"),
|
|
25005
|
+
error: string()
|
|
25006
|
+
}),
|
|
25007
|
+
object({
|
|
25008
|
+
kind: literal("coral-enabled"),
|
|
25009
|
+
nodeId: string(),
|
|
25010
|
+
deviceKey: string()
|
|
25011
|
+
})
|
|
25012
|
+
]);
|
|
25013
|
+
var AutoTuneOptionsSchema = object({
|
|
25014
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
25015
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
25016
|
+
/**
|
|
25017
|
+
* The least number of parallel sessions every device must sustain at the
|
|
25018
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
25019
|
+
* that reaches it wins.
|
|
25020
|
+
*/
|
|
25021
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
25022
|
+
});
|
|
25023
|
+
var AutoTunePlanSchema = object({
|
|
25024
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
25025
|
+
planHash: string(),
|
|
25026
|
+
family: literal("yolov9"),
|
|
25027
|
+
headroom: number(),
|
|
25028
|
+
minSessionsPerDevice: number(),
|
|
25029
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
25030
|
+
cameraFps: number(),
|
|
25031
|
+
generatedAt: number(),
|
|
25032
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
25033
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
25034
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
25035
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
25036
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
25037
|
+
});
|
|
25038
|
+
var AutoTuneApplyInputSchema = object({
|
|
25039
|
+
planHash: string(),
|
|
25040
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
25041
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
25042
|
+
});
|
|
25043
|
+
var AutoTunePhaseResultSchema = object({
|
|
25044
|
+
phase: _enum([
|
|
25045
|
+
"download",
|
|
25046
|
+
"camera-overrides",
|
|
25047
|
+
"detector-thresholds",
|
|
25048
|
+
"node-models",
|
|
25049
|
+
"redispatch"
|
|
25050
|
+
]),
|
|
25051
|
+
ok: boolean(),
|
|
25052
|
+
detail: string()
|
|
25053
|
+
});
|
|
25054
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
25055
|
+
object({
|
|
25056
|
+
kind: literal("applied"),
|
|
25057
|
+
planHash: string(),
|
|
25058
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
25059
|
+
}),
|
|
25060
|
+
object({
|
|
25061
|
+
kind: literal("aborted"),
|
|
25062
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
25063
|
+
}),
|
|
25064
|
+
object({
|
|
25065
|
+
kind: literal("stale"),
|
|
25066
|
+
plan: AutoTunePlanSchema
|
|
25067
|
+
}),
|
|
25068
|
+
object({
|
|
25069
|
+
kind: literal("refused"),
|
|
25070
|
+
reason: _enum(["apply-in-progress"])
|
|
25071
|
+
})
|
|
25072
|
+
]);
|
|
25073
|
+
/**
|
|
25074
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
25075
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
25076
|
+
* hardware share suggestion and the stale device pins.
|
|
25077
|
+
*/
|
|
25078
|
+
/**
|
|
25079
|
+
* How a new detection session picks its node and device.
|
|
25080
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
25081
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
25082
|
+
* weight only bites once a node already holds a session.
|
|
25083
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
25084
|
+
* full or drowning node yields to a free one (D748).
|
|
25085
|
+
*/
|
|
25086
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
25087
|
+
var LoadBalancingSharesInputSchema = object({
|
|
25088
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
25089
|
+
nodes: record(string(), number().positive()).default({}),
|
|
25090
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
25091
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
25092
|
+
});
|
|
25093
|
+
var PlacementStatsInputSchema = object({
|
|
25094
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
25095
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
25096
|
+
var PlacementDeviceStatsSchema = object({
|
|
25097
|
+
deviceKey: string(),
|
|
25098
|
+
/** Sessions running on this device now. */
|
|
25099
|
+
sessionsNow: number(),
|
|
25100
|
+
/** Sessions started on this device inside the window. */
|
|
25101
|
+
sessionsStarted: number(),
|
|
25102
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
25103
|
+
observedShare: number().nullable()
|
|
25104
|
+
});
|
|
25105
|
+
var PlacementNodeStatsSchema = object({
|
|
25106
|
+
nodeId: string(),
|
|
25107
|
+
sessionsNow: number(),
|
|
25108
|
+
sessionsStarted: number(),
|
|
25109
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
25110
|
+
observedShare: number().nullable(),
|
|
25111
|
+
/** Most sessions this node ran at once inside the window. */
|
|
25112
|
+
peakSessions: number(),
|
|
25113
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
25114
|
+
yieldsAway: number(),
|
|
25115
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
25116
|
+
});
|
|
25117
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
25118
|
+
var StaleDevicePinSchema = object({
|
|
25119
|
+
deviceId: number(),
|
|
25120
|
+
deviceKey: string(),
|
|
25121
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
25122
|
+
reason: _enum(["disabled", "absent"])
|
|
25123
|
+
});
|
|
25124
|
+
var PlacementStatsSchema = object({
|
|
25125
|
+
policy: SessionPlacementPolicySchema,
|
|
25126
|
+
windowMs: number(),
|
|
25127
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
25128
|
+
observedForMs: number(),
|
|
25129
|
+
sessionsNow: number(),
|
|
25130
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
25131
|
+
clusterPeakSessions: number(),
|
|
25132
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
25133
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
25134
|
+
});
|
|
25135
|
+
/**
|
|
25136
|
+
* Where an automatic share's capacity comes from (D755).
|
|
25137
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
25138
|
+
* the measured latency table for the node's hardware class.
|
|
25139
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
25140
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
25141
|
+
*/
|
|
25142
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
25143
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
25144
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
25145
|
+
var SuggestSharesInputSchema = object({
|
|
25146
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
25147
|
+
/** Default `hardware`. */
|
|
25148
|
+
source: CapacitySourceSchema.default("hardware")
|
|
25149
|
+
});
|
|
25150
|
+
var SuggestedDeviceShareSchema = object({
|
|
25151
|
+
deviceKey: string(),
|
|
25152
|
+
/** Share of the node (0–100, rounded). */
|
|
25153
|
+
share: number(),
|
|
25154
|
+
modelId: string().nullable(),
|
|
25155
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
25156
|
+
fps: number().nullable(),
|
|
25157
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
25158
|
+
measured: boolean(),
|
|
25159
|
+
/**
|
|
25160
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
25161
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
25162
|
+
*/
|
|
25163
|
+
suggestedMaxSessions: number().nullable()
|
|
25164
|
+
});
|
|
25165
|
+
var SuggestedNodeShareSchema = object({
|
|
25166
|
+
nodeId: string(),
|
|
25167
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
25168
|
+
share: number().nullable(),
|
|
25169
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
25170
|
+
capacitySessions: number(),
|
|
25171
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
25172
|
+
skippedReason: string().nullable(),
|
|
25173
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
25174
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
25175
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
25176
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
25177
|
+
});
|
|
25178
|
+
var SuggestSharesResultSchema = object({
|
|
25179
|
+
headroom: number(),
|
|
25180
|
+
/** The source asked for; each node says what it actually used. */
|
|
25181
|
+
source: CapacitySourceSchema,
|
|
25182
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
25183
|
+
cameraFps: number(),
|
|
25184
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
25185
|
+
minSessionsPerDevice: number(),
|
|
25186
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
25187
|
+
});
|
|
25188
|
+
/**
|
|
25189
|
+
* Where the node and device shares come from (D750, D755).
|
|
25190
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
25191
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
25192
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
25193
|
+
* switched on or off, or changes model. No load input.
|
|
25194
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
25195
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
25196
|
+
* - `manual` — the operator's stored sliders.
|
|
25197
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
25198
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
25199
|
+
*/
|
|
25200
|
+
var ShareSourceSchema = _enum([
|
|
25201
|
+
"hardware",
|
|
25202
|
+
"benchmark",
|
|
25203
|
+
"manual"
|
|
25204
|
+
]);
|
|
25205
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
25206
|
+
object({
|
|
25207
|
+
nodes: record(string(), number()),
|
|
25208
|
+
devices: record(string(), record(string(), number()))
|
|
25209
|
+
});
|
|
25210
|
+
var EffectiveDeviceShareSchema = object({
|
|
25211
|
+
deviceKey: string(),
|
|
25212
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
25213
|
+
eligible: boolean(),
|
|
25214
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
25215
|
+
configuredPct: number(),
|
|
25216
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
25217
|
+
effectivePct: number()
|
|
25218
|
+
});
|
|
25219
|
+
var EffectiveNodeShareSchema = object({
|
|
25220
|
+
nodeId: string(),
|
|
25221
|
+
eligible: boolean(),
|
|
25222
|
+
configuredPct: number(),
|
|
25223
|
+
effectivePct: number(),
|
|
25224
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
25225
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
25226
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
25227
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
25228
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
25229
|
+
});
|
|
25230
|
+
var EffectiveSharesSchema = object({
|
|
25231
|
+
source: ShareSourceSchema,
|
|
25232
|
+
policy: SessionPlacementPolicySchema,
|
|
25233
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
25234
|
+
autoPending: boolean(),
|
|
25235
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
25236
|
+
computedAt: number().nullable(),
|
|
25237
|
+
/** What made the system recompute them last. */
|
|
25238
|
+
trigger: string().nullable(),
|
|
25239
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
25240
|
+
/** The relative weights the election reads (before eligibility). */
|
|
25241
|
+
nodeWeights: record(string(), number()),
|
|
25242
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
25243
|
+
});
|
|
24892
25244
|
object({
|
|
24893
25245
|
activeCameras: number(),
|
|
24894
25246
|
throttledCameras: number(),
|
|
@@ -25372,6 +25724,22 @@ var MotionSourceEnum = _enum([
|
|
|
25372
25724
|
"device-activity"
|
|
25373
25725
|
]);
|
|
25374
25726
|
/**
|
|
25727
|
+
* What opened an on-motion detection SESSION: the motion source that passed the
|
|
25728
|
+
* camera's `motionSources` gate, and what raised it (the camera itself, or a
|
|
25729
|
+
* sensor the operator attached — D672). `sensorName` is the attached sensor's
|
|
25730
|
+
* device name as the orchestrator's camera-sensors resolution last read it;
|
|
25731
|
+
* absent when unknown or when the camera itself triggered.
|
|
25732
|
+
*
|
|
25733
|
+
* Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
|
|
25734
|
+
* can say what started the session (D672 rule 11, amended 2026-10-06). The
|
|
25735
|
+
* runner never decides anything on it.
|
|
25736
|
+
*/
|
|
25737
|
+
var SessionTriggerSchema = object({
|
|
25738
|
+
source: MotionSourceEnum,
|
|
25739
|
+
triggeredBy: MotionTriggeredBySchema,
|
|
25740
|
+
sensorName: string().optional()
|
|
25741
|
+
});
|
|
25742
|
+
/**
|
|
25375
25743
|
* List of motion sources active on a camera. Empty array is valid:
|
|
25376
25744
|
* "no source" — happens for battery cams without firmware motion when
|
|
25377
25745
|
* the operator hasn't opted into the SW analyzer (would hold the
|
|
@@ -25623,6 +25991,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
25623
25991
|
*/
|
|
25624
25992
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
25625
25993
|
/**
|
|
25994
|
+
* What opened this attach, on a SESSION attach only (see
|
|
25995
|
+
* {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
|
|
25996
|
+
* standing attach, an occupancy burst, a re-dispatch with no motion event
|
|
25997
|
+
* behind it, and every attach from an orchestrator older than the field — the
|
|
25998
|
+
* runner then names no source on the phase event.
|
|
25999
|
+
*/
|
|
26000
|
+
sessionTrigger: SessionTriggerSchema.optional(),
|
|
26001
|
+
/**
|
|
25626
26002
|
* WHICH root detector runs for this camera. The detection counterpart of
|
|
25627
26003
|
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
25628
26004
|
* of sources the system understands, vendor-agnostic, owned here.
|
|
@@ -25782,14 +26158,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
25782
26158
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
25783
26159
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
25784
26160
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
25785
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
25786
|
-
* per
|
|
26161
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
26162
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
26163
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
26164
|
+
* (D762).
|
|
25787
26165
|
*/
|
|
25788
26166
|
devices: array(object({
|
|
25789
26167
|
deviceKey: string(),
|
|
25790
26168
|
backend: string(),
|
|
25791
|
-
attachedCameras: number()
|
|
25792
|
-
queueDepthTotal: number()
|
|
26169
|
+
attachedCameras: number()
|
|
25793
26170
|
})).default([]),
|
|
25794
26171
|
/** Hardware capability flags reported by this node. */
|
|
25795
26172
|
hardware: object({
|
|
@@ -25925,7 +26302,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
25925
26302
|
*/
|
|
25926
26303
|
cropJpeg: string().optional(),
|
|
25927
26304
|
parent: DetailParentSchema,
|
|
25928
|
-
steps: array(string()).optional()
|
|
26305
|
+
steps: array(string()).optional(),
|
|
26306
|
+
/**
|
|
26307
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
26308
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
26309
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
26310
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
26311
|
+
* requested step infers as before.
|
|
26312
|
+
*/
|
|
26313
|
+
supplied: object({
|
|
26314
|
+
stepId: string(),
|
|
26315
|
+
modelId: string(),
|
|
26316
|
+
boxes: array(object({
|
|
26317
|
+
bbox: NativeCropBboxSchema,
|
|
26318
|
+
score: number()
|
|
26319
|
+
})).min(1)
|
|
26320
|
+
}).optional()
|
|
25929
26321
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
25930
26322
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
25931
26323
|
stepId: string(),
|
|
@@ -25988,14 +26380,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25988
26380
|
settings: record(string(), unknown()).readonly().optional()
|
|
25989
26381
|
}).nullable().optional()
|
|
25990
26382
|
});
|
|
25991
|
-
var PipelineTemplateSchema = object({
|
|
25992
|
-
id: string(),
|
|
25993
|
-
name: string(),
|
|
25994
|
-
description: string().optional(),
|
|
25995
|
-
config: CameraPipelineConfigSchema,
|
|
25996
|
-
createdAt: string(),
|
|
25997
|
-
updatedAt: string()
|
|
25998
|
-
});
|
|
25999
26383
|
var DeviceStepConfigSchema = object({
|
|
26000
26384
|
modelId: string().optional(),
|
|
26001
26385
|
settings: record(string(), unknown()).optional(),
|
|
@@ -26069,9 +26453,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
26069
26453
|
modelId: string().optional(),
|
|
26070
26454
|
settings: record(string(), unknown()).readonly().optional()
|
|
26071
26455
|
});
|
|
26456
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
26072
26457
|
var CameraPipelineSettingsSchema = object({
|
|
26073
|
-
pinnedAgentNodeId: string().optional(),
|
|
26074
26458
|
stepToggles: record(string(), boolean()).optional(),
|
|
26459
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
26075
26460
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
26076
26461
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
26077
26462
|
});
|
|
@@ -26104,7 +26489,10 @@ var PipelineAssignmentSchema = object({
|
|
|
26104
26489
|
});
|
|
26105
26490
|
/**
|
|
26106
26491
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
26107
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
26492
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
26493
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
26494
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
26495
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
26108
26496
|
*/
|
|
26109
26497
|
var AgentLoadSummarySchema = object({
|
|
26110
26498
|
nodeId: string(),
|
|
@@ -26193,26 +26581,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
26193
26581
|
width: number(),
|
|
26194
26582
|
height: number(),
|
|
26195
26583
|
subscribers: number(),
|
|
26196
|
-
|
|
26197
|
-
|
|
26584
|
+
/**
|
|
26585
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
26586
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
26587
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
26588
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
26589
|
+
* camera and is not served (D758).
|
|
26590
|
+
*/
|
|
26591
|
+
inFps: number().nullable()
|
|
26198
26592
|
})).readonly(),
|
|
26199
26593
|
webrtcSessions: number(),
|
|
26200
26594
|
rtspRestream: boolean()
|
|
26201
26595
|
});
|
|
26202
|
-
/**
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
var CameraDecoderStatusSchema = object({
|
|
26211
|
-
nodeId: string(),
|
|
26212
|
-
formats: array(string()).readonly(),
|
|
26213
|
-
sessionCount: number(),
|
|
26214
|
-
shm: CameraDecoderShmSchema
|
|
26215
|
-
});
|
|
26596
|
+
/**
|
|
26597
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
26598
|
+
* construction); null when the camera has no detection node. It carries no
|
|
26599
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
26600
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
26601
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
26602
|
+
* detector), never from a counter nothing feeds.
|
|
26603
|
+
*/
|
|
26604
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
26216
26605
|
/** Motion block — null when motion detection is not active for this device. */
|
|
26217
26606
|
var CameraMotionStatusSchema = object({
|
|
26218
26607
|
enabled: boolean(),
|
|
@@ -26569,12 +26958,6 @@ method(object({
|
|
|
26569
26958
|
}), object({ success: literal(true) }), {
|
|
26570
26959
|
kind: "mutation",
|
|
26571
26960
|
auth: "admin"
|
|
26572
|
-
}), method(object({
|
|
26573
|
-
agentNodeId: string(),
|
|
26574
|
-
detectWeight: number().positive().nullable()
|
|
26575
|
-
}), object({ success: literal(true) }), {
|
|
26576
|
-
kind: "mutation",
|
|
26577
|
-
auth: "admin"
|
|
26578
26961
|
}), method(object({
|
|
26579
26962
|
agentNodeId: string(),
|
|
26580
26963
|
detect: boolean().nullable().optional(),
|
|
@@ -26616,6 +26999,15 @@ method(object({
|
|
|
26616
26999
|
}), {
|
|
26617
27000
|
kind: "mutation",
|
|
26618
27001
|
auth: "admin"
|
|
27002
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
27003
|
+
kind: "mutation",
|
|
27004
|
+
auth: "admin"
|
|
27005
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
27006
|
+
kind: "mutation",
|
|
27007
|
+
auth: "admin"
|
|
27008
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
27009
|
+
kind: "mutation",
|
|
27010
|
+
auth: "admin"
|
|
26619
27011
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
26620
27012
|
deviceId: number(),
|
|
26621
27013
|
addonId: string(),
|
|
@@ -26632,6 +27024,13 @@ method(object({
|
|
|
26632
27024
|
}), object({ success: literal(true) }), {
|
|
26633
27025
|
kind: "mutation",
|
|
26634
27026
|
auth: "admin"
|
|
27027
|
+
}), method(object({
|
|
27028
|
+
deviceId: number(),
|
|
27029
|
+
addonId: string(),
|
|
27030
|
+
settings: record(string(), unknown()).nullable()
|
|
27031
|
+
}), object({ success: literal(true) }), {
|
|
27032
|
+
kind: "mutation",
|
|
27033
|
+
auth: "admin"
|
|
26635
27034
|
}), method(object({
|
|
26636
27035
|
deviceId: number(),
|
|
26637
27036
|
agentNodeId: string(),
|
|
@@ -26655,25 +27054,7 @@ method(object({
|
|
|
26655
27054
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
26656
27055
|
kind: "mutation",
|
|
26657
27056
|
auth: "admin"
|
|
26658
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
26659
|
-
name: string(),
|
|
26660
|
-
description: string().optional(),
|
|
26661
|
-
config: CameraPipelineConfigSchema
|
|
26662
|
-
}), PipelineTemplateSchema, {
|
|
26663
|
-
kind: "mutation",
|
|
26664
|
-
auth: "admin"
|
|
26665
|
-
}), method(object({
|
|
26666
|
-
id: string(),
|
|
26667
|
-
name: string().optional(),
|
|
26668
|
-
description: string().optional(),
|
|
26669
|
-
config: CameraPipelineConfigSchema.optional()
|
|
26670
|
-
}), PipelineTemplateSchema, {
|
|
26671
|
-
kind: "mutation",
|
|
26672
|
-
auth: "admin"
|
|
26673
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
26674
|
-
kind: "mutation",
|
|
26675
|
-
auth: "admin"
|
|
26676
|
-
});
|
|
27057
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
26677
27058
|
/**
|
|
26678
27059
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
26679
27060
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -28922,8 +29303,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28922
29303
|
]).nullable(),
|
|
28923
29304
|
/** Input FPS from the camera (null for adaptive). */
|
|
28924
29305
|
inputFps: number().nullable(),
|
|
28925
|
-
/** Decoded FPS (null for adaptive). */
|
|
28926
|
-
decodeFps: number().nullable(),
|
|
28927
29306
|
/** Bitrate in kbps (null for adaptive). */
|
|
28928
29307
|
bitrateKbps: number().nullable()
|
|
28929
29308
|
});
|
|
@@ -29255,6 +29634,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
29255
29634
|
*/
|
|
29256
29635
|
alive: boolean()
|
|
29257
29636
|
})), method(object({
|
|
29637
|
+
deviceId: number().int().nonnegative(),
|
|
29638
|
+
sessionId: string(),
|
|
29639
|
+
downlinkMbps: number().nonnegative()
|
|
29640
|
+
}), object({
|
|
29641
|
+
outcome: _enum(["switching", "held"]),
|
|
29642
|
+
tier: CamProfileSchema.nullable(),
|
|
29643
|
+
reason: string()
|
|
29644
|
+
}), { kind: "mutation" }), method(object({
|
|
29258
29645
|
deviceId: number().int().nonnegative(),
|
|
29259
29646
|
sessionId: string()
|
|
29260
29647
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -29494,6 +29881,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29494
29881
|
var RestartAddonResultSchema = unknown();
|
|
29495
29882
|
var InstallPackageResultSchema = unknown();
|
|
29496
29883
|
var ReloadPackagesResultSchema = unknown();
|
|
29884
|
+
/**
|
|
29885
|
+
* What an uninstall did on ONE node.
|
|
29886
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29887
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29888
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29889
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29890
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29891
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29892
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29893
|
+
*/
|
|
29894
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29895
|
+
"uninstalled",
|
|
29896
|
+
"not-installed",
|
|
29897
|
+
"refused",
|
|
29898
|
+
"failed",
|
|
29899
|
+
"pending-reconnect"
|
|
29900
|
+
]);
|
|
29901
|
+
var UninstallNodeResultSchema = object({
|
|
29902
|
+
nodeId: string(),
|
|
29903
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29904
|
+
error: string().optional(),
|
|
29905
|
+
addonIds: array(string()).readonly(),
|
|
29906
|
+
runnersStopped: array(string()).readonly(),
|
|
29907
|
+
warnings: array(string()).readonly()
|
|
29908
|
+
});
|
|
29909
|
+
var UninstallPackageResultSchema = object({
|
|
29910
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29911
|
+
success: boolean(),
|
|
29912
|
+
packageName: string(),
|
|
29913
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29914
|
+
});
|
|
29915
|
+
/**
|
|
29916
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29917
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29918
|
+
*/
|
|
29919
|
+
var PackageInstallationsSchema = object({
|
|
29920
|
+
installations: array(object({
|
|
29921
|
+
packageName: string(),
|
|
29922
|
+
nodeId: string(),
|
|
29923
|
+
nodeName: string(),
|
|
29924
|
+
isHub: boolean(),
|
|
29925
|
+
isOnline: boolean(),
|
|
29926
|
+
version: string().nullable(),
|
|
29927
|
+
addonIds: array(string()).readonly(),
|
|
29928
|
+
source: _enum(["live", "recorded"]),
|
|
29929
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29930
|
+
onHub: boolean()
|
|
29931
|
+
})).readonly(),
|
|
29932
|
+
unreachable: array(object({
|
|
29933
|
+
nodeId: string(),
|
|
29934
|
+
error: string()
|
|
29935
|
+
})).readonly()
|
|
29936
|
+
});
|
|
29497
29937
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29498
29938
|
"queued",
|
|
29499
29939
|
"updating",
|
|
@@ -29576,10 +30016,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29576
30016
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29577
30017
|
kind: "mutation",
|
|
29578
30018
|
auth: "admin"
|
|
29579
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
30019
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
30020
|
+
packageName: string().min(1),
|
|
30021
|
+
nodeId: string().optional(),
|
|
30022
|
+
everywhere: boolean().optional()
|
|
30023
|
+
}), UninstallPackageResultSchema, {
|
|
29580
30024
|
kind: "mutation",
|
|
29581
30025
|
auth: "admin"
|
|
29582
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
30026
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29583
30027
|
kind: "mutation",
|
|
29584
30028
|
auth: "admin"
|
|
29585
30029
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -33019,7 +33463,7 @@ var LocalInterfaceSchema = object({
|
|
|
33019
33463
|
name: string(),
|
|
33020
33464
|
family: _enum(["IPv4", "IPv6"]),
|
|
33021
33465
|
address: string(),
|
|
33022
|
-
/** CIDR shorthand (e.g. `192.168.
|
|
33466
|
+
/** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
|
|
33023
33467
|
cidr: string(),
|
|
33024
33468
|
/** OS netmask. Stable across calls so the SDK can hash on it. */
|
|
33025
33469
|
netmask: string(),
|
|
@@ -33073,7 +33517,9 @@ var ConnectionEndpointSchema = object({
|
|
|
33073
33517
|
"lan-ipv4",
|
|
33074
33518
|
"lan-ipv6",
|
|
33075
33519
|
"public",
|
|
33076
|
-
"loopback"
|
|
33520
|
+
"loopback",
|
|
33521
|
+
"app-link",
|
|
33522
|
+
"custom"
|
|
33077
33523
|
]),
|
|
33078
33524
|
/**
|
|
33079
33525
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -33142,15 +33588,27 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
33142
33588
|
localPort: AdvertisedLocalPortSchema
|
|
33143
33589
|
});
|
|
33144
33590
|
/**
|
|
33145
|
-
* The
|
|
33146
|
-
*
|
|
33147
|
-
*
|
|
33591
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
33592
|
+
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
33593
|
+
* so the UI can show it either way.
|
|
33148
33594
|
*/
|
|
33149
33595
|
var NotificationEndpointSchema = object({
|
|
33150
33596
|
/** The operator's explicit choice, or null for AUTO. */
|
|
33151
33597
|
baseUrl: string().nullable(),
|
|
33152
|
-
/**
|
|
33153
|
-
|
|
33598
|
+
/**
|
|
33599
|
+
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
33600
|
+
* CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
|
|
33601
|
+
* answered the public tunnel / mesh here, or null.
|
|
33602
|
+
*/
|
|
33603
|
+
resolved: string().nullable(),
|
|
33604
|
+
/**
|
|
33605
|
+
* The hub origin an app link carries as `hub=` (D709): the hub's best
|
|
33606
|
+
* public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
|
|
33607
|
+
* picked from this cap's own palette by `pickAppLinkHub`. `null` when the
|
|
33608
|
+
* hub advertises neither; the app link is then minted without `hub=`.
|
|
33609
|
+
* Absent on a pre-D709 hub.
|
|
33610
|
+
*/
|
|
33611
|
+
appLinkHub: string().nullable()
|
|
33154
33612
|
});
|
|
33155
33613
|
/**
|
|
33156
33614
|
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
@@ -33163,6 +33621,72 @@ var ViewerEndpointsSchema = object({
|
|
|
33163
33621
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
33164
33622
|
resolved: array(string()).readonly()
|
|
33165
33623
|
});
|
|
33624
|
+
/**
|
|
33625
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
33626
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
33627
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
33628
|
+
*/
|
|
33629
|
+
var HubAddressSnapshotSchema = object({
|
|
33630
|
+
override: string().nullable(),
|
|
33631
|
+
resolved: string().nullable(),
|
|
33632
|
+
source: _enum([
|
|
33633
|
+
"override",
|
|
33634
|
+
"auto",
|
|
33635
|
+
"none"
|
|
33636
|
+
])
|
|
33637
|
+
});
|
|
33638
|
+
var HubAddressesSchema = object({
|
|
33639
|
+
cluster: HubAddressSnapshotSchema,
|
|
33640
|
+
browser: HubAddressSnapshotSchema
|
|
33641
|
+
});
|
|
33642
|
+
/**
|
|
33643
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
33644
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
33645
|
+
* by at most one address.
|
|
33646
|
+
*/
|
|
33647
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
33648
|
+
var RoleSourceSchema = _enum([
|
|
33649
|
+
"flagged",
|
|
33650
|
+
"auto",
|
|
33651
|
+
"none"
|
|
33652
|
+
]);
|
|
33653
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
33654
|
+
var HubAddressRoleResolutionSchema = object({
|
|
33655
|
+
/** The address carrying the flag, or null = automatic. */
|
|
33656
|
+
flagged: string().nullable(),
|
|
33657
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
33658
|
+
resolved: string().nullable(),
|
|
33659
|
+
source: RoleSourceSchema
|
|
33660
|
+
});
|
|
33661
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
33662
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
33663
|
+
flagged: array(string()).readonly(),
|
|
33664
|
+
/** What the apps race right now. */
|
|
33665
|
+
resolved: array(string()).readonly(),
|
|
33666
|
+
source: RoleSourceSchema
|
|
33667
|
+
});
|
|
33668
|
+
var HubAddressBookSchema = object({
|
|
33669
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
33670
|
+
/** In the hub's detected palette right now. */
|
|
33671
|
+
detected: boolean(),
|
|
33672
|
+
/** Entered by the operator (removable). */
|
|
33673
|
+
custom: boolean(),
|
|
33674
|
+
/** The roles explicitly flagged on this address. */
|
|
33675
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
33676
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
33677
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
33678
|
+
/** The roles this address may be flagged with. */
|
|
33679
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
33680
|
+
})).readonly(),
|
|
33681
|
+
roles: object({
|
|
33682
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
33683
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
33684
|
+
internal: HubAddressRoleResolutionSchema,
|
|
33685
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
33686
|
+
}),
|
|
33687
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
33688
|
+
appLinkHub: string().nullable()
|
|
33689
|
+
});
|
|
33166
33690
|
var AllowedAddressesSchema = object({
|
|
33167
33691
|
/**
|
|
33168
33692
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -33204,8 +33728,29 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
33204
33728
|
* Pass `'https'` when the caller is itself loaded over HTTPS
|
|
33205
33729
|
* to avoid mixed-content blocks in the browser. The public
|
|
33206
33730
|
* tunnel always emits `https://` regardless. */
|
|
33207
|
-
scheme: _enum(["http", "https"]).optional()
|
|
33208
|
-
|
|
33731
|
+
scheme: _enum(["http", "https"]).optional(),
|
|
33732
|
+
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
33733
|
+
* an address notification taps can be flagged with, not a hub
|
|
33734
|
+
* route. Default `false`: racers and rankers never see it. */
|
|
33735
|
+
includeAppLink: boolean().optional()
|
|
33736
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
33737
|
+
baseUrl: string(),
|
|
33738
|
+
label: string().max(80)
|
|
33739
|
+
}), HubAddressBookSchema, {
|
|
33740
|
+
kind: "mutation",
|
|
33741
|
+
auth: "admin"
|
|
33742
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
33743
|
+
kind: "mutation",
|
|
33744
|
+
auth: "admin"
|
|
33745
|
+
}), method(object({
|
|
33746
|
+
role: HubAddressRoleSchema,
|
|
33747
|
+
baseUrl: string().nullable(),
|
|
33748
|
+
enabled: boolean(),
|
|
33749
|
+
acceptInsecureHttp: boolean().optional()
|
|
33750
|
+
}), HubAddressBookSchema, {
|
|
33751
|
+
kind: "mutation",
|
|
33752
|
+
auth: "admin"
|
|
33753
|
+
}), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
33209
33754
|
kind: "mutation",
|
|
33210
33755
|
auth: "admin"
|
|
33211
33756
|
}), method(object({
|
|
@@ -33533,7 +34078,7 @@ var MeshPeerSchema = object({
|
|
|
33533
34078
|
tags: array(string()).readonly(),
|
|
33534
34079
|
/** True when the peer advertises itself as an exit-node candidate. */
|
|
33535
34080
|
exitNodeOption: boolean(),
|
|
33536
|
-
/** Subnet routes the peer advertises (e.g. `["192.168.
|
|
34081
|
+
/** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
|
|
33537
34082
|
advertisedRoutes: array(string()).readonly(),
|
|
33538
34083
|
/** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
|
|
33539
34084
|
userLogin: string().nullable(),
|
|
@@ -33663,7 +34208,8 @@ var MotionStatusSchema = object({
|
|
|
33663
34208
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
33664
34209
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
33665
34210
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
33666
|
-
* A provider's `isDetected`
|
|
34211
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
34212
|
+
* (`hubMotionNativeProvider`).
|
|
33667
34213
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
33668
34214
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
33669
34215
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -34861,7 +35407,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
34861
35407
|
*/
|
|
34862
35408
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
34863
35409
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
34864
|
-
readOnly: boolean().optional()
|
|
35410
|
+
readOnly: boolean().optional(),
|
|
35411
|
+
/**
|
|
35412
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
35413
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
35414
|
+
* copy on the binding.
|
|
35415
|
+
*/
|
|
35416
|
+
maxCharacters: number().int().positive().optional()
|
|
34865
35417
|
})).readonly() });
|
|
34866
35418
|
var OsdOverlayPatchSchema = object({
|
|
34867
35419
|
enabled: boolean().optional(),
|
|
@@ -34912,7 +35464,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
34912
35464
|
valuePath: string().min(1).max(64),
|
|
34913
35465
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
34914
35466
|
displayUnit: string().max(16).optional(),
|
|
34915
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
35467
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
35468
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
35469
|
+
valueMap: record(string(), string()).optional()
|
|
34916
35470
|
});
|
|
34917
35471
|
/**
|
|
34918
35472
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -34962,18 +35516,11 @@ var OsdSlotBindingSchema = object({
|
|
|
34962
35516
|
source: OsdSourceSchema,
|
|
34963
35517
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
34964
35518
|
template: string().max(96).default("${value}"),
|
|
34965
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
34966
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
34967
35519
|
/**
|
|
34968
35520
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
34969
35521
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
34970
35522
|
*/
|
|
34971
35523
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
34972
|
-
/**
|
|
34973
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
34974
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
34975
|
-
*/
|
|
34976
|
-
unitLabel: string().max(8).optional(),
|
|
34977
35524
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
34978
35525
|
valueMap: record(string(), string()).optional(),
|
|
34979
35526
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -34982,9 +35529,7 @@ var OsdSlotBindingSchema = object({
|
|
|
34982
35529
|
* Display gate, in the notification centre's condition vocabulary.
|
|
34983
35530
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
34984
35531
|
*/
|
|
34985
|
-
conditions: NcConditionsSchema.optional()
|
|
34986
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
34987
|
-
fallbackText: string().max(64).default("")
|
|
35532
|
+
conditions: NcConditionsSchema.optional()
|
|
34988
35533
|
});
|
|
34989
35534
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
34990
35535
|
var OsdSlotViewSchema = object({
|
|
@@ -40211,6 +40756,16 @@ var zoneRulesCapability = {
|
|
|
40211
40756
|
durability: "restored"
|
|
40212
40757
|
};
|
|
40213
40758
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
40759
|
+
Object.freeze({
|
|
40760
|
+
person: .5,
|
|
40761
|
+
vehicle: .5,
|
|
40762
|
+
animal: .5
|
|
40763
|
+
});
|
|
40764
|
+
Object.freeze({
|
|
40765
|
+
person: .65,
|
|
40766
|
+
vehicle: .65,
|
|
40767
|
+
animal: .65
|
|
40768
|
+
});
|
|
40214
40769
|
/**
|
|
40215
40770
|
* Accessory device helpers — shared across drivers.
|
|
40216
40771
|
*
|
|
@@ -41909,6 +42464,12 @@ Object.freeze({
|
|
|
41909
42464
|
addonId: null,
|
|
41910
42465
|
access: "view"
|
|
41911
42466
|
},
|
|
42467
|
+
"addons.listInstallations": {
|
|
42468
|
+
capName: "addons",
|
|
42469
|
+
capScope: "system",
|
|
42470
|
+
addonId: null,
|
|
42471
|
+
access: "view"
|
|
42472
|
+
},
|
|
41912
42473
|
"addons.listJobs": {
|
|
41913
42474
|
capName: "addons",
|
|
41914
42475
|
capScope: "system",
|
|
@@ -43091,90 +43652,18 @@ Object.freeze({
|
|
|
43091
43652
|
addonId: null,
|
|
43092
43653
|
access: "create"
|
|
43093
43654
|
},
|
|
43094
|
-
"decoder.createSession": {
|
|
43095
|
-
capName: "decoder",
|
|
43096
|
-
capScope: "system",
|
|
43097
|
-
addonId: null,
|
|
43098
|
-
access: "view"
|
|
43099
|
-
},
|
|
43100
|
-
"decoder.destroySession": {
|
|
43101
|
-
capName: "decoder",
|
|
43102
|
-
capScope: "system",
|
|
43103
|
-
addonId: null,
|
|
43104
|
-
access: "delete"
|
|
43105
|
-
},
|
|
43106
|
-
"decoder.getFrame": {
|
|
43107
|
-
capName: "decoder",
|
|
43108
|
-
capScope: "system",
|
|
43109
|
-
addonId: null,
|
|
43110
|
-
access: "view"
|
|
43111
|
-
},
|
|
43112
43655
|
"decoder.getInfo": {
|
|
43113
43656
|
capName: "decoder",
|
|
43114
43657
|
capScope: "system",
|
|
43115
43658
|
addonId: null,
|
|
43116
43659
|
access: "view"
|
|
43117
43660
|
},
|
|
43118
|
-
"decoder.getShmStats": {
|
|
43119
|
-
capName: "decoder",
|
|
43120
|
-
capScope: "system",
|
|
43121
|
-
addonId: null,
|
|
43122
|
-
access: "view"
|
|
43123
|
-
},
|
|
43124
|
-
"decoder.getStats": {
|
|
43125
|
-
capName: "decoder",
|
|
43126
|
-
capScope: "system",
|
|
43127
|
-
addonId: null,
|
|
43128
|
-
access: "view"
|
|
43129
|
-
},
|
|
43130
|
-
"decoder.listActiveSessions": {
|
|
43131
|
-
capName: "decoder",
|
|
43132
|
-
capScope: "system",
|
|
43133
|
-
addonId: null,
|
|
43134
|
-
access: "view"
|
|
43135
|
-
},
|
|
43136
|
-
"decoder.openStream": {
|
|
43137
|
-
capName: "decoder",
|
|
43138
|
-
capScope: "system",
|
|
43139
|
-
addonId: null,
|
|
43140
|
-
access: "view"
|
|
43141
|
-
},
|
|
43142
|
-
"decoder.pullFrames": {
|
|
43143
|
-
capName: "decoder",
|
|
43144
|
-
capScope: "system",
|
|
43145
|
-
addonId: null,
|
|
43146
|
-
access: "view"
|
|
43147
|
-
},
|
|
43148
|
-
"decoder.pullHandles": {
|
|
43149
|
-
capName: "decoder",
|
|
43150
|
-
capScope: "system",
|
|
43151
|
-
addonId: null,
|
|
43152
|
-
access: "view"
|
|
43153
|
-
},
|
|
43154
|
-
"decoder.pushPacket": {
|
|
43155
|
-
capName: "decoder",
|
|
43156
|
-
capScope: "system",
|
|
43157
|
-
addonId: null,
|
|
43158
|
-
access: "view"
|
|
43159
|
-
},
|
|
43160
43661
|
"decoder.reprobeHwaccel": {
|
|
43161
43662
|
capName: "decoder",
|
|
43162
43663
|
capScope: "system",
|
|
43163
43664
|
addonId: null,
|
|
43164
43665
|
access: "create"
|
|
43165
43666
|
},
|
|
43166
|
-
"decoder.supportsCodec": {
|
|
43167
|
-
capName: "decoder",
|
|
43168
|
-
capScope: "system",
|
|
43169
|
-
addonId: null,
|
|
43170
|
-
access: "view"
|
|
43171
|
-
},
|
|
43172
|
-
"decoder.updateConfig": {
|
|
43173
|
-
capName: "decoder",
|
|
43174
|
-
capScope: "system",
|
|
43175
|
-
addonId: null,
|
|
43176
|
-
access: "view"
|
|
43177
|
-
},
|
|
43178
43667
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
43179
43668
|
capName: "detection-pipeline",
|
|
43180
43669
|
capScope: "device",
|
|
@@ -44663,12 +45152,24 @@ Object.freeze({
|
|
|
44663
45152
|
addonId: null,
|
|
44664
45153
|
access: "view"
|
|
44665
45154
|
},
|
|
45155
|
+
"localNetwork.addCustomAddress": {
|
|
45156
|
+
capName: "local-network",
|
|
45157
|
+
capScope: "system",
|
|
45158
|
+
addonId: null,
|
|
45159
|
+
access: "create"
|
|
45160
|
+
},
|
|
44666
45161
|
"localNetwork.downloadCa": {
|
|
44667
45162
|
capName: "local-network",
|
|
44668
45163
|
capScope: "system",
|
|
44669
45164
|
addonId: null,
|
|
44670
45165
|
access: "view"
|
|
44671
45166
|
},
|
|
45167
|
+
"localNetwork.getAddresses": {
|
|
45168
|
+
capName: "local-network",
|
|
45169
|
+
capScope: "system",
|
|
45170
|
+
addonId: null,
|
|
45171
|
+
access: "view"
|
|
45172
|
+
},
|
|
44672
45173
|
"localNetwork.getAllowedAddresses": {
|
|
44673
45174
|
capName: "local-network",
|
|
44674
45175
|
capScope: "system",
|
|
@@ -44681,6 +45182,12 @@ Object.freeze({
|
|
|
44681
45182
|
addonId: null,
|
|
44682
45183
|
access: "view"
|
|
44683
45184
|
},
|
|
45185
|
+
"localNetwork.getHubAddresses": {
|
|
45186
|
+
capName: "local-network",
|
|
45187
|
+
capScope: "system",
|
|
45188
|
+
addonId: null,
|
|
45189
|
+
access: "view"
|
|
45190
|
+
},
|
|
44684
45191
|
"localNetwork.getNotificationEndpoint": {
|
|
44685
45192
|
capName: "local-network",
|
|
44686
45193
|
capScope: "system",
|
|
@@ -44717,6 +45224,12 @@ Object.freeze({
|
|
|
44717
45224
|
addonId: null,
|
|
44718
45225
|
access: "create"
|
|
44719
45226
|
},
|
|
45227
|
+
"localNetwork.removeCustomAddress": {
|
|
45228
|
+
capName: "local-network",
|
|
45229
|
+
capScope: "system",
|
|
45230
|
+
addonId: null,
|
|
45231
|
+
access: "delete"
|
|
45232
|
+
},
|
|
44720
45233
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
44721
45234
|
capName: "local-network",
|
|
44722
45235
|
capScope: "system",
|
|
@@ -44729,6 +45242,12 @@ Object.freeze({
|
|
|
44729
45242
|
addonId: null,
|
|
44730
45243
|
access: "create"
|
|
44731
45244
|
},
|
|
45245
|
+
"localNetwork.setAddressRole": {
|
|
45246
|
+
capName: "local-network",
|
|
45247
|
+
capScope: "system",
|
|
45248
|
+
addonId: null,
|
|
45249
|
+
access: "create"
|
|
45250
|
+
},
|
|
44732
45251
|
"localNetwork.setAllowedAddresses": {
|
|
44733
45252
|
capName: "local-network",
|
|
44734
45253
|
capScope: "system",
|
|
@@ -46223,13 +46742,13 @@ Object.freeze({
|
|
|
46223
46742
|
addonId: null,
|
|
46224
46743
|
access: "delete"
|
|
46225
46744
|
},
|
|
46226
|
-
"pipelineExecutor.
|
|
46745
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46227
46746
|
capName: "pipeline-executor",
|
|
46228
46747
|
capScope: "system",
|
|
46229
46748
|
addonId: null,
|
|
46230
46749
|
access: "delete"
|
|
46231
46750
|
},
|
|
46232
|
-
"pipelineExecutor.
|
|
46751
|
+
"pipelineExecutor.deleteModel": {
|
|
46233
46752
|
capName: "pipeline-executor",
|
|
46234
46753
|
capScope: "system",
|
|
46235
46754
|
addonId: null,
|
|
@@ -46373,12 +46892,6 @@ Object.freeze({
|
|
|
46373
46892
|
addonId: null,
|
|
46374
46893
|
access: "view"
|
|
46375
46894
|
},
|
|
46376
|
-
"pipelineExecutor.listTemplates": {
|
|
46377
|
-
capName: "pipeline-executor",
|
|
46378
|
-
capScope: "system",
|
|
46379
|
-
addonId: null,
|
|
46380
|
-
access: "view"
|
|
46381
|
-
},
|
|
46382
46895
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
46383
46896
|
capName: "pipeline-executor",
|
|
46384
46897
|
capScope: "system",
|
|
@@ -46403,12 +46916,6 @@ Object.freeze({
|
|
|
46403
46916
|
addonId: null,
|
|
46404
46917
|
access: "create"
|
|
46405
46918
|
},
|
|
46406
|
-
"pipelineExecutor.saveTemplate": {
|
|
46407
|
-
capName: "pipeline-executor",
|
|
46408
|
-
capScope: "system",
|
|
46409
|
-
addonId: null,
|
|
46410
|
-
access: "create"
|
|
46411
|
-
},
|
|
46412
46919
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
46413
46920
|
capName: "pipeline-executor",
|
|
46414
46921
|
capScope: "system",
|
|
@@ -46427,41 +46934,35 @@ Object.freeze({
|
|
|
46427
46934
|
addonId: null,
|
|
46428
46935
|
access: "create"
|
|
46429
46936
|
},
|
|
46430
|
-
"pipelineExecutor.updateTemplate": {
|
|
46431
|
-
capName: "pipeline-executor",
|
|
46432
|
-
capScope: "system",
|
|
46433
|
-
addonId: null,
|
|
46434
|
-
access: "create"
|
|
46435
|
-
},
|
|
46436
46937
|
"pipelineExecutor.validatePipeline": {
|
|
46437
46938
|
capName: "pipeline-executor",
|
|
46438
46939
|
capScope: "system",
|
|
46439
46940
|
addonId: null,
|
|
46440
46941
|
access: "view"
|
|
46441
46942
|
},
|
|
46442
|
-
"pipelineOrchestrator.
|
|
46943
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
46443
46944
|
capName: "pipeline-orchestrator",
|
|
46444
46945
|
capScope: "system",
|
|
46445
46946
|
addonId: null,
|
|
46446
46947
|
access: "create"
|
|
46447
46948
|
},
|
|
46448
|
-
"pipelineOrchestrator.
|
|
46949
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
46449
46950
|
capName: "pipeline-orchestrator",
|
|
46450
46951
|
capScope: "system",
|
|
46451
46952
|
addonId: null,
|
|
46452
46953
|
access: "create"
|
|
46453
46954
|
},
|
|
46454
|
-
"pipelineOrchestrator.
|
|
46955
|
+
"pipelineOrchestrator.assignAudio": {
|
|
46455
46956
|
capName: "pipeline-orchestrator",
|
|
46456
46957
|
capScope: "system",
|
|
46457
46958
|
addonId: null,
|
|
46458
46959
|
access: "create"
|
|
46459
46960
|
},
|
|
46460
|
-
"pipelineOrchestrator.
|
|
46961
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
46461
46962
|
capName: "pipeline-orchestrator",
|
|
46462
46963
|
capScope: "system",
|
|
46463
46964
|
addonId: null,
|
|
46464
|
-
access: "
|
|
46965
|
+
access: "create"
|
|
46465
46966
|
},
|
|
46466
46967
|
"pipelineOrchestrator.getAgentLoad": {
|
|
46467
46968
|
capName: "pipeline-orchestrator",
|
|
@@ -46553,6 +47054,12 @@ Object.freeze({
|
|
|
46553
47054
|
addonId: null,
|
|
46554
47055
|
access: "view"
|
|
46555
47056
|
},
|
|
47057
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
47058
|
+
capName: "pipeline-orchestrator",
|
|
47059
|
+
capScope: "system",
|
|
47060
|
+
addonId: null,
|
|
47061
|
+
access: "view"
|
|
47062
|
+
},
|
|
46556
47063
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
46557
47064
|
capName: "pipeline-orchestrator",
|
|
46558
47065
|
capScope: "system",
|
|
@@ -46589,19 +47096,19 @@ Object.freeze({
|
|
|
46589
47096
|
addonId: null,
|
|
46590
47097
|
access: "view"
|
|
46591
47098
|
},
|
|
46592
|
-
"pipelineOrchestrator.
|
|
47099
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
46593
47100
|
capName: "pipeline-orchestrator",
|
|
46594
47101
|
capScope: "system",
|
|
46595
47102
|
addonId: null,
|
|
46596
47103
|
access: "view"
|
|
46597
47104
|
},
|
|
46598
|
-
"pipelineOrchestrator.
|
|
47105
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
46599
47106
|
capName: "pipeline-orchestrator",
|
|
46600
47107
|
capScope: "system",
|
|
46601
47108
|
addonId: null,
|
|
46602
47109
|
access: "view"
|
|
46603
47110
|
},
|
|
46604
|
-
"pipelineOrchestrator.
|
|
47111
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
46605
47112
|
capName: "pipeline-orchestrator",
|
|
46606
47113
|
capScope: "system",
|
|
46607
47114
|
addonId: null,
|
|
@@ -46613,6 +47120,12 @@ Object.freeze({
|
|
|
46613
47120
|
addonId: null,
|
|
46614
47121
|
access: "create"
|
|
46615
47122
|
},
|
|
47123
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
47124
|
+
capName: "pipeline-orchestrator",
|
|
47125
|
+
capScope: "system",
|
|
47126
|
+
addonId: null,
|
|
47127
|
+
access: "view"
|
|
47128
|
+
},
|
|
46616
47129
|
"pipelineOrchestrator.rebalance": {
|
|
46617
47130
|
capName: "pipeline-orchestrator",
|
|
46618
47131
|
capScope: "system",
|
|
@@ -46655,12 +47168,6 @@ Object.freeze({
|
|
|
46655
47168
|
addonId: null,
|
|
46656
47169
|
access: "create"
|
|
46657
47170
|
},
|
|
46658
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
46659
|
-
capName: "pipeline-orchestrator",
|
|
46660
|
-
capScope: "system",
|
|
46661
|
-
addonId: null,
|
|
46662
|
-
access: "create"
|
|
46663
|
-
},
|
|
46664
47171
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
46665
47172
|
capName: "pipeline-orchestrator",
|
|
46666
47173
|
capScope: "system",
|
|
@@ -46673,12 +47180,6 @@ Object.freeze({
|
|
|
46673
47180
|
addonId: null,
|
|
46674
47181
|
access: "create"
|
|
46675
47182
|
},
|
|
46676
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
46677
|
-
capName: "pipeline-orchestrator",
|
|
46678
|
-
capScope: "system",
|
|
46679
|
-
addonId: null,
|
|
46680
|
-
access: "create"
|
|
46681
|
-
},
|
|
46682
47183
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
46683
47184
|
capName: "pipeline-orchestrator",
|
|
46684
47185
|
capScope: "system",
|
|
@@ -46715,6 +47216,12 @@ Object.freeze({
|
|
|
46715
47216
|
addonId: null,
|
|
46716
47217
|
access: "create"
|
|
46717
47218
|
},
|
|
47219
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
47220
|
+
capName: "pipeline-orchestrator",
|
|
47221
|
+
capScope: "system",
|
|
47222
|
+
addonId: null,
|
|
47223
|
+
access: "create"
|
|
47224
|
+
},
|
|
46718
47225
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
46719
47226
|
capName: "pipeline-orchestrator",
|
|
46720
47227
|
capScope: "system",
|
|
@@ -46733,25 +47240,37 @@ Object.freeze({
|
|
|
46733
47240
|
addonId: null,
|
|
46734
47241
|
access: "create"
|
|
46735
47242
|
},
|
|
47243
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
47244
|
+
capName: "pipeline-orchestrator",
|
|
47245
|
+
capScope: "system",
|
|
47246
|
+
addonId: null,
|
|
47247
|
+
access: "create"
|
|
47248
|
+
},
|
|
46736
47249
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
46737
47250
|
capName: "pipeline-orchestrator",
|
|
46738
47251
|
capScope: "system",
|
|
46739
47252
|
addonId: null,
|
|
46740
47253
|
access: "create"
|
|
46741
47254
|
},
|
|
46742
|
-
"pipelineOrchestrator.
|
|
47255
|
+
"pipelineOrchestrator.setShareSource": {
|
|
46743
47256
|
capName: "pipeline-orchestrator",
|
|
46744
47257
|
capScope: "system",
|
|
46745
47258
|
addonId: null,
|
|
46746
47259
|
access: "create"
|
|
46747
47260
|
},
|
|
46748
|
-
"pipelineOrchestrator.
|
|
47261
|
+
"pipelineOrchestrator.suggestShares": {
|
|
47262
|
+
capName: "pipeline-orchestrator",
|
|
47263
|
+
capScope: "system",
|
|
47264
|
+
addonId: null,
|
|
47265
|
+
access: "view"
|
|
47266
|
+
},
|
|
47267
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
46749
47268
|
capName: "pipeline-orchestrator",
|
|
46750
47269
|
capScope: "system",
|
|
46751
47270
|
addonId: null,
|
|
46752
47271
|
access: "create"
|
|
46753
47272
|
},
|
|
46754
|
-
"pipelineOrchestrator.
|
|
47273
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
46755
47274
|
capName: "pipeline-orchestrator",
|
|
46756
47275
|
capScope: "system",
|
|
46757
47276
|
addonId: null,
|
|
@@ -48191,12 +48710,6 @@ Object.freeze({
|
|
|
48191
48710
|
addonId: null,
|
|
48192
48711
|
access: "view"
|
|
48193
48712
|
},
|
|
48194
|
-
"streamBroker.pullFrameHandles": {
|
|
48195
|
-
capName: "stream-broker",
|
|
48196
|
-
capScope: "system",
|
|
48197
|
-
addonId: null,
|
|
48198
|
-
access: "view"
|
|
48199
|
-
},
|
|
48200
48713
|
"streamBroker.regenerateRtspToken": {
|
|
48201
48714
|
capName: "stream-broker",
|
|
48202
48715
|
capScope: "system",
|
|
@@ -48263,12 +48776,6 @@ Object.freeze({
|
|
|
48263
48776
|
addonId: null,
|
|
48264
48777
|
access: "create"
|
|
48265
48778
|
},
|
|
48266
|
-
"streamBroker.subscribeFrames": {
|
|
48267
|
-
capName: "stream-broker",
|
|
48268
|
-
capScope: "system",
|
|
48269
|
-
addonId: null,
|
|
48270
|
-
access: "create"
|
|
48271
|
-
},
|
|
48272
48779
|
"streamBroker.unassignProfile": {
|
|
48273
48780
|
capName: "stream-broker",
|
|
48274
48781
|
capScope: "system",
|
|
@@ -48281,12 +48788,6 @@ Object.freeze({
|
|
|
48281
48788
|
addonId: null,
|
|
48282
48789
|
access: "create"
|
|
48283
48790
|
},
|
|
48284
|
-
"streamBroker.unsubscribeFrames": {
|
|
48285
|
-
capName: "stream-broker",
|
|
48286
|
-
capScope: "system",
|
|
48287
|
-
addonId: null,
|
|
48288
|
-
access: "create"
|
|
48289
|
-
},
|
|
48290
48791
|
"streamCatalog.getCatalog": {
|
|
48291
48792
|
capName: "stream-catalog",
|
|
48292
48793
|
capScope: "device",
|
|
@@ -48983,6 +49484,12 @@ Object.freeze({
|
|
|
48983
49484
|
addonId: null,
|
|
48984
49485
|
access: "create"
|
|
48985
49486
|
},
|
|
49487
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
49488
|
+
capName: "webrtc-session",
|
|
49489
|
+
capScope: "device",
|
|
49490
|
+
addonId: null,
|
|
49491
|
+
access: "create"
|
|
49492
|
+
},
|
|
48986
49493
|
"webrtcSession.closeSession": {
|
|
48987
49494
|
capName: "webrtc-session",
|
|
48988
49495
|
capScope: "device",
|
|
@@ -50794,11 +51301,6 @@ Object.freeze({
|
|
|
50794
51301
|
form: "single",
|
|
50795
51302
|
optional: false
|
|
50796
51303
|
}],
|
|
50797
|
-
"decoder.createSession": [{
|
|
50798
|
-
name: "deviceId",
|
|
50799
|
-
form: "single",
|
|
50800
|
-
optional: true
|
|
50801
|
-
}],
|
|
50802
51304
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
50803
51305
|
name: "deviceId",
|
|
50804
51306
|
form: "single",
|
|
@@ -52029,6 +52531,11 @@ Object.freeze({
|
|
|
52029
52531
|
form: "single",
|
|
52030
52532
|
optional: false
|
|
52031
52533
|
}],
|
|
52534
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
52535
|
+
name: "deviceIds",
|
|
52536
|
+
form: "array",
|
|
52537
|
+
optional: true
|
|
52538
|
+
}],
|
|
52032
52539
|
"pipelineExecutor.runPipeline": [{
|
|
52033
52540
|
name: "deviceId",
|
|
52034
52541
|
form: "single",
|
|
@@ -52134,6 +52641,11 @@ Object.freeze({
|
|
|
52134
52641
|
form: "single",
|
|
52135
52642
|
optional: false
|
|
52136
52643
|
}],
|
|
52644
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
52645
|
+
name: "deviceId",
|
|
52646
|
+
form: "single",
|
|
52647
|
+
optional: false
|
|
52648
|
+
}],
|
|
52137
52649
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
52138
52650
|
name: "deviceId",
|
|
52139
52651
|
form: "single",
|
|
@@ -52905,6 +53417,11 @@ Object.freeze({
|
|
|
52905
53417
|
form: "single",
|
|
52906
53418
|
optional: false
|
|
52907
53419
|
}],
|
|
53420
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
53421
|
+
name: "deviceId",
|
|
53422
|
+
form: "single",
|
|
53423
|
+
optional: false
|
|
53424
|
+
}],
|
|
52908
53425
|
"webrtcSession.closeSession": [{
|
|
52909
53426
|
name: "deviceId",
|
|
52910
53427
|
form: "single",
|
|
@@ -53134,6 +53651,8 @@ new Map(Object.entries({
|
|
|
53134
53651
|
"detection-blind": "device-events",
|
|
53135
53652
|
"node-online": "system",
|
|
53136
53653
|
"node-offline": "system",
|
|
53654
|
+
"node-restarting": "system",
|
|
53655
|
+
"node-updating": "system",
|
|
53137
53656
|
"node-inference-unavailable": "system",
|
|
53138
53657
|
"addon-crash-loop": "system",
|
|
53139
53658
|
"addon-update-available": "system",
|
|
@@ -53211,18 +53730,21 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
53211
53730
|
kinds: [
|
|
53212
53731
|
"node-offline",
|
|
53213
53732
|
"node-online",
|
|
53733
|
+
"node-restarting",
|
|
53214
53734
|
"node-inference-unavailable"
|
|
53215
53735
|
]
|
|
53216
53736
|
},
|
|
53217
53737
|
{
|
|
53218
53738
|
id: "addons",
|
|
53219
53739
|
family: "system",
|
|
53220
|
-
label: "Addons",
|
|
53221
|
-
kinds: [
|
|
53222
|
-
|
|
53223
|
-
|
|
53224
|
-
|
|
53225
|
-
|
|
53740
|
+
label: "Addons stopped",
|
|
53741
|
+
kinds: ["addon-crash-loop"]
|
|
53742
|
+
},
|
|
53743
|
+
{
|
|
53744
|
+
id: "addon-updates",
|
|
53745
|
+
family: "system",
|
|
53746
|
+
label: "Addon updates",
|
|
53747
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
53226
53748
|
},
|
|
53227
53749
|
{
|
|
53228
53750
|
id: "updates",
|
|
@@ -53230,6 +53752,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
53230
53752
|
label: "Server & container updates",
|
|
53231
53753
|
kinds: [
|
|
53232
53754
|
"server-update-available",
|
|
53755
|
+
"node-updating",
|
|
53233
53756
|
"server-updated",
|
|
53234
53757
|
"wrapper-update-available"
|
|
53235
53758
|
]
|
|
@@ -53377,18 +53900,21 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
53377
53900
|
kinds: [
|
|
53378
53901
|
"node-offline",
|
|
53379
53902
|
"node-online",
|
|
53903
|
+
"node-restarting",
|
|
53380
53904
|
"node-inference-unavailable"
|
|
53381
53905
|
]
|
|
53382
53906
|
},
|
|
53383
53907
|
{
|
|
53384
53908
|
name: "summaryAddons",
|
|
53385
|
-
label: "Summary: addons",
|
|
53386
|
-
example: "
|
|
53387
|
-
kinds: [
|
|
53388
|
-
|
|
53389
|
-
|
|
53390
|
-
|
|
53391
|
-
|
|
53909
|
+
label: "Summary: addons stopped",
|
|
53910
|
+
example: "hub — recorder stopped after repeated crashes",
|
|
53911
|
+
kinds: ["addon-crash-loop"]
|
|
53912
|
+
},
|
|
53913
|
+
{
|
|
53914
|
+
name: "summaryAddonUpdates",
|
|
53915
|
+
label: "Summary: addon updates",
|
|
53916
|
+
example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
|
|
53917
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
53392
53918
|
},
|
|
53393
53919
|
{
|
|
53394
53920
|
name: "summaryUpdates",
|
|
@@ -53396,6 +53922,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
53396
53922
|
example: "server 1.2.377 → 1.2.378",
|
|
53397
53923
|
kinds: [
|
|
53398
53924
|
"server-update-available",
|
|
53925
|
+
"node-updating",
|
|
53399
53926
|
"server-updated",
|
|
53400
53927
|
"wrapper-update-available"
|
|
53401
53928
|
]
|
|
@@ -53428,7 +53955,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
53428
53955
|
{
|
|
53429
53956
|
name: "summarySection",
|
|
53430
53957
|
label: "Summary: this section",
|
|
53431
|
-
description: "The section a per-section summary row is about
|
|
53958
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
53432
53959
|
example: "Batterie scariche",
|
|
53433
53960
|
group: "system",
|
|
53434
53961
|
families: ["rule"],
|
|
@@ -53472,6 +53999,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
53472
53999
|
[...RULE_BODY_ONLY],
|
|
53473
54000
|
[...RULE_TEXT],
|
|
53474
54001
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
54002
|
+
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
53475
54003
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
53476
54004
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
53477
54005
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
@@ -53512,6 +54040,8 @@ var STATE_SUMMARY_VARS = [
|
|
|
53512
54040
|
[...RULE_TEXT],
|
|
53513
54041
|
[...RULE_TEXT],
|
|
53514
54042
|
[...RULE_TEXT],
|
|
54043
|
+
[...RULE_TEXT],
|
|
54044
|
+
[...RULE_TEXT],
|
|
53515
54045
|
...STATE_SUMMARY_VARS
|
|
53516
54046
|
];
|
|
53517
54047
|
new Set([
|