@camstack/addon-provider-rademacher 0.2.120 → 0.2.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +947 -463
- package/dist/addon.mjs +947 -463
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -983,7 +983,7 @@ var Rademacher = class {
|
|
|
983
983
|
}
|
|
984
984
|
};
|
|
985
985
|
//#endregion
|
|
986
|
-
//#region ../types/dist/event-category-
|
|
986
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
987
987
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
988
988
|
EventCategory["SystemBoot"] = "system.boot";
|
|
989
989
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1484,15 +1484,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1484
1484
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
1485
1485
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
1486
1486
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
1487
|
-
/**
|
|
1488
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
1489
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
1490
|
-
* `createSession`, so running sessions keep their current backend until
|
|
1491
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
1492
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
1493
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
1494
|
-
*/
|
|
1495
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
1496
1487
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
1497
1488
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
1498
1489
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -6363,7 +6354,7 @@ var ZodIssueCode = {
|
|
|
6363
6354
|
var ZodFirstPartyTypeKind;
|
|
6364
6355
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6365
6356
|
//#endregion
|
|
6366
|
-
//#region ../types/dist/sleep-
|
|
6357
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
6367
6358
|
/**
|
|
6368
6359
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6369
6360
|
* window to float samples (D455).
|
|
@@ -7729,32 +7720,12 @@ object({
|
|
|
7729
7720
|
audioCodec: string().optional(),
|
|
7730
7721
|
metadata: record(string(), unknown()).readonly().optional()
|
|
7731
7722
|
});
|
|
7732
|
-
var EncodedPacketSchema = object({
|
|
7733
|
-
type: _enum(["video", "audio"]),
|
|
7734
|
-
data: _instanceof(Uint8Array),
|
|
7735
|
-
pts: number(),
|
|
7736
|
-
dts: number(),
|
|
7737
|
-
keyframe: boolean(),
|
|
7738
|
-
codec: string()
|
|
7739
|
-
});
|
|
7740
|
-
var DecodedFrameSchema = object({
|
|
7741
|
-
data: _instanceof(Uint8Array),
|
|
7742
|
-
width: number(),
|
|
7743
|
-
height: number(),
|
|
7744
|
-
format: _enum([
|
|
7745
|
-
"jpeg",
|
|
7746
|
-
"rgb",
|
|
7747
|
-
"bgr",
|
|
7748
|
-
"yuv420",
|
|
7749
|
-
"gray"
|
|
7750
|
-
]),
|
|
7751
|
-
timestamp: number()
|
|
7752
|
-
});
|
|
7753
7723
|
/**
|
|
7754
7724
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
7755
7725
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
7756
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
7757
|
-
*
|
|
7726
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
7727
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
7728
|
+
* over tRPC / Moleculer.
|
|
7758
7729
|
*
|
|
7759
7730
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
7760
7731
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -7780,50 +7751,6 @@ var FrameHandleSchema = object({
|
|
|
7780
7751
|
slotCount: number().int().positive()
|
|
7781
7752
|
});
|
|
7782
7753
|
/**
|
|
7783
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
7784
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
7785
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
7786
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
7787
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
7788
|
-
*/
|
|
7789
|
-
var FrameHandleFormatSchema = _enum([
|
|
7790
|
-
"rgb",
|
|
7791
|
-
"bgr",
|
|
7792
|
-
"yuv420",
|
|
7793
|
-
"gray"
|
|
7794
|
-
]);
|
|
7795
|
-
/**
|
|
7796
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
7797
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
7798
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
7799
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
7800
|
-
* they asked for with no broker-side conversion.
|
|
7801
|
-
*/
|
|
7802
|
-
var SubscribeFramesInputSchema = object({
|
|
7803
|
-
brokerId: string(),
|
|
7804
|
-
format: FrameHandleFormatSchema,
|
|
7805
|
-
/**
|
|
7806
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
7807
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
7808
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
7809
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
7810
|
-
*/
|
|
7811
|
-
maxFps: number().positive().optional(),
|
|
7812
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
7813
|
-
tag: string().optional()
|
|
7814
|
-
});
|
|
7815
|
-
/**
|
|
7816
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
7817
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
7818
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
7819
|
-
*/
|
|
7820
|
-
var SubscribeFramesResultSchema = object({
|
|
7821
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
7822
|
-
subscriptionId: string(),
|
|
7823
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
7824
|
-
maxFps: number().nonnegative()
|
|
7825
|
-
});
|
|
7826
|
-
/**
|
|
7827
7754
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
7828
7755
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
7829
7756
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -7831,8 +7758,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
7831
7758
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
7832
7759
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
7833
7760
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
7834
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
7835
|
-
*
|
|
7761
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
7762
|
+
* it.
|
|
7836
7763
|
*/
|
|
7837
7764
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
7838
7765
|
var DecodedAudioChunkSchema = object({
|
|
@@ -7850,11 +7777,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
7850
7777
|
format: AudioChunkFormatSchema.optional()
|
|
7851
7778
|
});
|
|
7852
7779
|
/**
|
|
7853
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
7854
|
-
*
|
|
7855
|
-
*
|
|
7856
|
-
*
|
|
7857
|
-
* `pullAudioChunks`.
|
|
7780
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
7781
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
7782
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
7783
|
+
* the consumer drains via `pullAudioChunks`.
|
|
7858
7784
|
*/
|
|
7859
7785
|
var SubscribeAudioChunksInputSchema = object({
|
|
7860
7786
|
brokerId: string(),
|
|
@@ -7885,9 +7811,7 @@ var BrokerStatsSchema = object({
|
|
|
7885
7811
|
"stopped"
|
|
7886
7812
|
]),
|
|
7887
7813
|
inputFps: number(),
|
|
7888
|
-
decodeFps: number(),
|
|
7889
7814
|
encodedSubscribers: number(),
|
|
7890
|
-
decodedSubscribers: number(),
|
|
7891
7815
|
uptimeMs: number(),
|
|
7892
7816
|
bitrateKbps: number(),
|
|
7893
7817
|
idrIntervalMs: number(),
|
|
@@ -7900,14 +7824,6 @@ var BrokerStatsSchema = object({
|
|
|
7900
7824
|
preBufferMs: number(),
|
|
7901
7825
|
preBufferPackets: number(),
|
|
7902
7826
|
/**
|
|
7903
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
7904
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
7905
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
7906
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
7907
|
-
* a separate cap call per broker.
|
|
7908
|
-
*/
|
|
7909
|
-
decoderNodeId: string().nullable(),
|
|
7910
|
-
/**
|
|
7911
7827
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
7912
7828
|
* when the stream has no audio track or the broker is in cold start.
|
|
7913
7829
|
* `supported = false` means the codec was detected but the local
|
|
@@ -11243,70 +11159,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
11243
11159
|
"backup"
|
|
11244
11160
|
]).optional()
|
|
11245
11161
|
});
|
|
11246
|
-
var DecoderStatsSchema = object({
|
|
11247
|
-
inputFps: number(),
|
|
11248
|
-
outputFps: number(),
|
|
11249
|
-
avgDecodeTimeMs: number(),
|
|
11250
|
-
droppedFrames: number(),
|
|
11251
|
-
/**
|
|
11252
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
11253
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
11254
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
11255
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
11256
|
-
*/
|
|
11257
|
-
lagMs: number().optional(),
|
|
11258
|
-
effectiveFps: number().optional(),
|
|
11259
|
-
adaptiveFps: number().optional()
|
|
11260
|
-
});
|
|
11261
|
-
var DecoderSessionConfigSchema = object({
|
|
11262
|
-
codec: string(),
|
|
11263
|
-
maxFps: number().default(0),
|
|
11264
|
-
outputFormat: _enum([
|
|
11265
|
-
"jpeg",
|
|
11266
|
-
"rgb",
|
|
11267
|
-
"bgr",
|
|
11268
|
-
"yuv420",
|
|
11269
|
-
"gray"
|
|
11270
|
-
]).default("jpeg"),
|
|
11271
|
-
scale: number().default(1),
|
|
11272
|
-
width: number().optional(),
|
|
11273
|
-
height: number().optional(),
|
|
11274
|
-
/**
|
|
11275
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
11276
|
-
* because the cap is generic (any caller could request decode), but
|
|
11277
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
11278
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
11279
|
-
* sendPacket errors on a single hung camera).
|
|
11280
|
-
*/
|
|
11281
|
-
deviceId: number().int().nonnegative().optional(),
|
|
11282
|
-
/**
|
|
11283
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
11284
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
11285
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
11286
|
-
* profile cleanly.
|
|
11287
|
-
*/
|
|
11288
|
-
tag: string().optional(),
|
|
11289
|
-
/**
|
|
11290
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
11291
|
-
*
|
|
11292
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
11293
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
11294
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
11295
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
11296
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
11297
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
11298
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
11299
|
-
*/
|
|
11300
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
11301
|
-
/**
|
|
11302
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
11303
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
11304
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
11305
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
11306
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
11307
|
-
*/
|
|
11308
|
-
debug: boolean().optional()
|
|
11309
|
-
});
|
|
11310
11162
|
/**
|
|
11311
11163
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
11312
11164
|
* an addon declares its channels in.
|
|
@@ -11449,6 +11301,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
11449
11301
|
"balanced",
|
|
11450
11302
|
"strict"
|
|
11451
11303
|
]);
|
|
11304
|
+
/** Steps whose effect a root label can BE. */
|
|
11305
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
11306
|
+
"animal-classifier",
|
|
11307
|
+
"vehicle-classifier",
|
|
11308
|
+
"package-detection"
|
|
11309
|
+
];
|
|
11310
|
+
/** Steps whose box a root detection can BE. */
|
|
11311
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
11312
|
+
/**
|
|
11313
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
11314
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
11315
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
11316
|
+
* no camera tree carries.)
|
|
11317
|
+
*/
|
|
11318
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
11319
|
+
[
|
|
11320
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
11321
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
11322
|
+
...MASK_SUPPLY_STEP_IDS
|
|
11323
|
+
];
|
|
11452
11324
|
var MODEL_FORMATS = [
|
|
11453
11325
|
"onnx",
|
|
11454
11326
|
"coreml",
|
|
@@ -11477,7 +11349,53 @@ var ModelFormatEntrySchema = object({
|
|
|
11477
11349
|
/** Multi-file payload (directory members or sibling files). */
|
|
11478
11350
|
files: array(string()).readonly().optional(),
|
|
11479
11351
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
11480
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
11352
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
11353
|
+
/**
|
|
11354
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
11355
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
11356
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
11357
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
11358
|
+
* node records the revision it downloaded next to the file
|
|
11359
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
11360
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
11361
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
11362
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
11363
|
+
*/
|
|
11364
|
+
revision: string().min(1).optional()
|
|
11365
|
+
});
|
|
11366
|
+
/**
|
|
11367
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
11368
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
11369
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
11370
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
11371
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
11372
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
11373
|
+
*/
|
|
11374
|
+
var ModelOnDiskStateSchema = _enum([
|
|
11375
|
+
"current",
|
|
11376
|
+
"stale",
|
|
11377
|
+
"missing"
|
|
11378
|
+
]);
|
|
11379
|
+
/**
|
|
11380
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
11381
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
11382
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
11383
|
+
*/
|
|
11384
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
11385
|
+
"fp32",
|
|
11386
|
+
"fp16",
|
|
11387
|
+
"int8"
|
|
11388
|
+
]);
|
|
11389
|
+
/**
|
|
11390
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
11391
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
11392
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
11393
|
+
*/
|
|
11394
|
+
var PipelineModelFormatStatusSchema = object({
|
|
11395
|
+
downloaded: boolean(),
|
|
11396
|
+
sizeMB: number(),
|
|
11397
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
11398
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
11481
11399
|
});
|
|
11482
11400
|
/**
|
|
11483
11401
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -11581,6 +11499,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
11581
11499
|
/** True when the weights or their data forbid commercial use. */
|
|
11582
11500
|
nonCommercial: boolean().optional()
|
|
11583
11501
|
}));
|
|
11502
|
+
/**
|
|
11503
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
11504
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
11505
|
+
*
|
|
11506
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
11507
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
11508
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
11509
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
11510
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
11511
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
11512
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
11513
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
11514
|
+
* detection in the shape that step produces. Derived from the model's
|
|
11515
|
+
* postprocessor on read, never stored by an import.
|
|
11516
|
+
*/
|
|
11517
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
11518
|
+
object({
|
|
11519
|
+
kind: literal("label"),
|
|
11520
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
11521
|
+
labelToEffect: record(string(), string()),
|
|
11522
|
+
uncovered: array(string()).readonly()
|
|
11523
|
+
}),
|
|
11524
|
+
object({
|
|
11525
|
+
kind: literal("crop"),
|
|
11526
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
11527
|
+
rootLabels: array(string()).readonly(),
|
|
11528
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
11529
|
+
childClass: _enum(["plate", "face"]),
|
|
11530
|
+
/**
|
|
11531
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
11532
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
11533
|
+
* stored by an import.
|
|
11534
|
+
*/
|
|
11535
|
+
rootInputPx: number().int().positive().optional()
|
|
11536
|
+
}),
|
|
11537
|
+
object({
|
|
11538
|
+
kind: literal("mask"),
|
|
11539
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
11540
|
+
})
|
|
11541
|
+
]);
|
|
11584
11542
|
var ModelCatalogEntrySchema = object({
|
|
11585
11543
|
id: string(),
|
|
11586
11544
|
name: string(),
|
|
@@ -11646,6 +11604,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11646
11604
|
*/
|
|
11647
11605
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11648
11606
|
/**
|
|
11607
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
11608
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
11609
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
11610
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
11611
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
11612
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
11613
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
11614
|
+
*/
|
|
11615
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
11616
|
+
/**
|
|
11617
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
11618
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
11619
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
11620
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
11621
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
11622
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
11623
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
11624
|
+
*/
|
|
11625
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
11626
|
+
/**
|
|
11627
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
11628
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
11629
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
11630
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
11631
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
11632
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
11633
|
+
*/
|
|
11634
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
11635
|
+
/**
|
|
11649
11636
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11650
11637
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11651
11638
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -11707,6 +11694,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
11707
11694
|
*/
|
|
11708
11695
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
11709
11696
|
/**
|
|
11697
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
11698
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
11699
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
11700
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
11701
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
11702
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
11703
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
11704
|
+
*/
|
|
11705
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
11706
|
+
/**
|
|
11710
11707
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
11711
11708
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
11712
11709
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -13308,13 +13305,6 @@ var BrokerRtspClientSchema = object({
|
|
|
13308
13305
|
lastRtpAt: number(),
|
|
13309
13306
|
bytesSent: number()
|
|
13310
13307
|
});
|
|
13311
|
-
var BrokerDecodedClientSchema = object({
|
|
13312
|
-
tag: string(),
|
|
13313
|
-
subscribedAt: number(),
|
|
13314
|
-
maxFps: number(),
|
|
13315
|
-
framesDelivered: number(),
|
|
13316
|
-
framesDropped: number()
|
|
13317
|
-
});
|
|
13318
13308
|
var BrokerAudioClientSchema = object({
|
|
13319
13309
|
tag: string(),
|
|
13320
13310
|
subscribedAt: number(),
|
|
@@ -13406,7 +13396,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
13406
13396
|
});
|
|
13407
13397
|
var BrokerClientsSchema = object({
|
|
13408
13398
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
13409
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
13410
13399
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
13411
13400
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
13412
13401
|
pipeClients: number(),
|
|
@@ -13775,11 +13764,7 @@ method(object({
|
|
|
13775
13764
|
auth: "admin"
|
|
13776
13765
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13777
13766
|
brokerId: string(),
|
|
13778
|
-
channel: _enum([
|
|
13779
|
-
"rtsp",
|
|
13780
|
-
"decoded",
|
|
13781
|
-
"audio"
|
|
13782
|
-
]),
|
|
13767
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13783
13768
|
handle: string()
|
|
13784
13769
|
}), object({ killed: boolean() }), {
|
|
13785
13770
|
kind: "mutation",
|
|
@@ -13814,10 +13799,7 @@ method(object({
|
|
|
13814
13799
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13815
13800
|
subscriptionId: string(),
|
|
13816
13801
|
maxCount: number().int().positive().default(8)
|
|
13817
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13818
|
-
subscriptionId: string(),
|
|
13819
|
-
maxCount: number().int().positive().default(4)
|
|
13820
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13802
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13821
13803
|
brokerId: string(),
|
|
13822
13804
|
seconds: number().min(0).max(30)
|
|
13823
13805
|
}), _void(), {
|
|
@@ -15076,54 +15058,12 @@ id: union([string(), number()]) }), {
|
|
|
15076
15058
|
kind: "mutation",
|
|
15077
15059
|
auth: "admin"
|
|
15078
15060
|
});
|
|
15079
|
-
|
|
15080
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
15081
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
15082
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
15083
|
-
*/
|
|
15084
|
-
var ShmRingStatsSchema = object({
|
|
15085
|
-
sessionId: string(),
|
|
15086
|
-
slotCount: number().int(),
|
|
15087
|
-
slotByteLength: number().int(),
|
|
15088
|
-
segmentBytes: number().int(),
|
|
15089
|
-
budgetMb: number().int(),
|
|
15090
|
-
framesWritten: number().int(),
|
|
15091
|
-
getFrameHits: number().int(),
|
|
15092
|
-
getFrameMisses: number().int()
|
|
15093
|
-
});
|
|
15094
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
15061
|
+
method(_void(), object({
|
|
15095
15062
|
id: string(),
|
|
15096
15063
|
name: string(),
|
|
15097
|
-
isPullMode: boolean().optional(),
|
|
15098
|
-
priority: number().optional(),
|
|
15099
15064
|
hwaccel: string().optional(),
|
|
15100
15065
|
probedBestHwaccel: string().optional()
|
|
15101
|
-
})), method(
|
|
15102
|
-
sessionId: string(),
|
|
15103
|
-
nodeId: string()
|
|
15104
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
15105
|
-
sessionId: string(),
|
|
15106
|
-
packet: EncodedPacketSchema
|
|
15107
|
-
}), _void()), method(object({
|
|
15108
|
-
sessionId: string(),
|
|
15109
|
-
url: string()
|
|
15110
|
-
}), _void()), method(object({
|
|
15111
|
-
sessionId: string(),
|
|
15112
|
-
maxCount: number().default(1),
|
|
15113
|
-
waitMs: number().optional()
|
|
15114
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
15115
|
-
sessionId: string(),
|
|
15116
|
-
maxCount: number().default(1),
|
|
15117
|
-
waitMs: number().optional()
|
|
15118
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
15119
|
-
sessionId: string(),
|
|
15120
|
-
config: DecoderSessionConfigSchema.partial()
|
|
15121
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
15122
|
-
sessionId: string(),
|
|
15123
|
-
codec: string(),
|
|
15124
|
-
outputFormat: string(),
|
|
15125
|
-
createdAtMs: number()
|
|
15126
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
15066
|
+
})), method(_void(), object({ backend: string() }), {
|
|
15127
15067
|
kind: "mutation",
|
|
15128
15068
|
auth: "admin"
|
|
15129
15069
|
});
|
|
@@ -17268,6 +17208,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
17268
17208
|
kind: "mutation",
|
|
17269
17209
|
auth: "admin"
|
|
17270
17210
|
});
|
|
17211
|
+
var HUB_ADDRESS_ROLES = [
|
|
17212
|
+
"appConnections",
|
|
17213
|
+
"notificationTaps",
|
|
17214
|
+
"internal",
|
|
17215
|
+
"publicEndpoint"
|
|
17216
|
+
];
|
|
17271
17217
|
/**
|
|
17272
17218
|
* Transport bounds for AI capability methods.
|
|
17273
17219
|
*
|
|
@@ -19870,6 +19816,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
19870
19816
|
"stream-offline",
|
|
19871
19817
|
"node-online",
|
|
19872
19818
|
"node-offline",
|
|
19819
|
+
"node-restarting",
|
|
19820
|
+
"node-updating",
|
|
19873
19821
|
"node-inference-unavailable",
|
|
19874
19822
|
"detection-blind",
|
|
19875
19823
|
"addon-crash-loop",
|
|
@@ -21475,7 +21423,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
21475
21423
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
21476
21424
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
21477
21425
|
*/
|
|
21478
|
-
notifySensorRewatched: boolean().optional()
|
|
21426
|
+
notifySensorRewatched: boolean().optional(),
|
|
21427
|
+
/**
|
|
21428
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
21429
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
21430
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
21431
|
+
*/
|
|
21432
|
+
notifySensorIgnored: boolean().optional()
|
|
21479
21433
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
21480
21434
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
21481
21435
|
mode: AlarmArmModeSchema,
|
|
@@ -21488,7 +21442,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
21488
21442
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
21489
21443
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
21490
21444
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
21491
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
21445
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
21446
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
21447
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
21492
21448
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
21493
21449
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
21494
21450
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -22466,8 +22422,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
22466
22422
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
22467
22423
|
stepId: "face-embedding",
|
|
22468
22424
|
key: "minLandmarkFaceSize",
|
|
22469
|
-
label: "Min face size
|
|
22470
|
-
description: "
|
|
22425
|
+
label: "Min face size to embed (detection-frame px)",
|
|
22426
|
+
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.",
|
|
22471
22427
|
type: "slider",
|
|
22472
22428
|
min: 0,
|
|
22473
22429
|
max: 64,
|
|
@@ -24387,6 +24343,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
24387
24343
|
timestamp: number()
|
|
24388
24344
|
});
|
|
24389
24345
|
/**
|
|
24346
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
24347
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
24348
|
+
*/
|
|
24349
|
+
var SuppliedRootOutputSchema = object({
|
|
24350
|
+
stepId: string(),
|
|
24351
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
24352
|
+
modelId: string(),
|
|
24353
|
+
detections: array(object({
|
|
24354
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
24355
|
+
bbox: tuple([
|
|
24356
|
+
number(),
|
|
24357
|
+
number(),
|
|
24358
|
+
number(),
|
|
24359
|
+
number()
|
|
24360
|
+
]),
|
|
24361
|
+
score: number(),
|
|
24362
|
+
/**
|
|
24363
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
24364
|
+
* detector already re-found inside a root face box (D730), so its
|
|
24365
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
24366
|
+
*/
|
|
24367
|
+
landmarks: array(object({
|
|
24368
|
+
x: number(),
|
|
24369
|
+
y: number()
|
|
24370
|
+
})).optional()
|
|
24371
|
+
})).min(1)
|
|
24372
|
+
});
|
|
24373
|
+
/**
|
|
24390
24374
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
24391
24375
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
24392
24376
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -24434,7 +24418,7 @@ var FrameRefSchema = object({
|
|
|
24434
24418
|
timestamp: number(),
|
|
24435
24419
|
capturedAt: number().optional()
|
|
24436
24420
|
});
|
|
24437
|
-
var ModelFormatSchema$
|
|
24421
|
+
var ModelFormatSchema$2 = _enum([
|
|
24438
24422
|
"onnx",
|
|
24439
24423
|
"coreml",
|
|
24440
24424
|
"openvino",
|
|
@@ -24452,7 +24436,7 @@ var PipelineSlotSchema = _enum([
|
|
|
24452
24436
|
var PipelineEngineChoiceSchema = object({
|
|
24453
24437
|
runtime: literal("python"),
|
|
24454
24438
|
backend: string(),
|
|
24455
|
-
format: ModelFormatSchema$
|
|
24439
|
+
format: ModelFormatSchema$2,
|
|
24456
24440
|
device: string().optional()
|
|
24457
24441
|
});
|
|
24458
24442
|
/**
|
|
@@ -24491,32 +24475,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
24491
24475
|
group: string().optional(),
|
|
24492
24476
|
settings: record(string(), unknown()).optional()
|
|
24493
24477
|
}));
|
|
24494
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
24495
|
-
addonId: string(),
|
|
24496
|
-
enabled: boolean(),
|
|
24497
|
-
modelId: string(),
|
|
24498
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
24499
|
-
settings: record(string(), unknown()).optional()
|
|
24500
|
-
}));
|
|
24501
|
-
var PipelineTemplateSchema$1 = object({
|
|
24502
|
-
id: string(),
|
|
24503
|
-
name: string(),
|
|
24504
|
-
createdAt: string(),
|
|
24505
|
-
updatedAt: string(),
|
|
24506
|
-
engine: PipelineEngineChoiceSchema,
|
|
24507
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
24508
|
-
});
|
|
24509
24478
|
var PipelineModelOptionSchema = object({
|
|
24510
24479
|
id: string(),
|
|
24511
24480
|
name: string(),
|
|
24512
|
-
formats: record(string(),
|
|
24513
|
-
downloaded: boolean(),
|
|
24514
|
-
sizeMB: number()
|
|
24515
|
-
})),
|
|
24481
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
24516
24482
|
group: ModelVariantGroupSchema.optional(),
|
|
24517
24483
|
legacy: boolean().optional(),
|
|
24518
24484
|
provider: ModelProviderIdSchema.optional(),
|
|
24519
|
-
defaultConfidence: number().optional()
|
|
24485
|
+
defaultConfidence: number().optional(),
|
|
24486
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
24520
24487
|
});
|
|
24521
24488
|
var ConfigFieldBridge = custom();
|
|
24522
24489
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -24678,6 +24645,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24678
24645
|
}), {
|
|
24679
24646
|
kind: "mutation",
|
|
24680
24647
|
auth: "admin"
|
|
24648
|
+
}), method(object({
|
|
24649
|
+
nodeId: string(),
|
|
24650
|
+
deviceIds: array(number()).readonly().optional(),
|
|
24651
|
+
dryRun: boolean()
|
|
24652
|
+
}), object({
|
|
24653
|
+
entries: array(object({
|
|
24654
|
+
deviceId: number(),
|
|
24655
|
+
keys: array(string()).readonly()
|
|
24656
|
+
})).readonly(),
|
|
24657
|
+
refused: array(object({
|
|
24658
|
+
deviceId: number(),
|
|
24659
|
+
reason: string()
|
|
24660
|
+
})).readonly()
|
|
24661
|
+
}), {
|
|
24662
|
+
kind: "mutation",
|
|
24663
|
+
auth: "admin"
|
|
24681
24664
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
24682
24665
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
24683
24666
|
deviceKey: string(),
|
|
@@ -24703,22 +24686,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24703
24686
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
24704
24687
|
steps: array(PipelineStepInputSchema),
|
|
24705
24688
|
deviceKey: string().optional()
|
|
24706
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
24707
|
-
name: string(),
|
|
24708
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
24709
|
-
engine: PipelineEngineChoiceSchema
|
|
24710
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
24711
|
-
id: string(),
|
|
24712
|
-
name: string().optional(),
|
|
24713
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
24714
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24689
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24715
24690
|
addonId: string(),
|
|
24716
24691
|
modelId: string(),
|
|
24717
|
-
format: ModelFormatSchema$
|
|
24692
|
+
format: ModelFormatSchema$2
|
|
24718
24693
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
24719
24694
|
addonId: string(),
|
|
24720
24695
|
modelId: string(),
|
|
24721
|
-
format: ModelFormatSchema$
|
|
24696
|
+
format: ModelFormatSchema$2
|
|
24722
24697
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
24723
24698
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24724
24699
|
frame: FrameInputSchema.optional(),
|
|
@@ -24784,7 +24759,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24784
24759
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
24785
24760
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
24786
24761
|
*/
|
|
24787
|
-
replay: literal(true).optional()
|
|
24762
|
+
replay: literal(true).optional(),
|
|
24763
|
+
/**
|
|
24764
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
24765
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
24766
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
24767
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
24768
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
24769
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
24770
|
+
*/
|
|
24771
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
24788
24772
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
24789
24773
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24790
24774
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -24866,6 +24850,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24866
24850
|
filename: string().optional(),
|
|
24867
24851
|
settings: record(string(), unknown()).optional()
|
|
24868
24852
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
24853
|
+
/**
|
|
24854
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24855
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24856
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24857
|
+
* schemas are what crosses the cap boundary.
|
|
24858
|
+
*/
|
|
24859
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24860
|
+
/** The operator's range for it. */
|
|
24861
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24862
|
+
min: 1,
|
|
24863
|
+
max: 8
|
|
24864
|
+
};
|
|
24865
|
+
var HardwareClassIdSchema = _enum([
|
|
24866
|
+
"intel-core-ultra",
|
|
24867
|
+
"intel-n-series",
|
|
24868
|
+
"apple-m-base",
|
|
24869
|
+
"apple-m-pro",
|
|
24870
|
+
"unknown"
|
|
24871
|
+
]);
|
|
24872
|
+
var AcceleratorKindSchema = _enum([
|
|
24873
|
+
"intel-npu",
|
|
24874
|
+
"intel-igpu",
|
|
24875
|
+
"x86-cpu",
|
|
24876
|
+
"arm-cpu",
|
|
24877
|
+
"apple-ane",
|
|
24878
|
+
"coral"
|
|
24879
|
+
]);
|
|
24880
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24881
|
+
object({
|
|
24882
|
+
kind: literal("capacity"),
|
|
24883
|
+
sessions: number(),
|
|
24884
|
+
minSessions: number()
|
|
24885
|
+
}),
|
|
24886
|
+
object({
|
|
24887
|
+
kind: literal("tie-faster"),
|
|
24888
|
+
over: string(),
|
|
24889
|
+
recallDelta: number()
|
|
24890
|
+
}),
|
|
24891
|
+
object({
|
|
24892
|
+
kind: literal("stepped-down"),
|
|
24893
|
+
from: string(),
|
|
24894
|
+
to: string(),
|
|
24895
|
+
limitedBy: string()
|
|
24896
|
+
}),
|
|
24897
|
+
object({
|
|
24898
|
+
kind: literal("no-fit-lightest"),
|
|
24899
|
+
sessions: number(),
|
|
24900
|
+
minSessions: number()
|
|
24901
|
+
}),
|
|
24902
|
+
object({
|
|
24903
|
+
kind: literal("derived-latency"),
|
|
24904
|
+
modelId: string()
|
|
24905
|
+
}),
|
|
24906
|
+
object({ kind: literal("cpu-device") }),
|
|
24907
|
+
object({ kind: literal("coral-untouched") }),
|
|
24908
|
+
object({ kind: literal("device-disabled") }),
|
|
24909
|
+
object({ kind: literal("device-unavailable") }),
|
|
24910
|
+
object({ kind: literal("node-offline") }),
|
|
24911
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24912
|
+
object({
|
|
24913
|
+
kind: literal("no-measured-data"),
|
|
24914
|
+
hardwareClass: HardwareClassIdSchema
|
|
24915
|
+
}),
|
|
24916
|
+
object({
|
|
24917
|
+
kind: literal("no-family-build"),
|
|
24918
|
+
format: ModelFormatSchema$1
|
|
24919
|
+
})
|
|
24920
|
+
]);
|
|
24921
|
+
var DeviceModelChoiceSchema = object({
|
|
24922
|
+
modelId: string(),
|
|
24923
|
+
p50Ms: number(),
|
|
24924
|
+
fps: number(),
|
|
24925
|
+
measured: boolean(),
|
|
24926
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24927
|
+
capacitySessions: number(),
|
|
24928
|
+
personRecall: number()
|
|
24929
|
+
});
|
|
24930
|
+
var DeviceRecommendationSchema = object({
|
|
24931
|
+
deviceKey: string(),
|
|
24932
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24933
|
+
enabled: boolean(),
|
|
24934
|
+
available: boolean(),
|
|
24935
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24936
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24937
|
+
});
|
|
24938
|
+
var NodeRecommendationSchema = object({
|
|
24939
|
+
nodeId: string(),
|
|
24940
|
+
reachable: boolean(),
|
|
24941
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24942
|
+
cpuModel: string().nullable(),
|
|
24943
|
+
skipped: boolean(),
|
|
24944
|
+
acceleratorModelId: string().nullable(),
|
|
24945
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24946
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24947
|
+
});
|
|
24948
|
+
var ModelPinChangeSchema = object({
|
|
24949
|
+
stepId: string(),
|
|
24950
|
+
before: string().nullable(),
|
|
24951
|
+
after: string().nullable()
|
|
24952
|
+
});
|
|
24953
|
+
var NodeDeviceChangeSchema = object({
|
|
24954
|
+
nodeId: string(),
|
|
24955
|
+
deviceKey: string(),
|
|
24956
|
+
madeExplicit: boolean(),
|
|
24957
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24958
|
+
thresholds: array(object({
|
|
24959
|
+
stepId: string(),
|
|
24960
|
+
keys: array(string()).readonly()
|
|
24961
|
+
})).readonly()
|
|
24962
|
+
});
|
|
24963
|
+
var CameraOverrideClearSchema = object({
|
|
24964
|
+
deviceId: number(),
|
|
24965
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24966
|
+
nodeId: string(),
|
|
24967
|
+
deviceKey: string().nullable(),
|
|
24968
|
+
stepId: string(),
|
|
24969
|
+
modelIdBefore: string().nullable(),
|
|
24970
|
+
keys: array(string()).readonly()
|
|
24971
|
+
});
|
|
24972
|
+
var DetectorStoreClearSchema = object({
|
|
24973
|
+
deviceId: number(),
|
|
24974
|
+
keys: array(string()).readonly()
|
|
24975
|
+
});
|
|
24976
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24977
|
+
object({
|
|
24978
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24979
|
+
skippedNodes: array(string()).readonly()
|
|
24980
|
+
}),
|
|
24981
|
+
object({
|
|
24982
|
+
kind: literal("detector-store-unreadable"),
|
|
24983
|
+
error: string()
|
|
24984
|
+
}),
|
|
24985
|
+
object({
|
|
24986
|
+
kind: literal("coral-enabled"),
|
|
24987
|
+
nodeId: string(),
|
|
24988
|
+
deviceKey: string()
|
|
24989
|
+
})
|
|
24990
|
+
]);
|
|
24991
|
+
var AutoTuneOptionsSchema = object({
|
|
24992
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24993
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24994
|
+
/**
|
|
24995
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24996
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24997
|
+
* that reaches it wins.
|
|
24998
|
+
*/
|
|
24999
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
25000
|
+
});
|
|
25001
|
+
var AutoTunePlanSchema = object({
|
|
25002
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
25003
|
+
planHash: string(),
|
|
25004
|
+
family: literal("yolov9"),
|
|
25005
|
+
headroom: number(),
|
|
25006
|
+
minSessionsPerDevice: number(),
|
|
25007
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
25008
|
+
cameraFps: number(),
|
|
25009
|
+
generatedAt: number(),
|
|
25010
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
25011
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
25012
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
25013
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
25014
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
25015
|
+
});
|
|
25016
|
+
var AutoTuneApplyInputSchema = object({
|
|
25017
|
+
planHash: string(),
|
|
25018
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
25019
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
25020
|
+
});
|
|
25021
|
+
var AutoTunePhaseResultSchema = object({
|
|
25022
|
+
phase: _enum([
|
|
25023
|
+
"download",
|
|
25024
|
+
"camera-overrides",
|
|
25025
|
+
"detector-thresholds",
|
|
25026
|
+
"node-models",
|
|
25027
|
+
"redispatch"
|
|
25028
|
+
]),
|
|
25029
|
+
ok: boolean(),
|
|
25030
|
+
detail: string()
|
|
25031
|
+
});
|
|
25032
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
25033
|
+
object({
|
|
25034
|
+
kind: literal("applied"),
|
|
25035
|
+
planHash: string(),
|
|
25036
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
25037
|
+
}),
|
|
25038
|
+
object({
|
|
25039
|
+
kind: literal("aborted"),
|
|
25040
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
25041
|
+
}),
|
|
25042
|
+
object({
|
|
25043
|
+
kind: literal("stale"),
|
|
25044
|
+
plan: AutoTunePlanSchema
|
|
25045
|
+
}),
|
|
25046
|
+
object({
|
|
25047
|
+
kind: literal("refused"),
|
|
25048
|
+
reason: _enum(["apply-in-progress"])
|
|
25049
|
+
})
|
|
25050
|
+
]);
|
|
25051
|
+
/**
|
|
25052
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
25053
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
25054
|
+
* hardware share suggestion and the stale device pins.
|
|
25055
|
+
*/
|
|
25056
|
+
/**
|
|
25057
|
+
* How a new detection session picks its node and device.
|
|
25058
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
25059
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
25060
|
+
* weight only bites once a node already holds a session.
|
|
25061
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
25062
|
+
* full or drowning node yields to a free one (D748).
|
|
25063
|
+
*/
|
|
25064
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
25065
|
+
var LoadBalancingSharesInputSchema = object({
|
|
25066
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
25067
|
+
nodes: record(string(), number().positive()).default({}),
|
|
25068
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
25069
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
25070
|
+
});
|
|
25071
|
+
var PlacementStatsInputSchema = object({
|
|
25072
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
25073
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
25074
|
+
var PlacementDeviceStatsSchema = object({
|
|
25075
|
+
deviceKey: string(),
|
|
25076
|
+
/** Sessions running on this device now. */
|
|
25077
|
+
sessionsNow: number(),
|
|
25078
|
+
/** Sessions started on this device inside the window. */
|
|
25079
|
+
sessionsStarted: number(),
|
|
25080
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
25081
|
+
observedShare: number().nullable()
|
|
25082
|
+
});
|
|
25083
|
+
var PlacementNodeStatsSchema = object({
|
|
25084
|
+
nodeId: string(),
|
|
25085
|
+
sessionsNow: number(),
|
|
25086
|
+
sessionsStarted: number(),
|
|
25087
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
25088
|
+
observedShare: number().nullable(),
|
|
25089
|
+
/** Most sessions this node ran at once inside the window. */
|
|
25090
|
+
peakSessions: number(),
|
|
25091
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
25092
|
+
yieldsAway: number(),
|
|
25093
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
25094
|
+
});
|
|
25095
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
25096
|
+
var StaleDevicePinSchema = object({
|
|
25097
|
+
deviceId: number(),
|
|
25098
|
+
deviceKey: string(),
|
|
25099
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
25100
|
+
reason: _enum(["disabled", "absent"])
|
|
25101
|
+
});
|
|
25102
|
+
var PlacementStatsSchema = object({
|
|
25103
|
+
policy: SessionPlacementPolicySchema,
|
|
25104
|
+
windowMs: number(),
|
|
25105
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
25106
|
+
observedForMs: number(),
|
|
25107
|
+
sessionsNow: number(),
|
|
25108
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
25109
|
+
clusterPeakSessions: number(),
|
|
25110
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
25111
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
25112
|
+
});
|
|
25113
|
+
/**
|
|
25114
|
+
* Where an automatic share's capacity comes from (D755).
|
|
25115
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
25116
|
+
* the measured latency table for the node's hardware class.
|
|
25117
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
25118
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
25119
|
+
*/
|
|
25120
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
25121
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
25122
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
25123
|
+
var SuggestSharesInputSchema = object({
|
|
25124
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
25125
|
+
/** Default `hardware`. */
|
|
25126
|
+
source: CapacitySourceSchema.default("hardware")
|
|
25127
|
+
});
|
|
25128
|
+
var SuggestedDeviceShareSchema = object({
|
|
25129
|
+
deviceKey: string(),
|
|
25130
|
+
/** Share of the node (0–100, rounded). */
|
|
25131
|
+
share: number(),
|
|
25132
|
+
modelId: string().nullable(),
|
|
25133
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
25134
|
+
fps: number().nullable(),
|
|
25135
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
25136
|
+
measured: boolean(),
|
|
25137
|
+
/**
|
|
25138
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
25139
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
25140
|
+
*/
|
|
25141
|
+
suggestedMaxSessions: number().nullable()
|
|
25142
|
+
});
|
|
25143
|
+
var SuggestedNodeShareSchema = object({
|
|
25144
|
+
nodeId: string(),
|
|
25145
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
25146
|
+
share: number().nullable(),
|
|
25147
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
25148
|
+
capacitySessions: number(),
|
|
25149
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
25150
|
+
skippedReason: string().nullable(),
|
|
25151
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
25152
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
25153
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
25154
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
25155
|
+
});
|
|
25156
|
+
var SuggestSharesResultSchema = object({
|
|
25157
|
+
headroom: number(),
|
|
25158
|
+
/** The source asked for; each node says what it actually used. */
|
|
25159
|
+
source: CapacitySourceSchema,
|
|
25160
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
25161
|
+
cameraFps: number(),
|
|
25162
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
25163
|
+
minSessionsPerDevice: number(),
|
|
25164
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
25165
|
+
});
|
|
25166
|
+
/**
|
|
25167
|
+
* Where the node and device shares come from (D750, D755).
|
|
25168
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
25169
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
25170
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
25171
|
+
* switched on or off, or changes model. No load input.
|
|
25172
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
25173
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
25174
|
+
* - `manual` — the operator's stored sliders.
|
|
25175
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
25176
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
25177
|
+
*/
|
|
25178
|
+
var ShareSourceSchema = _enum([
|
|
25179
|
+
"hardware",
|
|
25180
|
+
"benchmark",
|
|
25181
|
+
"manual"
|
|
25182
|
+
]);
|
|
25183
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
25184
|
+
object({
|
|
25185
|
+
nodes: record(string(), number()),
|
|
25186
|
+
devices: record(string(), record(string(), number()))
|
|
25187
|
+
});
|
|
25188
|
+
var EffectiveDeviceShareSchema = object({
|
|
25189
|
+
deviceKey: string(),
|
|
25190
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
25191
|
+
eligible: boolean(),
|
|
25192
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
25193
|
+
configuredPct: number(),
|
|
25194
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
25195
|
+
effectivePct: number()
|
|
25196
|
+
});
|
|
25197
|
+
var EffectiveNodeShareSchema = object({
|
|
25198
|
+
nodeId: string(),
|
|
25199
|
+
eligible: boolean(),
|
|
25200
|
+
configuredPct: number(),
|
|
25201
|
+
effectivePct: number(),
|
|
25202
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
25203
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
25204
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
25205
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
25206
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
25207
|
+
});
|
|
25208
|
+
var EffectiveSharesSchema = object({
|
|
25209
|
+
source: ShareSourceSchema,
|
|
25210
|
+
policy: SessionPlacementPolicySchema,
|
|
25211
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
25212
|
+
autoPending: boolean(),
|
|
25213
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
25214
|
+
computedAt: number().nullable(),
|
|
25215
|
+
/** What made the system recompute them last. */
|
|
25216
|
+
trigger: string().nullable(),
|
|
25217
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
25218
|
+
/** The relative weights the election reads (before eligibility). */
|
|
25219
|
+
nodeWeights: record(string(), number()),
|
|
25220
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
25221
|
+
});
|
|
24869
25222
|
object({
|
|
24870
25223
|
activeCameras: number(),
|
|
24871
25224
|
throttledCameras: number(),
|
|
@@ -25783,14 +26136,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
25783
26136
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
25784
26137
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
25785
26138
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
25786
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
25787
|
-
* per
|
|
26139
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
26140
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
26141
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
26142
|
+
* (D762).
|
|
25788
26143
|
*/
|
|
25789
26144
|
devices: array(object({
|
|
25790
26145
|
deviceKey: string(),
|
|
25791
26146
|
backend: string(),
|
|
25792
|
-
attachedCameras: number()
|
|
25793
|
-
queueDepthTotal: number()
|
|
26147
|
+
attachedCameras: number()
|
|
25794
26148
|
})).default([]),
|
|
25795
26149
|
/** Hardware capability flags reported by this node. */
|
|
25796
26150
|
hardware: object({
|
|
@@ -25926,7 +26280,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
25926
26280
|
*/
|
|
25927
26281
|
cropJpeg: string().optional(),
|
|
25928
26282
|
parent: DetailParentSchema,
|
|
25929
|
-
steps: array(string()).optional()
|
|
26283
|
+
steps: array(string()).optional(),
|
|
26284
|
+
/**
|
|
26285
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
26286
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
26287
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
26288
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
26289
|
+
* requested step infers as before.
|
|
26290
|
+
*/
|
|
26291
|
+
supplied: object({
|
|
26292
|
+
stepId: string(),
|
|
26293
|
+
modelId: string(),
|
|
26294
|
+
boxes: array(object({
|
|
26295
|
+
bbox: NativeCropBboxSchema,
|
|
26296
|
+
score: number()
|
|
26297
|
+
})).min(1)
|
|
26298
|
+
}).optional()
|
|
25930
26299
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
25931
26300
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
25932
26301
|
stepId: string(),
|
|
@@ -25989,14 +26358,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25989
26358
|
settings: record(string(), unknown()).readonly().optional()
|
|
25990
26359
|
}).nullable().optional()
|
|
25991
26360
|
});
|
|
25992
|
-
var PipelineTemplateSchema = object({
|
|
25993
|
-
id: string(),
|
|
25994
|
-
name: string(),
|
|
25995
|
-
description: string().optional(),
|
|
25996
|
-
config: CameraPipelineConfigSchema,
|
|
25997
|
-
createdAt: string(),
|
|
25998
|
-
updatedAt: string()
|
|
25999
|
-
});
|
|
26000
26361
|
var DeviceStepConfigSchema = object({
|
|
26001
26362
|
modelId: string().optional(),
|
|
26002
26363
|
settings: record(string(), unknown()).optional(),
|
|
@@ -26070,9 +26431,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
26070
26431
|
modelId: string().optional(),
|
|
26071
26432
|
settings: record(string(), unknown()).readonly().optional()
|
|
26072
26433
|
});
|
|
26434
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
26073
26435
|
var CameraPipelineSettingsSchema = object({
|
|
26074
|
-
pinnedAgentNodeId: string().optional(),
|
|
26075
26436
|
stepToggles: record(string(), boolean()).optional(),
|
|
26437
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
26076
26438
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
26077
26439
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
26078
26440
|
});
|
|
@@ -26105,7 +26467,10 @@ var PipelineAssignmentSchema = object({
|
|
|
26105
26467
|
});
|
|
26106
26468
|
/**
|
|
26107
26469
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
26108
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
26470
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
26471
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
26472
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
26473
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
26109
26474
|
*/
|
|
26110
26475
|
var AgentLoadSummarySchema = object({
|
|
26111
26476
|
nodeId: string(),
|
|
@@ -26194,26 +26559,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
26194
26559
|
width: number(),
|
|
26195
26560
|
height: number(),
|
|
26196
26561
|
subscribers: number(),
|
|
26197
|
-
|
|
26198
|
-
|
|
26562
|
+
/**
|
|
26563
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
26564
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
26565
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
26566
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
26567
|
+
* camera and is not served (D758).
|
|
26568
|
+
*/
|
|
26569
|
+
inFps: number().nullable()
|
|
26199
26570
|
})).readonly(),
|
|
26200
26571
|
webrtcSessions: number(),
|
|
26201
26572
|
rtspRestream: boolean()
|
|
26202
26573
|
});
|
|
26203
|
-
/**
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
var CameraDecoderStatusSchema = object({
|
|
26212
|
-
nodeId: string(),
|
|
26213
|
-
formats: array(string()).readonly(),
|
|
26214
|
-
sessionCount: number(),
|
|
26215
|
-
shm: CameraDecoderShmSchema
|
|
26216
|
-
});
|
|
26574
|
+
/**
|
|
26575
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
26576
|
+
* construction); null when the camera has no detection node. It carries no
|
|
26577
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
26578
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
26579
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
26580
|
+
* detector), never from a counter nothing feeds.
|
|
26581
|
+
*/
|
|
26582
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
26217
26583
|
/** Motion block — null when motion detection is not active for this device. */
|
|
26218
26584
|
var CameraMotionStatusSchema = object({
|
|
26219
26585
|
enabled: boolean(),
|
|
@@ -26570,12 +26936,6 @@ method(object({
|
|
|
26570
26936
|
}), object({ success: literal(true) }), {
|
|
26571
26937
|
kind: "mutation",
|
|
26572
26938
|
auth: "admin"
|
|
26573
|
-
}), method(object({
|
|
26574
|
-
agentNodeId: string(),
|
|
26575
|
-
detectWeight: number().positive().nullable()
|
|
26576
|
-
}), object({ success: literal(true) }), {
|
|
26577
|
-
kind: "mutation",
|
|
26578
|
-
auth: "admin"
|
|
26579
26939
|
}), method(object({
|
|
26580
26940
|
agentNodeId: string(),
|
|
26581
26941
|
detect: boolean().nullable().optional(),
|
|
@@ -26617,6 +26977,15 @@ method(object({
|
|
|
26617
26977
|
}), {
|
|
26618
26978
|
kind: "mutation",
|
|
26619
26979
|
auth: "admin"
|
|
26980
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26981
|
+
kind: "mutation",
|
|
26982
|
+
auth: "admin"
|
|
26983
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26984
|
+
kind: "mutation",
|
|
26985
|
+
auth: "admin"
|
|
26986
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26987
|
+
kind: "mutation",
|
|
26988
|
+
auth: "admin"
|
|
26620
26989
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
26621
26990
|
deviceId: number(),
|
|
26622
26991
|
addonId: string(),
|
|
@@ -26633,6 +27002,13 @@ method(object({
|
|
|
26633
27002
|
}), object({ success: literal(true) }), {
|
|
26634
27003
|
kind: "mutation",
|
|
26635
27004
|
auth: "admin"
|
|
27005
|
+
}), method(object({
|
|
27006
|
+
deviceId: number(),
|
|
27007
|
+
addonId: string(),
|
|
27008
|
+
settings: record(string(), unknown()).nullable()
|
|
27009
|
+
}), object({ success: literal(true) }), {
|
|
27010
|
+
kind: "mutation",
|
|
27011
|
+
auth: "admin"
|
|
26636
27012
|
}), method(object({
|
|
26637
27013
|
deviceId: number(),
|
|
26638
27014
|
agentNodeId: string(),
|
|
@@ -26656,25 +27032,7 @@ method(object({
|
|
|
26656
27032
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
26657
27033
|
kind: "mutation",
|
|
26658
27034
|
auth: "admin"
|
|
26659
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
26660
|
-
name: string(),
|
|
26661
|
-
description: string().optional(),
|
|
26662
|
-
config: CameraPipelineConfigSchema
|
|
26663
|
-
}), PipelineTemplateSchema, {
|
|
26664
|
-
kind: "mutation",
|
|
26665
|
-
auth: "admin"
|
|
26666
|
-
}), method(object({
|
|
26667
|
-
id: string(),
|
|
26668
|
-
name: string().optional(),
|
|
26669
|
-
description: string().optional(),
|
|
26670
|
-
config: CameraPipelineConfigSchema.optional()
|
|
26671
|
-
}), PipelineTemplateSchema, {
|
|
26672
|
-
kind: "mutation",
|
|
26673
|
-
auth: "admin"
|
|
26674
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
26675
|
-
kind: "mutation",
|
|
26676
|
-
auth: "admin"
|
|
26677
|
-
});
|
|
27035
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
26678
27036
|
/**
|
|
26679
27037
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
26680
27038
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -28923,8 +29281,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28923
29281
|
]).nullable(),
|
|
28924
29282
|
/** Input FPS from the camera (null for adaptive). */
|
|
28925
29283
|
inputFps: number().nullable(),
|
|
28926
|
-
/** Decoded FPS (null for adaptive). */
|
|
28927
|
-
decodeFps: number().nullable(),
|
|
28928
29284
|
/** Bitrate in kbps (null for adaptive). */
|
|
28929
29285
|
bitrateKbps: number().nullable()
|
|
28930
29286
|
});
|
|
@@ -29256,6 +29612,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
29256
29612
|
*/
|
|
29257
29613
|
alive: boolean()
|
|
29258
29614
|
})), method(object({
|
|
29615
|
+
deviceId: number().int().nonnegative(),
|
|
29616
|
+
sessionId: string(),
|
|
29617
|
+
downlinkMbps: number().nonnegative()
|
|
29618
|
+
}), object({
|
|
29619
|
+
outcome: _enum(["switching", "held"]),
|
|
29620
|
+
tier: CamProfileSchema.nullable(),
|
|
29621
|
+
reason: string()
|
|
29622
|
+
}), { kind: "mutation" }), method(object({
|
|
29259
29623
|
deviceId: number().int().nonnegative(),
|
|
29260
29624
|
sessionId: string()
|
|
29261
29625
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -29495,6 +29859,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29495
29859
|
var RestartAddonResultSchema = unknown();
|
|
29496
29860
|
var InstallPackageResultSchema = unknown();
|
|
29497
29861
|
var ReloadPackagesResultSchema = unknown();
|
|
29862
|
+
/**
|
|
29863
|
+
* What an uninstall did on ONE node.
|
|
29864
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29865
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29866
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29867
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29868
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29869
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29870
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29871
|
+
*/
|
|
29872
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29873
|
+
"uninstalled",
|
|
29874
|
+
"not-installed",
|
|
29875
|
+
"refused",
|
|
29876
|
+
"failed",
|
|
29877
|
+
"pending-reconnect"
|
|
29878
|
+
]);
|
|
29879
|
+
var UninstallNodeResultSchema = object({
|
|
29880
|
+
nodeId: string(),
|
|
29881
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29882
|
+
error: string().optional(),
|
|
29883
|
+
addonIds: array(string()).readonly(),
|
|
29884
|
+
runnersStopped: array(string()).readonly(),
|
|
29885
|
+
warnings: array(string()).readonly()
|
|
29886
|
+
});
|
|
29887
|
+
var UninstallPackageResultSchema = object({
|
|
29888
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29889
|
+
success: boolean(),
|
|
29890
|
+
packageName: string(),
|
|
29891
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29892
|
+
});
|
|
29893
|
+
/**
|
|
29894
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29895
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29896
|
+
*/
|
|
29897
|
+
var PackageInstallationsSchema = object({
|
|
29898
|
+
installations: array(object({
|
|
29899
|
+
packageName: string(),
|
|
29900
|
+
nodeId: string(),
|
|
29901
|
+
nodeName: string(),
|
|
29902
|
+
isHub: boolean(),
|
|
29903
|
+
isOnline: boolean(),
|
|
29904
|
+
version: string().nullable(),
|
|
29905
|
+
addonIds: array(string()).readonly(),
|
|
29906
|
+
source: _enum(["live", "recorded"]),
|
|
29907
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29908
|
+
onHub: boolean()
|
|
29909
|
+
})).readonly(),
|
|
29910
|
+
unreachable: array(object({
|
|
29911
|
+
nodeId: string(),
|
|
29912
|
+
error: string()
|
|
29913
|
+
})).readonly()
|
|
29914
|
+
});
|
|
29498
29915
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29499
29916
|
"queued",
|
|
29500
29917
|
"updating",
|
|
@@ -29577,10 +29994,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29577
29994
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29578
29995
|
kind: "mutation",
|
|
29579
29996
|
auth: "admin"
|
|
29580
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29997
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29998
|
+
packageName: string().min(1),
|
|
29999
|
+
nodeId: string().optional(),
|
|
30000
|
+
everywhere: boolean().optional()
|
|
30001
|
+
}), UninstallPackageResultSchema, {
|
|
29581
30002
|
kind: "mutation",
|
|
29582
30003
|
auth: "admin"
|
|
29583
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
30004
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29584
30005
|
kind: "mutation",
|
|
29585
30006
|
auth: "admin"
|
|
29586
30007
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -33067,7 +33488,8 @@ var ConnectionEndpointSchema = object({
|
|
|
33067
33488
|
"lan-ipv6",
|
|
33068
33489
|
"public",
|
|
33069
33490
|
"loopback",
|
|
33070
|
-
"app-link"
|
|
33491
|
+
"app-link",
|
|
33492
|
+
"custom"
|
|
33071
33493
|
]),
|
|
33072
33494
|
/**
|
|
33073
33495
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -33136,7 +33558,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
33136
33558
|
localPort: AdvertisedLocalPortSchema
|
|
33137
33559
|
});
|
|
33138
33560
|
/**
|
|
33139
|
-
* The address flagged for notification
|
|
33561
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
33140
33562
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
33141
33563
|
* so the UI can show it either way.
|
|
33142
33564
|
*/
|
|
@@ -33169,6 +33591,72 @@ var ViewerEndpointsSchema = object({
|
|
|
33169
33591
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
33170
33592
|
resolved: array(string()).readonly()
|
|
33171
33593
|
});
|
|
33594
|
+
/**
|
|
33595
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
33596
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
33597
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
33598
|
+
*/
|
|
33599
|
+
var HubAddressSnapshotSchema = object({
|
|
33600
|
+
override: string().nullable(),
|
|
33601
|
+
resolved: string().nullable(),
|
|
33602
|
+
source: _enum([
|
|
33603
|
+
"override",
|
|
33604
|
+
"auto",
|
|
33605
|
+
"none"
|
|
33606
|
+
])
|
|
33607
|
+
});
|
|
33608
|
+
var HubAddressesSchema = object({
|
|
33609
|
+
cluster: HubAddressSnapshotSchema,
|
|
33610
|
+
browser: HubAddressSnapshotSchema
|
|
33611
|
+
});
|
|
33612
|
+
/**
|
|
33613
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
33614
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
33615
|
+
* by at most one address.
|
|
33616
|
+
*/
|
|
33617
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
33618
|
+
var RoleSourceSchema = _enum([
|
|
33619
|
+
"flagged",
|
|
33620
|
+
"auto",
|
|
33621
|
+
"none"
|
|
33622
|
+
]);
|
|
33623
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
33624
|
+
var HubAddressRoleResolutionSchema = object({
|
|
33625
|
+
/** The address carrying the flag, or null = automatic. */
|
|
33626
|
+
flagged: string().nullable(),
|
|
33627
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
33628
|
+
resolved: string().nullable(),
|
|
33629
|
+
source: RoleSourceSchema
|
|
33630
|
+
});
|
|
33631
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
33632
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
33633
|
+
flagged: array(string()).readonly(),
|
|
33634
|
+
/** What the apps race right now. */
|
|
33635
|
+
resolved: array(string()).readonly(),
|
|
33636
|
+
source: RoleSourceSchema
|
|
33637
|
+
});
|
|
33638
|
+
var HubAddressBookSchema = object({
|
|
33639
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
33640
|
+
/** In the hub's detected palette right now. */
|
|
33641
|
+
detected: boolean(),
|
|
33642
|
+
/** Entered by the operator (removable). */
|
|
33643
|
+
custom: boolean(),
|
|
33644
|
+
/** The roles explicitly flagged on this address. */
|
|
33645
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
33646
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
33647
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
33648
|
+
/** The roles this address may be flagged with. */
|
|
33649
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
33650
|
+
})).readonly(),
|
|
33651
|
+
roles: object({
|
|
33652
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
33653
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
33654
|
+
internal: HubAddressRoleResolutionSchema,
|
|
33655
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
33656
|
+
}),
|
|
33657
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
33658
|
+
appLinkHub: string().nullable()
|
|
33659
|
+
});
|
|
33172
33660
|
var AllowedAddressesSchema = object({
|
|
33173
33661
|
/**
|
|
33174
33662
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -33212,10 +33700,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
33212
33700
|
* tunnel always emits `https://` regardless. */
|
|
33213
33701
|
scheme: _enum(["http", "https"]).optional(),
|
|
33214
33702
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
33215
|
-
* an address notification
|
|
33703
|
+
* an address notification taps can be flagged with, not a hub
|
|
33216
33704
|
* route. Default `false`: racers and rankers never see it. */
|
|
33217
33705
|
includeAppLink: boolean().optional()
|
|
33218
|
-
}), 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(
|
|
33706
|
+
}), 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({
|
|
33707
|
+
baseUrl: string(),
|
|
33708
|
+
label: string().max(80)
|
|
33709
|
+
}), HubAddressBookSchema, {
|
|
33710
|
+
kind: "mutation",
|
|
33711
|
+
auth: "admin"
|
|
33712
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
33713
|
+
kind: "mutation",
|
|
33714
|
+
auth: "admin"
|
|
33715
|
+
}), method(object({
|
|
33716
|
+
role: HubAddressRoleSchema,
|
|
33717
|
+
baseUrl: string().nullable(),
|
|
33718
|
+
enabled: boolean(),
|
|
33719
|
+
acceptInsecureHttp: boolean().optional()
|
|
33720
|
+
}), HubAddressBookSchema, {
|
|
33721
|
+
kind: "mutation",
|
|
33722
|
+
auth: "admin"
|
|
33723
|
+
}), 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, {
|
|
33219
33724
|
kind: "mutation",
|
|
33220
33725
|
auth: "admin"
|
|
33221
33726
|
}), method(object({
|
|
@@ -33673,7 +34178,8 @@ var MotionStatusSchema = object({
|
|
|
33673
34178
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
33674
34179
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
33675
34180
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
33676
|
-
* A provider's `isDetected`
|
|
34181
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
34182
|
+
* (`hubMotionNativeProvider`).
|
|
33677
34183
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
33678
34184
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
33679
34185
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -40220,6 +40726,16 @@ var zoneRulesCapability = {
|
|
|
40220
40726
|
durability: "restored"
|
|
40221
40727
|
};
|
|
40222
40728
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
40729
|
+
Object.freeze({
|
|
40730
|
+
person: .5,
|
|
40731
|
+
vehicle: .5,
|
|
40732
|
+
animal: .5
|
|
40733
|
+
});
|
|
40734
|
+
Object.freeze({
|
|
40735
|
+
person: .65,
|
|
40736
|
+
vehicle: .65,
|
|
40737
|
+
animal: .65
|
|
40738
|
+
});
|
|
40223
40739
|
/**
|
|
40224
40740
|
* Accessory device helpers — shared across drivers.
|
|
40225
40741
|
*
|
|
@@ -41918,6 +42434,12 @@ Object.freeze({
|
|
|
41918
42434
|
addonId: null,
|
|
41919
42435
|
access: "view"
|
|
41920
42436
|
},
|
|
42437
|
+
"addons.listInstallations": {
|
|
42438
|
+
capName: "addons",
|
|
42439
|
+
capScope: "system",
|
|
42440
|
+
addonId: null,
|
|
42441
|
+
access: "view"
|
|
42442
|
+
},
|
|
41921
42443
|
"addons.listJobs": {
|
|
41922
42444
|
capName: "addons",
|
|
41923
42445
|
capScope: "system",
|
|
@@ -43100,90 +43622,18 @@ Object.freeze({
|
|
|
43100
43622
|
addonId: null,
|
|
43101
43623
|
access: "create"
|
|
43102
43624
|
},
|
|
43103
|
-
"decoder.createSession": {
|
|
43104
|
-
capName: "decoder",
|
|
43105
|
-
capScope: "system",
|
|
43106
|
-
addonId: null,
|
|
43107
|
-
access: "view"
|
|
43108
|
-
},
|
|
43109
|
-
"decoder.destroySession": {
|
|
43110
|
-
capName: "decoder",
|
|
43111
|
-
capScope: "system",
|
|
43112
|
-
addonId: null,
|
|
43113
|
-
access: "delete"
|
|
43114
|
-
},
|
|
43115
|
-
"decoder.getFrame": {
|
|
43116
|
-
capName: "decoder",
|
|
43117
|
-
capScope: "system",
|
|
43118
|
-
addonId: null,
|
|
43119
|
-
access: "view"
|
|
43120
|
-
},
|
|
43121
43625
|
"decoder.getInfo": {
|
|
43122
43626
|
capName: "decoder",
|
|
43123
43627
|
capScope: "system",
|
|
43124
43628
|
addonId: null,
|
|
43125
43629
|
access: "view"
|
|
43126
43630
|
},
|
|
43127
|
-
"decoder.getShmStats": {
|
|
43128
|
-
capName: "decoder",
|
|
43129
|
-
capScope: "system",
|
|
43130
|
-
addonId: null,
|
|
43131
|
-
access: "view"
|
|
43132
|
-
},
|
|
43133
|
-
"decoder.getStats": {
|
|
43134
|
-
capName: "decoder",
|
|
43135
|
-
capScope: "system",
|
|
43136
|
-
addonId: null,
|
|
43137
|
-
access: "view"
|
|
43138
|
-
},
|
|
43139
|
-
"decoder.listActiveSessions": {
|
|
43140
|
-
capName: "decoder",
|
|
43141
|
-
capScope: "system",
|
|
43142
|
-
addonId: null,
|
|
43143
|
-
access: "view"
|
|
43144
|
-
},
|
|
43145
|
-
"decoder.openStream": {
|
|
43146
|
-
capName: "decoder",
|
|
43147
|
-
capScope: "system",
|
|
43148
|
-
addonId: null,
|
|
43149
|
-
access: "view"
|
|
43150
|
-
},
|
|
43151
|
-
"decoder.pullFrames": {
|
|
43152
|
-
capName: "decoder",
|
|
43153
|
-
capScope: "system",
|
|
43154
|
-
addonId: null,
|
|
43155
|
-
access: "view"
|
|
43156
|
-
},
|
|
43157
|
-
"decoder.pullHandles": {
|
|
43158
|
-
capName: "decoder",
|
|
43159
|
-
capScope: "system",
|
|
43160
|
-
addonId: null,
|
|
43161
|
-
access: "view"
|
|
43162
|
-
},
|
|
43163
|
-
"decoder.pushPacket": {
|
|
43164
|
-
capName: "decoder",
|
|
43165
|
-
capScope: "system",
|
|
43166
|
-
addonId: null,
|
|
43167
|
-
access: "view"
|
|
43168
|
-
},
|
|
43169
43631
|
"decoder.reprobeHwaccel": {
|
|
43170
43632
|
capName: "decoder",
|
|
43171
43633
|
capScope: "system",
|
|
43172
43634
|
addonId: null,
|
|
43173
43635
|
access: "create"
|
|
43174
43636
|
},
|
|
43175
|
-
"decoder.supportsCodec": {
|
|
43176
|
-
capName: "decoder",
|
|
43177
|
-
capScope: "system",
|
|
43178
|
-
addonId: null,
|
|
43179
|
-
access: "view"
|
|
43180
|
-
},
|
|
43181
|
-
"decoder.updateConfig": {
|
|
43182
|
-
capName: "decoder",
|
|
43183
|
-
capScope: "system",
|
|
43184
|
-
addonId: null,
|
|
43185
|
-
access: "view"
|
|
43186
|
-
},
|
|
43187
43637
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
43188
43638
|
capName: "detection-pipeline",
|
|
43189
43639
|
capScope: "device",
|
|
@@ -44672,12 +45122,24 @@ Object.freeze({
|
|
|
44672
45122
|
addonId: null,
|
|
44673
45123
|
access: "view"
|
|
44674
45124
|
},
|
|
45125
|
+
"localNetwork.addCustomAddress": {
|
|
45126
|
+
capName: "local-network",
|
|
45127
|
+
capScope: "system",
|
|
45128
|
+
addonId: null,
|
|
45129
|
+
access: "create"
|
|
45130
|
+
},
|
|
44675
45131
|
"localNetwork.downloadCa": {
|
|
44676
45132
|
capName: "local-network",
|
|
44677
45133
|
capScope: "system",
|
|
44678
45134
|
addonId: null,
|
|
44679
45135
|
access: "view"
|
|
44680
45136
|
},
|
|
45137
|
+
"localNetwork.getAddresses": {
|
|
45138
|
+
capName: "local-network",
|
|
45139
|
+
capScope: "system",
|
|
45140
|
+
addonId: null,
|
|
45141
|
+
access: "view"
|
|
45142
|
+
},
|
|
44681
45143
|
"localNetwork.getAllowedAddresses": {
|
|
44682
45144
|
capName: "local-network",
|
|
44683
45145
|
capScope: "system",
|
|
@@ -44690,6 +45152,12 @@ Object.freeze({
|
|
|
44690
45152
|
addonId: null,
|
|
44691
45153
|
access: "view"
|
|
44692
45154
|
},
|
|
45155
|
+
"localNetwork.getHubAddresses": {
|
|
45156
|
+
capName: "local-network",
|
|
45157
|
+
capScope: "system",
|
|
45158
|
+
addonId: null,
|
|
45159
|
+
access: "view"
|
|
45160
|
+
},
|
|
44693
45161
|
"localNetwork.getNotificationEndpoint": {
|
|
44694
45162
|
capName: "local-network",
|
|
44695
45163
|
capScope: "system",
|
|
@@ -44726,6 +45194,12 @@ Object.freeze({
|
|
|
44726
45194
|
addonId: null,
|
|
44727
45195
|
access: "create"
|
|
44728
45196
|
},
|
|
45197
|
+
"localNetwork.removeCustomAddress": {
|
|
45198
|
+
capName: "local-network",
|
|
45199
|
+
capScope: "system",
|
|
45200
|
+
addonId: null,
|
|
45201
|
+
access: "delete"
|
|
45202
|
+
},
|
|
44729
45203
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
44730
45204
|
capName: "local-network",
|
|
44731
45205
|
capScope: "system",
|
|
@@ -44738,6 +45212,12 @@ Object.freeze({
|
|
|
44738
45212
|
addonId: null,
|
|
44739
45213
|
access: "create"
|
|
44740
45214
|
},
|
|
45215
|
+
"localNetwork.setAddressRole": {
|
|
45216
|
+
capName: "local-network",
|
|
45217
|
+
capScope: "system",
|
|
45218
|
+
addonId: null,
|
|
45219
|
+
access: "create"
|
|
45220
|
+
},
|
|
44741
45221
|
"localNetwork.setAllowedAddresses": {
|
|
44742
45222
|
capName: "local-network",
|
|
44743
45223
|
capScope: "system",
|
|
@@ -46232,13 +46712,13 @@ Object.freeze({
|
|
|
46232
46712
|
addonId: null,
|
|
46233
46713
|
access: "delete"
|
|
46234
46714
|
},
|
|
46235
|
-
"pipelineExecutor.
|
|
46715
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46236
46716
|
capName: "pipeline-executor",
|
|
46237
46717
|
capScope: "system",
|
|
46238
46718
|
addonId: null,
|
|
46239
46719
|
access: "delete"
|
|
46240
46720
|
},
|
|
46241
|
-
"pipelineExecutor.
|
|
46721
|
+
"pipelineExecutor.deleteModel": {
|
|
46242
46722
|
capName: "pipeline-executor",
|
|
46243
46723
|
capScope: "system",
|
|
46244
46724
|
addonId: null,
|
|
@@ -46382,12 +46862,6 @@ Object.freeze({
|
|
|
46382
46862
|
addonId: null,
|
|
46383
46863
|
access: "view"
|
|
46384
46864
|
},
|
|
46385
|
-
"pipelineExecutor.listTemplates": {
|
|
46386
|
-
capName: "pipeline-executor",
|
|
46387
|
-
capScope: "system",
|
|
46388
|
-
addonId: null,
|
|
46389
|
-
access: "view"
|
|
46390
|
-
},
|
|
46391
46865
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
46392
46866
|
capName: "pipeline-executor",
|
|
46393
46867
|
capScope: "system",
|
|
@@ -46412,12 +46886,6 @@ Object.freeze({
|
|
|
46412
46886
|
addonId: null,
|
|
46413
46887
|
access: "create"
|
|
46414
46888
|
},
|
|
46415
|
-
"pipelineExecutor.saveTemplate": {
|
|
46416
|
-
capName: "pipeline-executor",
|
|
46417
|
-
capScope: "system",
|
|
46418
|
-
addonId: null,
|
|
46419
|
-
access: "create"
|
|
46420
|
-
},
|
|
46421
46889
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
46422
46890
|
capName: "pipeline-executor",
|
|
46423
46891
|
capScope: "system",
|
|
@@ -46436,41 +46904,35 @@ Object.freeze({
|
|
|
46436
46904
|
addonId: null,
|
|
46437
46905
|
access: "create"
|
|
46438
46906
|
},
|
|
46439
|
-
"pipelineExecutor.updateTemplate": {
|
|
46440
|
-
capName: "pipeline-executor",
|
|
46441
|
-
capScope: "system",
|
|
46442
|
-
addonId: null,
|
|
46443
|
-
access: "create"
|
|
46444
|
-
},
|
|
46445
46907
|
"pipelineExecutor.validatePipeline": {
|
|
46446
46908
|
capName: "pipeline-executor",
|
|
46447
46909
|
capScope: "system",
|
|
46448
46910
|
addonId: null,
|
|
46449
46911
|
access: "view"
|
|
46450
46912
|
},
|
|
46451
|
-
"pipelineOrchestrator.
|
|
46913
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
46452
46914
|
capName: "pipeline-orchestrator",
|
|
46453
46915
|
capScope: "system",
|
|
46454
46916
|
addonId: null,
|
|
46455
46917
|
access: "create"
|
|
46456
46918
|
},
|
|
46457
|
-
"pipelineOrchestrator.
|
|
46919
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
46458
46920
|
capName: "pipeline-orchestrator",
|
|
46459
46921
|
capScope: "system",
|
|
46460
46922
|
addonId: null,
|
|
46461
46923
|
access: "create"
|
|
46462
46924
|
},
|
|
46463
|
-
"pipelineOrchestrator.
|
|
46925
|
+
"pipelineOrchestrator.assignAudio": {
|
|
46464
46926
|
capName: "pipeline-orchestrator",
|
|
46465
46927
|
capScope: "system",
|
|
46466
46928
|
addonId: null,
|
|
46467
46929
|
access: "create"
|
|
46468
46930
|
},
|
|
46469
|
-
"pipelineOrchestrator.
|
|
46931
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
46470
46932
|
capName: "pipeline-orchestrator",
|
|
46471
46933
|
capScope: "system",
|
|
46472
46934
|
addonId: null,
|
|
46473
|
-
access: "
|
|
46935
|
+
access: "create"
|
|
46474
46936
|
},
|
|
46475
46937
|
"pipelineOrchestrator.getAgentLoad": {
|
|
46476
46938
|
capName: "pipeline-orchestrator",
|
|
@@ -46562,6 +47024,12 @@ Object.freeze({
|
|
|
46562
47024
|
addonId: null,
|
|
46563
47025
|
access: "view"
|
|
46564
47026
|
},
|
|
47027
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
47028
|
+
capName: "pipeline-orchestrator",
|
|
47029
|
+
capScope: "system",
|
|
47030
|
+
addonId: null,
|
|
47031
|
+
access: "view"
|
|
47032
|
+
},
|
|
46565
47033
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
46566
47034
|
capName: "pipeline-orchestrator",
|
|
46567
47035
|
capScope: "system",
|
|
@@ -46598,19 +47066,19 @@ Object.freeze({
|
|
|
46598
47066
|
addonId: null,
|
|
46599
47067
|
access: "view"
|
|
46600
47068
|
},
|
|
46601
|
-
"pipelineOrchestrator.
|
|
47069
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
46602
47070
|
capName: "pipeline-orchestrator",
|
|
46603
47071
|
capScope: "system",
|
|
46604
47072
|
addonId: null,
|
|
46605
47073
|
access: "view"
|
|
46606
47074
|
},
|
|
46607
|
-
"pipelineOrchestrator.
|
|
47075
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
46608
47076
|
capName: "pipeline-orchestrator",
|
|
46609
47077
|
capScope: "system",
|
|
46610
47078
|
addonId: null,
|
|
46611
47079
|
access: "view"
|
|
46612
47080
|
},
|
|
46613
|
-
"pipelineOrchestrator.
|
|
47081
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
46614
47082
|
capName: "pipeline-orchestrator",
|
|
46615
47083
|
capScope: "system",
|
|
46616
47084
|
addonId: null,
|
|
@@ -46622,6 +47090,12 @@ Object.freeze({
|
|
|
46622
47090
|
addonId: null,
|
|
46623
47091
|
access: "create"
|
|
46624
47092
|
},
|
|
47093
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
47094
|
+
capName: "pipeline-orchestrator",
|
|
47095
|
+
capScope: "system",
|
|
47096
|
+
addonId: null,
|
|
47097
|
+
access: "view"
|
|
47098
|
+
},
|
|
46625
47099
|
"pipelineOrchestrator.rebalance": {
|
|
46626
47100
|
capName: "pipeline-orchestrator",
|
|
46627
47101
|
capScope: "system",
|
|
@@ -46664,12 +47138,6 @@ Object.freeze({
|
|
|
46664
47138
|
addonId: null,
|
|
46665
47139
|
access: "create"
|
|
46666
47140
|
},
|
|
46667
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
46668
|
-
capName: "pipeline-orchestrator",
|
|
46669
|
-
capScope: "system",
|
|
46670
|
-
addonId: null,
|
|
46671
|
-
access: "create"
|
|
46672
|
-
},
|
|
46673
47141
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
46674
47142
|
capName: "pipeline-orchestrator",
|
|
46675
47143
|
capScope: "system",
|
|
@@ -46682,12 +47150,6 @@ Object.freeze({
|
|
|
46682
47150
|
addonId: null,
|
|
46683
47151
|
access: "create"
|
|
46684
47152
|
},
|
|
46685
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
46686
|
-
capName: "pipeline-orchestrator",
|
|
46687
|
-
capScope: "system",
|
|
46688
|
-
addonId: null,
|
|
46689
|
-
access: "create"
|
|
46690
|
-
},
|
|
46691
47153
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
46692
47154
|
capName: "pipeline-orchestrator",
|
|
46693
47155
|
capScope: "system",
|
|
@@ -46724,6 +47186,12 @@ Object.freeze({
|
|
|
46724
47186
|
addonId: null,
|
|
46725
47187
|
access: "create"
|
|
46726
47188
|
},
|
|
47189
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
47190
|
+
capName: "pipeline-orchestrator",
|
|
47191
|
+
capScope: "system",
|
|
47192
|
+
addonId: null,
|
|
47193
|
+
access: "create"
|
|
47194
|
+
},
|
|
46727
47195
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
46728
47196
|
capName: "pipeline-orchestrator",
|
|
46729
47197
|
capScope: "system",
|
|
@@ -46742,25 +47210,37 @@ Object.freeze({
|
|
|
46742
47210
|
addonId: null,
|
|
46743
47211
|
access: "create"
|
|
46744
47212
|
},
|
|
47213
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
47214
|
+
capName: "pipeline-orchestrator",
|
|
47215
|
+
capScope: "system",
|
|
47216
|
+
addonId: null,
|
|
47217
|
+
access: "create"
|
|
47218
|
+
},
|
|
46745
47219
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
46746
47220
|
capName: "pipeline-orchestrator",
|
|
46747
47221
|
capScope: "system",
|
|
46748
47222
|
addonId: null,
|
|
46749
47223
|
access: "create"
|
|
46750
47224
|
},
|
|
46751
|
-
"pipelineOrchestrator.
|
|
47225
|
+
"pipelineOrchestrator.setShareSource": {
|
|
46752
47226
|
capName: "pipeline-orchestrator",
|
|
46753
47227
|
capScope: "system",
|
|
46754
47228
|
addonId: null,
|
|
46755
47229
|
access: "create"
|
|
46756
47230
|
},
|
|
46757
|
-
"pipelineOrchestrator.
|
|
47231
|
+
"pipelineOrchestrator.suggestShares": {
|
|
47232
|
+
capName: "pipeline-orchestrator",
|
|
47233
|
+
capScope: "system",
|
|
47234
|
+
addonId: null,
|
|
47235
|
+
access: "view"
|
|
47236
|
+
},
|
|
47237
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
46758
47238
|
capName: "pipeline-orchestrator",
|
|
46759
47239
|
capScope: "system",
|
|
46760
47240
|
addonId: null,
|
|
46761
47241
|
access: "create"
|
|
46762
47242
|
},
|
|
46763
|
-
"pipelineOrchestrator.
|
|
47243
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
46764
47244
|
capName: "pipeline-orchestrator",
|
|
46765
47245
|
capScope: "system",
|
|
46766
47246
|
addonId: null,
|
|
@@ -48200,12 +48680,6 @@ Object.freeze({
|
|
|
48200
48680
|
addonId: null,
|
|
48201
48681
|
access: "view"
|
|
48202
48682
|
},
|
|
48203
|
-
"streamBroker.pullFrameHandles": {
|
|
48204
|
-
capName: "stream-broker",
|
|
48205
|
-
capScope: "system",
|
|
48206
|
-
addonId: null,
|
|
48207
|
-
access: "view"
|
|
48208
|
-
},
|
|
48209
48683
|
"streamBroker.regenerateRtspToken": {
|
|
48210
48684
|
capName: "stream-broker",
|
|
48211
48685
|
capScope: "system",
|
|
@@ -48272,12 +48746,6 @@ Object.freeze({
|
|
|
48272
48746
|
addonId: null,
|
|
48273
48747
|
access: "create"
|
|
48274
48748
|
},
|
|
48275
|
-
"streamBroker.subscribeFrames": {
|
|
48276
|
-
capName: "stream-broker",
|
|
48277
|
-
capScope: "system",
|
|
48278
|
-
addonId: null,
|
|
48279
|
-
access: "create"
|
|
48280
|
-
},
|
|
48281
48749
|
"streamBroker.unassignProfile": {
|
|
48282
48750
|
capName: "stream-broker",
|
|
48283
48751
|
capScope: "system",
|
|
@@ -48290,12 +48758,6 @@ Object.freeze({
|
|
|
48290
48758
|
addonId: null,
|
|
48291
48759
|
access: "create"
|
|
48292
48760
|
},
|
|
48293
|
-
"streamBroker.unsubscribeFrames": {
|
|
48294
|
-
capName: "stream-broker",
|
|
48295
|
-
capScope: "system",
|
|
48296
|
-
addonId: null,
|
|
48297
|
-
access: "create"
|
|
48298
|
-
},
|
|
48299
48761
|
"streamCatalog.getCatalog": {
|
|
48300
48762
|
capName: "stream-catalog",
|
|
48301
48763
|
capScope: "device",
|
|
@@ -48992,6 +49454,12 @@ Object.freeze({
|
|
|
48992
49454
|
addonId: null,
|
|
48993
49455
|
access: "create"
|
|
48994
49456
|
},
|
|
49457
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
49458
|
+
capName: "webrtc-session",
|
|
49459
|
+
capScope: "device",
|
|
49460
|
+
addonId: null,
|
|
49461
|
+
access: "create"
|
|
49462
|
+
},
|
|
48995
49463
|
"webrtcSession.closeSession": {
|
|
48996
49464
|
capName: "webrtc-session",
|
|
48997
49465
|
capScope: "device",
|
|
@@ -50803,11 +51271,6 @@ Object.freeze({
|
|
|
50803
51271
|
form: "single",
|
|
50804
51272
|
optional: false
|
|
50805
51273
|
}],
|
|
50806
|
-
"decoder.createSession": [{
|
|
50807
|
-
name: "deviceId",
|
|
50808
|
-
form: "single",
|
|
50809
|
-
optional: true
|
|
50810
|
-
}],
|
|
50811
51274
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
50812
51275
|
name: "deviceId",
|
|
50813
51276
|
form: "single",
|
|
@@ -52038,6 +52501,11 @@ Object.freeze({
|
|
|
52038
52501
|
form: "single",
|
|
52039
52502
|
optional: false
|
|
52040
52503
|
}],
|
|
52504
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
52505
|
+
name: "deviceIds",
|
|
52506
|
+
form: "array",
|
|
52507
|
+
optional: true
|
|
52508
|
+
}],
|
|
52041
52509
|
"pipelineExecutor.runPipeline": [{
|
|
52042
52510
|
name: "deviceId",
|
|
52043
52511
|
form: "single",
|
|
@@ -52143,6 +52611,11 @@ Object.freeze({
|
|
|
52143
52611
|
form: "single",
|
|
52144
52612
|
optional: false
|
|
52145
52613
|
}],
|
|
52614
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
52615
|
+
name: "deviceId",
|
|
52616
|
+
form: "single",
|
|
52617
|
+
optional: false
|
|
52618
|
+
}],
|
|
52146
52619
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
52147
52620
|
name: "deviceId",
|
|
52148
52621
|
form: "single",
|
|
@@ -52914,6 +53387,11 @@ Object.freeze({
|
|
|
52914
53387
|
form: "single",
|
|
52915
53388
|
optional: false
|
|
52916
53389
|
}],
|
|
53390
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
53391
|
+
name: "deviceId",
|
|
53392
|
+
form: "single",
|
|
53393
|
+
optional: false
|
|
53394
|
+
}],
|
|
52917
53395
|
"webrtcSession.closeSession": [{
|
|
52918
53396
|
name: "deviceId",
|
|
52919
53397
|
form: "single",
|
|
@@ -53143,6 +53621,8 @@ new Map(Object.entries({
|
|
|
53143
53621
|
"detection-blind": "device-events",
|
|
53144
53622
|
"node-online": "system",
|
|
53145
53623
|
"node-offline": "system",
|
|
53624
|
+
"node-restarting": "system",
|
|
53625
|
+
"node-updating": "system",
|
|
53146
53626
|
"node-inference-unavailable": "system",
|
|
53147
53627
|
"addon-crash-loop": "system",
|
|
53148
53628
|
"addon-update-available": "system",
|
|
@@ -53220,6 +53700,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
53220
53700
|
kinds: [
|
|
53221
53701
|
"node-offline",
|
|
53222
53702
|
"node-online",
|
|
53703
|
+
"node-restarting",
|
|
53223
53704
|
"node-inference-unavailable"
|
|
53224
53705
|
]
|
|
53225
53706
|
},
|
|
@@ -53241,6 +53722,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
53241
53722
|
label: "Server & container updates",
|
|
53242
53723
|
kinds: [
|
|
53243
53724
|
"server-update-available",
|
|
53725
|
+
"node-updating",
|
|
53244
53726
|
"server-updated",
|
|
53245
53727
|
"wrapper-update-available"
|
|
53246
53728
|
]
|
|
@@ -53388,6 +53870,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
53388
53870
|
kinds: [
|
|
53389
53871
|
"node-offline",
|
|
53390
53872
|
"node-online",
|
|
53873
|
+
"node-restarting",
|
|
53391
53874
|
"node-inference-unavailable"
|
|
53392
53875
|
]
|
|
53393
53876
|
},
|
|
@@ -53409,6 +53892,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
53409
53892
|
example: "server 1.2.377 → 1.2.378",
|
|
53410
53893
|
kinds: [
|
|
53411
53894
|
"server-update-available",
|
|
53895
|
+
"node-updating",
|
|
53412
53896
|
"server-updated",
|
|
53413
53897
|
"wrapper-update-available"
|
|
53414
53898
|
]
|
|
@@ -53441,7 +53925,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
53441
53925
|
{
|
|
53442
53926
|
name: "summarySection",
|
|
53443
53927
|
label: "Summary: this section",
|
|
53444
|
-
description: "The section a per-section summary row is about
|
|
53928
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
53445
53929
|
example: "Batterie scariche",
|
|
53446
53930
|
group: "system",
|
|
53447
53931
|
families: ["rule"],
|