@camstack/addon-provider-wyze 0.2.128 → 0.2.130

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.
Files changed (3) hide show
  1. package/dist/addon.js +975 -523
  2. package/dist/addon.mjs +975 -523
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -31,7 +31,7 @@ let net = require("net");
31
31
  net = __toESM(net, 1);
32
32
  let node_child_process = require("node:child_process");
33
33
  let node_tls = require("node:tls");
34
- //#region ../types/dist/event-category-BGmz_oxW.mjs
34
+ //#region ../types/dist/event-category-B_0XEcLF.mjs
35
35
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
36
36
  EventCategory["SystemBoot"] = "system.boot";
37
37
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -532,15 +532,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
532
532
  EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
533
533
  EventCategory["AgentBackupActivated"] = "agent.backup.activated";
534
534
  EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
535
- /**
536
- * Per-agent hwaccel preference changed (user override set, cleared, or
537
- * re-probed). Observability event — decoders pull the current pref at
538
- * `createSession`, so running sessions keep their current backend until
539
- * they rotate naturally (camera add/remove, stream restart). Future
540
- * work can wire a listener in stream-broker that force-rotates live
541
- * sessions; for now this event powers logs + admin-UI toast feedback.
542
- */
543
- EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
544
535
  EventCategory["MotionAnalysis"] = "detection.motion-analysis";
545
536
  /** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
546
537
  EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
@@ -5411,7 +5402,7 @@ var ZodIssueCode = {
5411
5402
  var ZodFirstPartyTypeKind;
5412
5403
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5413
5404
  //#endregion
5414
- //#region ../types/dist/sleep-DXKLNFvA.mjs
5405
+ //#region ../types/dist/sleep-BNeXenvr.mjs
5415
5406
  /**
5416
5407
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5417
5408
  * window to float samples (D455).
@@ -6777,32 +6768,12 @@ object({
6777
6768
  audioCodec: string().optional(),
6778
6769
  metadata: record(string(), unknown()).readonly().optional()
6779
6770
  });
6780
- var EncodedPacketSchema = object({
6781
- type: _enum(["video", "audio"]),
6782
- data: _instanceof(Uint8Array),
6783
- pts: number(),
6784
- dts: number(),
6785
- keyframe: boolean(),
6786
- codec: string()
6787
- });
6788
- var DecodedFrameSchema = object({
6789
- data: _instanceof(Uint8Array),
6790
- width: number(),
6791
- height: number(),
6792
- format: _enum([
6793
- "jpeg",
6794
- "rgb",
6795
- "bgr",
6796
- "yuv420",
6797
- "gray"
6798
- ]),
6799
- timestamp: number()
6800
- });
6801
6771
  /**
6802
6772
  * Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
6803
6773
  * frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
6804
- * interface in `interfaces/frame-handle.ts` field-for-field so a decoder cap
6805
- * method (`pullHandles`) can carry handles over tRPC / Moleculer.
6774
+ * interface in `interfaces/frame-handle.ts` field-for-field so a cap method
6775
+ * (the runner's native-crop and pipeline-executor inputs) can carry handles
6776
+ * over tRPC / Moleculer.
6806
6777
  *
6807
6778
  * The `satisfies` assertion below pins this schema to the interface: if a
6808
6779
  * field is added to / removed from `FrameHandle` without a matching schema
@@ -6828,50 +6799,6 @@ var FrameHandleSchema = object({
6828
6799
  slotCount: number().int().positive()
6829
6800
  });
6830
6801
  /**
6831
- * Pixel format a frame-handle subscriber can request from the broker
6832
- * (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
6833
- * `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
6834
- * `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
6835
- * payload, and no decoded-frame consumer requests it over the shm plane.
6836
- */
6837
- var FrameHandleFormatSchema = _enum([
6838
- "rgb",
6839
- "bgr",
6840
- "yuv420",
6841
- "gray"
6842
- ]);
6843
- /**
6844
- * Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
6845
- * broker for a `FrameHandle` stream of one `format`; the broker maintains one
6846
- * shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
6847
- * subscriber (motion) and an `rgb` subscriber (detection) each read the format
6848
- * they asked for with no broker-side conversion.
6849
- */
6850
- var SubscribeFramesInputSchema = object({
6851
- brokerId: string(),
6852
- format: FrameHandleFormatSchema,
6853
- /**
6854
- * Optional reader-side cadence hint in frames per second. The broker does
6855
- * NOT throttle — latest-wins ring reads drop frames implicitly for a slow
6856
- * consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
6857
- * the consumer can pace its own `pullFrameHandles` polling.
6858
- */
6859
- maxFps: number().positive().optional(),
6860
- /** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
6861
- tag: string().optional()
6862
- });
6863
- /**
6864
- * Result of `stream-broker.subscribeFrames`. The consumer then polls
6865
- * `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
6866
- * `FrameHandle` to a `FrameRingReader`.
6867
- */
6868
- var SubscribeFramesResultSchema = object({
6869
- /** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
6870
- subscriptionId: string(),
6871
- /** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
6872
- maxFps: number().nonnegative()
6873
- });
6874
- /**
6875
6802
  * Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
6876
6803
  * `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
6877
6804
  * sample bytes plus the track parameters a consumer needs to interpret them.
@@ -6879,8 +6806,8 @@ var SubscribeFramesResultSchema = object({
6879
6806
  * Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
6880
6807
  * Float32 PCM), so unlike video frames they ship their bytes INLINE over
6881
6808
  * tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
6882
- * (the wire-serialisable supertype of `Buffer`) to match `DecodedFrameSchema`
6883
- * / `EncodedPacketSchema`'s precedent; a `Buffer` is assignable to it.
6809
+ * (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
6810
+ * it.
6884
6811
  */
6885
6812
  var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
6886
6813
  var DecodedAudioChunkSchema = object({
@@ -6898,11 +6825,10 @@ var DecodedAudioChunkSchema = object({
6898
6825
  format: AudioChunkFormatSchema.optional()
6899
6826
  });
6900
6827
  /**
6901
- * Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). The
6902
- * handle-free, ship-bytes-inline analogue of `subscribeFrames`: a consumer
6903
- * asks the broker for the decoded audio-chunk stream of one broker; the
6904
- * broker keeps a per-subscription bounded FIFO queue the consumer drains via
6905
- * `pullAudioChunks`.
6828
+ * Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
6829
+ * its bytes inline: a consumer asks the broker for the decoded audio-chunk
6830
+ * stream of one broker; the broker keeps a per-subscription bounded FIFO queue
6831
+ * the consumer drains via `pullAudioChunks`.
6906
6832
  */
6907
6833
  var SubscribeAudioChunksInputSchema = object({
6908
6834
  brokerId: string(),
@@ -6933,9 +6859,7 @@ var BrokerStatsSchema = object({
6933
6859
  "stopped"
6934
6860
  ]),
6935
6861
  inputFps: number(),
6936
- decodeFps: number(),
6937
6862
  encodedSubscribers: number(),
6938
- decodedSubscribers: number(),
6939
6863
  uptimeMs: number(),
6940
6864
  bitrateKbps: number(),
6941
6865
  idrIntervalMs: number(),
@@ -6948,14 +6872,6 @@ var BrokerStatsSchema = object({
6948
6872
  preBufferMs: number(),
6949
6873
  preBufferPackets: number(),
6950
6874
  /**
6951
- * Moleculer node id of the decoder provider currently servicing this
6952
- * stream's decoded subscribers. `null` until the deferred decoder is
6953
- * created (no decoded clients yet, or codec not detected). Surfaces the
6954
- * runtime decoder placement so the UI can show "Decoder: <agent>" without
6955
- * a separate cap call per broker.
6956
- */
6957
- decoderNodeId: string().nullable(),
6958
- /**
6959
6875
  * Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
6960
6876
  * when the stream has no audio track or the broker is in cold start.
6961
6877
  * `supported = false` means the codec was detected but the local
@@ -10311,70 +10227,6 @@ var StorageLocationDeclarationSchema = object({
10311
10227
  "backup"
10312
10228
  ]).optional()
10313
10229
  });
10314
- var DecoderStatsSchema = object({
10315
- inputFps: number(),
10316
- outputFps: number(),
10317
- avgDecodeTimeMs: number(),
10318
- droppedFrames: number(),
10319
- /**
10320
- * Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
10321
- * lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
10322
- * the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
10323
- * is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
10324
- */
10325
- lagMs: number().optional(),
10326
- effectiveFps: number().optional(),
10327
- adaptiveFps: number().optional()
10328
- });
10329
- var DecoderSessionConfigSchema = object({
10330
- codec: string(),
10331
- maxFps: number().default(0),
10332
- outputFormat: _enum([
10333
- "jpeg",
10334
- "rgb",
10335
- "bgr",
10336
- "yuv420",
10337
- "gray"
10338
- ]).default("jpeg"),
10339
- scale: number().default(1),
10340
- width: number().optional(),
10341
- height: number().optional(),
10342
- /**
10343
- * Identifier of the camera this decoder session serves. Optional
10344
- * because the cap is generic (any caller could request decode), but
10345
- * stream-broker passes it so decoder logs include `deviceId` for
10346
- * per-camera filtering when diagnosing failures (e.g. node-av
10347
- * sendPacket errors on a single hung camera).
10348
- */
10349
- deviceId: number().int().nonnegative().optional(),
10350
- /**
10351
- * Free-form tag for log scoping. Stream-broker uses
10352
- * `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
10353
- * on every line so `grep tag=broker:5/high` filters one camera
10354
- * profile cleanly.
10355
- */
10356
- tag: string().optional(),
10357
- /**
10358
- * Where the session delivers decoded frames (Phase 5 / D9):
10359
- *
10360
- * - `'callback'` (default) — the legacy pixel path: decoded frames are
10361
- * buffered as `DecodedFrame`s and drained via `pullFrames`.
10362
- * - `'shm'` — the shared-memory frame plane: decoded frames are written
10363
- * into an OS shared-memory ring and drained as zero-pixel
10364
- * `FrameHandle`s via `pullHandles`. A session is one mode or the
10365
- * other — `pullFrames` returns nothing for an `'shm'` session and
10366
- * `pullHandles` returns nothing for a `'callback'` session.
10367
- */
10368
- frameSink: _enum(["callback", "shm"]).default("callback"),
10369
- /**
10370
- * Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
10371
- * a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
10372
- * real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
10373
- * stream-broker's `streamingDebug` gate — off by default so production logs
10374
- * stay quiet and the emit path pays zero per-frame cost when disabled.
10375
- */
10376
- debug: boolean().optional()
10377
- });
10378
10230
  /**
10379
10231
  * Per-component log CHANNELS — the gate a hot path consults, and the registry
10380
10232
  * an addon declares its channels in.
@@ -10517,57 +10369,26 @@ var ClipSearchStrictnessSchema = _enum([
10517
10369
  "balanced",
10518
10370
  "strict"
10519
10371
  ]);
10520
- new Set([
10521
- {
10522
- id: "person",
10523
- name: "Person"
10524
- },
10525
- {
10526
- id: "vehicle",
10527
- name: "Vehicle"
10528
- },
10529
- {
10530
- id: "animal",
10531
- name: "Animal"
10532
- },
10533
- {
10534
- id: "package",
10535
- name: "Package"
10536
- }
10537
- ].map((l) => l.id));
10538
- var COCO_TO_MACRO = {
10539
- mapping: {
10540
- person: "person",
10541
- bicycle: "vehicle",
10542
- car: "vehicle",
10543
- motorcycle: "vehicle",
10544
- airplane: "vehicle",
10545
- bus: "vehicle",
10546
- train: "vehicle",
10547
- truck: "vehicle",
10548
- boat: "vehicle",
10549
- bird: "animal",
10550
- cat: "animal",
10551
- dog: "animal",
10552
- horse: "animal",
10553
- sheep: "animal",
10554
- cow: "animal",
10555
- elephant: "animal",
10556
- bear: "animal",
10557
- zebra: "animal",
10558
- giraffe: "animal",
10559
- suitcase: "package",
10560
- backpack: "package",
10561
- handbag: "package"
10562
- },
10563
- preserveOriginal: false
10564
- };
10565
- /** Steps a root detector may declare it fills. */
10566
- var FILLABLE_STEP_IDS = [
10372
+ /** Steps whose effect a root label can BE. */
10373
+ var LABEL_SUPPLY_STEP_IDS = [
10567
10374
  "animal-classifier",
10568
10375
  "vehicle-classifier",
10569
10376
  "package-detection"
10570
10377
  ];
10378
+ /** Steps whose box a root detection can BE. */
10379
+ var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
10380
+ /**
10381
+ * Steps whose per-detection MASK a root detection can carry (D737). The live
10382
+ * mask step is `segmentation` — a frame-plane refiner that runs its own model
10383
+ * once per detection crop. (`instance-segmentation` is a dormant step id that
10384
+ * no camera tree carries.)
10385
+ */
10386
+ var MASK_SUPPLY_STEP_IDS = ["segmentation"];
10387
+ [
10388
+ ...LABEL_SUPPLY_STEP_IDS,
10389
+ ...CROP_SUPPLY_STEP_IDS,
10390
+ ...MASK_SUPPLY_STEP_IDS
10391
+ ];
10571
10392
  var MODEL_FORMATS = [
10572
10393
  "onnx",
10573
10394
  "coreml",
@@ -10596,7 +10417,53 @@ var ModelFormatEntrySchema = object({
10596
10417
  /** Multi-file payload (directory members or sibling files). */
10597
10418
  files: array(string()).readonly().optional(),
10598
10419
  /** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
10599
- runtimes: array(_enum(["python"])).readonly().optional()
10420
+ runtimes: array(_enum(["python"])).readonly().optional(),
10421
+ /**
10422
+ * Content revision of the artefact, for one hosted OFF the CamStack mirror.
10423
+ * A format on the mirror leaves it unset: its revision (the sha256 of its
10424
+ * weight file) comes from the downloader's generated table, kept in step
10425
+ * with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
10426
+ * node records the revision it downloaded next to the file
10427
+ * (`<file>.revision`); a copy with no record or a different one is stale
10428
+ * unless its weight file hashes to the revision, and a stale copy is
10429
+ * downloaded again, the old one serving until the new one is complete. No
10430
+ * revision at all ⇒ a file on disk is current, whatever it holds (D743).
10431
+ */
10432
+ revision: string().min(1).optional()
10433
+ });
10434
+ /**
10435
+ * What a node holds for one (model, format) (D746). `current` is a complete
10436
+ * copy at its catalog revision — exactly what `downloaded: true` means.
10437
+ * `stale` is bytes on disk that are not (yet) proven current under D743/D744:
10438
+ * no or a different revision record, or a missing sibling. `missing` is no
10439
+ * copy. `downloaded` alone folds `stale` into "not downloaded", which hid
10440
+ * reclaimable bytes and a copy about to be replaced.
10441
+ */
10442
+ var ModelOnDiskStateSchema = _enum([
10443
+ "current",
10444
+ "stale",
10445
+ "missing"
10446
+ ]);
10447
+ /**
10448
+ * The numeric precision of one format's BUILD (D746) — reported only when the
10449
+ * build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
10450
+ * CamStack Core ML export). Absent means "not stated", never "fp32".
10451
+ */
10452
+ var ModelFormatPrecisionSchema = _enum([
10453
+ "fp32",
10454
+ "fp16",
10455
+ "int8"
10456
+ ]);
10457
+ /**
10458
+ * One format of one model as a node's `pipelineExecutor.getSchema` reports it.
10459
+ * `onDisk` / `precision` are optional for version skew: a runner that predates
10460
+ * them omits them, and a reader falls back to `downloaded`.
10461
+ */
10462
+ var PipelineModelFormatStatusSchema = object({
10463
+ downloaded: boolean(),
10464
+ sizeMB: number(),
10465
+ onDisk: ModelOnDiskStateSchema.optional(),
10466
+ precision: ModelFormatPrecisionSchema.optional()
10600
10467
  });
10601
10468
  /**
10602
10469
  * Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
@@ -10700,12 +10567,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10700
10567
  /** True when the weights or their data forbid commercial use. */
10701
10568
  nonCommercial: boolean().optional()
10702
10569
  }));
10703
- /** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
10704
- var FillsClassifierEffectSchema = object({
10705
- stepId: _enum(FILLABLE_STEP_IDS),
10706
- labelToEffect: record(string(), string()),
10707
- uncovered: array(string()).readonly()
10708
- });
10570
+ /**
10571
+ * One step a ROOT detector can supply from its own output (D730) — see
10572
+ * `ModelCatalogEntry.suppliesSteps`.
10573
+ *
10574
+ * - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
10575
+ * the root's label to the step's vocabulary; `uncovered` is the vocabulary
10576
+ * the root cannot produce (shown as unavailable, never a blocker).
10577
+ * - `crop`: the root draws the box the step would have found (`license_plate`
10578
+ * for plate-detection, `face` for face-detection). The box becomes a detail
10579
+ * child of the `parentMacro` detection that contains it — never a track.
10580
+ * - `mask`: the root's decode emits an instance mask with every detection (a
10581
+ * YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
10582
+ * detection in the shape that step produces. Derived from the model's
10583
+ * postprocessor on read, never stored by an import.
10584
+ */
10585
+ var RootStepSupplySchema = discriminatedUnion("kind", [
10586
+ object({
10587
+ kind: literal("label"),
10588
+ stepId: _enum(LABEL_SUPPLY_STEP_IDS),
10589
+ labelToEffect: record(string(), string()),
10590
+ uncovered: array(string()).readonly()
10591
+ }),
10592
+ object({
10593
+ kind: literal("crop"),
10594
+ stepId: _enum(CROP_SUPPLY_STEP_IDS),
10595
+ rootLabels: array(string()).readonly(),
10596
+ parentMacro: _enum(["vehicle", "person"]),
10597
+ childClass: _enum(["plate", "face"]),
10598
+ /**
10599
+ * The root's smaller input side, stamped on read by `rootSuppliesOf` from
10600
+ * the model entry — what a step's `minRootInputPx` gate judges. Never
10601
+ * stored by an import.
10602
+ */
10603
+ rootInputPx: number().int().positive().optional()
10604
+ }),
10605
+ object({
10606
+ kind: literal("mask"),
10607
+ stepId: _enum(MASK_SUPPLY_STEP_IDS)
10608
+ })
10609
+ ]);
10709
10610
  var ModelCatalogEntrySchema = object({
10710
10611
  id: string(),
10711
10612
  name: string(),
@@ -10771,6 +10672,35 @@ var ModelCatalogEntrySchema = object({
10771
10672
  */
10772
10673
  defaultConfidence: number().min(0).max(1).optional(),
10773
10674
  /**
10675
+ * Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
10676
+ * on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
10677
+ * absent here runs at the step slider's global default. The same row shape
10678
+ * the floor measurement produces (`model-floors.json`: modelId → floors), so
10679
+ * a measured table is copied in as-is. An operator override is bound to the
10680
+ * model it was made for and does not survive a model change (D738). A custom
10681
+ * / imported model may declare it; without it, the global defaults apply.
10682
+ */
10683
+ defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
10684
+ /**
10685
+ * The inference precision this model's OpenVINO IR needs on an Intel GPU.
10686
+ * Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
10687
+ * that produces invalid output at f16 — measured 2026-10-07 for YOLO26
10688
+ * base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
10689
+ * scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
10690
+ * `PoolModelConfig.gpuInferencePrecision`; the pool sets
10691
+ * INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
10692
+ */
10693
+ gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
10694
+ /**
10695
+ * ROOT detectors only: per supplied step (`animal-classifier`, …), the
10696
+ * minimum DETECTION score from which this root's own fine label (species,
10697
+ * vehicle type — D736 root supply) is taken (D741). Below it the detection
10698
+ * keeps its macro class without the fine label. `1` = never take it from
10699
+ * this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
10700
+ * `minConfidence` slider, bound to the ROOT model, overrides it.
10701
+ */
10702
+ suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
10703
+ /**
10774
10704
  * When true, the executor produces a landmark-aligned crop (similarity warp
10775
10705
  * onto the canonical template) before this step runs, instead of a plain
10776
10706
  * axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
@@ -10832,15 +10762,15 @@ var ModelCatalogEntrySchema = object({
10832
10762
  */
10833
10763
  classMap: DetectionCatalogClassMapSchema.optional(),
10834
10764
  /**
10835
- * The pipeline steps this ROOT detector already does the work of (D715):
10836
- * its labels name the effect the step exists to produce (`deer` for
10837
- * `animal-classifier`, `package` for `package-detection`). Derived from the
10838
- * labelmap by `deriveClassifierFills`, never hand-written; a COCO model
10839
- * declares none. Whether a declaration is honoured is the step's own
10840
- * `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
10841
- * `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
10765
+ * The pipeline steps this ROOT detector can supply from its own output
10766
+ * (D730): its labels name a step's effect (`deer` for `animal-classifier`)
10767
+ * or draw a step's box (`license_plate` for `plate-detection`). Computed at
10768
+ * import from THIS model's labelmap by `deriveRootSupplies`, never written
10769
+ * by hand and never assumed per family; a row without it is derived on read
10770
+ * (`rootSuppliesOf`). Whether a camera uses it is the step's own
10771
+ * `useRootModel` flag (`resolveRootSupply`).
10842
10772
  */
10843
- fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
10773
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
10844
10774
  /**
10845
10775
  * The model's CLIP feature-space contract (text encoder, dimension, vector
10846
10776
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
@@ -12443,13 +12373,6 @@ var BrokerRtspClientSchema = object({
12443
12373
  lastRtpAt: number(),
12444
12374
  bytesSent: number()
12445
12375
  });
12446
- var BrokerDecodedClientSchema = object({
12447
- tag: string(),
12448
- subscribedAt: number(),
12449
- maxFps: number(),
12450
- framesDelivered: number(),
12451
- framesDropped: number()
12452
- });
12453
12376
  var BrokerAudioClientSchema = object({
12454
12377
  tag: string(),
12455
12378
  subscribedAt: number(),
@@ -12541,7 +12464,6 @@ var BrokerEncodedClientSchema = object({
12541
12464
  });
12542
12465
  var BrokerClientsSchema = object({
12543
12466
  rtsp: array(BrokerRtspClientSchema).readonly(),
12544
- decoded: array(BrokerDecodedClientSchema).readonly(),
12545
12467
  audio: array(BrokerAudioClientSchema).readonly(),
12546
12468
  encoded: array(BrokerEncodedClientSchema).readonly(),
12547
12469
  pipeClients: number(),
@@ -12910,11 +12832,7 @@ method(object({
12910
12832
  auth: "admin"
12911
12833
  }), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
12912
12834
  brokerId: string(),
12913
- channel: _enum([
12914
- "rtsp",
12915
- "decoded",
12916
- "audio"
12917
- ]),
12835
+ channel: _enum(["rtsp", "audio"]),
12918
12836
  handle: string()
12919
12837
  }), object({ killed: boolean() }), {
12920
12838
  kind: "mutation",
@@ -12949,10 +12867,7 @@ method(object({
12949
12867
  }), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
12950
12868
  subscriptionId: string(),
12951
12869
  maxCount: number().int().positive().default(8)
12952
- }), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(SubscribeFramesInputSchema, SubscribeFramesResultSchema, { kind: "mutation" }), method(object({
12953
- subscriptionId: string(),
12954
- maxCount: number().int().positive().default(4)
12955
- }), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
12870
+ }), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
12956
12871
  brokerId: string(),
12957
12872
  seconds: number().min(0).max(30)
12958
12873
  }), _void(), {
@@ -14211,54 +14126,12 @@ id: union([string(), number()]) }), {
14211
14126
  kind: "mutation",
14212
14127
  auth: "admin"
14213
14128
  });
14214
- /**
14215
- * shm ring usage stats for a `frameSink: 'shm'` decoder session —
14216
- * exposed via `decoder.getShmStats` so downstream consumers can
14217
- * observe ring pressure (slot count, byte budget, hit/miss ratio).
14218
- */
14219
- var ShmRingStatsSchema = object({
14220
- sessionId: string(),
14221
- slotCount: number().int(),
14222
- slotByteLength: number().int(),
14223
- segmentBytes: number().int(),
14224
- budgetMb: number().int(),
14225
- framesWritten: number().int(),
14226
- getFrameHits: number().int(),
14227
- getFrameMisses: number().int()
14228
- });
14229
- method(object({ codec: string() }), boolean()), method(_void(), object({
14129
+ method(_void(), object({
14230
14130
  id: string(),
14231
14131
  name: string(),
14232
- isPullMode: boolean().optional(),
14233
- priority: number().optional(),
14234
14132
  hwaccel: string().optional(),
14235
14133
  probedBestHwaccel: string().optional()
14236
- })), method(DecoderSessionConfigSchema, object({
14237
- sessionId: string(),
14238
- nodeId: string()
14239
- })), method(object({ sessionId: string() }), _void()), method(object({
14240
- sessionId: string(),
14241
- packet: EncodedPacketSchema
14242
- }), _void()), method(object({
14243
- sessionId: string(),
14244
- url: string()
14245
- }), _void()), method(object({
14246
- sessionId: string(),
14247
- maxCount: number().default(1),
14248
- waitMs: number().optional()
14249
- }), array(DecodedFrameSchema)), method(object({
14250
- sessionId: string(),
14251
- maxCount: number().default(1),
14252
- waitMs: number().optional()
14253
- }), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
14254
- sessionId: string(),
14255
- config: DecoderSessionConfigSchema.partial()
14256
- }), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
14257
- sessionId: string(),
14258
- codec: string(),
14259
- outputFormat: string(),
14260
- createdAtMs: number()
14261
- })).readonly()), method(_void(), object({ backend: string() }), {
14134
+ })), method(_void(), object({ backend: string() }), {
14262
14135
  kind: "mutation",
14263
14136
  auth: "admin"
14264
14137
  });
@@ -16307,6 +16180,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
16307
16180
  kind: "mutation",
16308
16181
  auth: "admin"
16309
16182
  });
16183
+ var HUB_ADDRESS_ROLES = [
16184
+ "appConnections",
16185
+ "notificationTaps",
16186
+ "internal",
16187
+ "publicEndpoint"
16188
+ ];
16310
16189
  /**
16311
16190
  * Transport bounds for AI capability methods.
16312
16191
  *
@@ -18069,6 +17948,51 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
18069
17948
  kind: "mutation",
18070
17949
  auth: "admin"
18071
17950
  });
17951
+ new Set([
17952
+ {
17953
+ id: "person",
17954
+ name: "Person"
17955
+ },
17956
+ {
17957
+ id: "vehicle",
17958
+ name: "Vehicle"
17959
+ },
17960
+ {
17961
+ id: "animal",
17962
+ name: "Animal"
17963
+ },
17964
+ {
17965
+ id: "package",
17966
+ name: "Package"
17967
+ }
17968
+ ].map((l) => l.id));
17969
+ var COCO_TO_MACRO = {
17970
+ mapping: {
17971
+ person: "person",
17972
+ bicycle: "vehicle",
17973
+ car: "vehicle",
17974
+ motorcycle: "vehicle",
17975
+ airplane: "vehicle",
17976
+ bus: "vehicle",
17977
+ train: "vehicle",
17978
+ truck: "vehicle",
17979
+ boat: "vehicle",
17980
+ bird: "animal",
17981
+ cat: "animal",
17982
+ dog: "animal",
17983
+ horse: "animal",
17984
+ sheep: "animal",
17985
+ cow: "animal",
17986
+ elephant: "animal",
17987
+ bear: "animal",
17988
+ zebra: "animal",
17989
+ giraffe: "animal",
17990
+ suitcase: "package",
17991
+ backpack: "package",
17992
+ handbag: "package"
17993
+ },
17994
+ preserveOriginal: false
17995
+ };
18072
17996
  var AUDIO_MACRO_LABELS = [
18073
17997
  {
18074
17998
  id: "speech",
@@ -20471,7 +20395,13 @@ var NcAlarmModeDelaysListSchema = array(object({
20471
20395
  * Absent = false (logged, not sent). Even when true it is not sent when that same sensor
20472
20396
  * is the one that starts the entry delay — the entry-delay notification already names it.
20473
20397
  */
20474
- notifySensorRewatched: boolean().optional()
20398
+ notifySensorRewatched: boolean().optional(),
20399
+ /**
20400
+ * D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
20401
+ * change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
20402
+ * re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
20403
+ */
20404
+ notifySensorIgnored: boolean().optional()
20475
20405
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
20476
20406
  var NcAlarmModeDelaysEditListSchema = array(object({
20477
20407
  mode: AlarmArmModeSchema,
@@ -20484,7 +20414,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
20484
20414
  /** D706: set the switch, or `null` to clear it (back to the default, false). */
20485
20415
  notifyDuringEntryDelay: boolean().nullable().optional(),
20486
20416
  /** D706: set the switch, or `null` to clear it (back to the default, false). */
20487
- notifySensorRewatched: boolean().nullable().optional()
20417
+ notifySensorRewatched: boolean().nullable().optional(),
20418
+ /** D735: set the switch, or `null` to clear it (back to the default, false). */
20419
+ notifySensorIgnored: boolean().nullable().optional()
20488
20420
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
20489
20421
  /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
20490
20422
  var NcAlarmNonBlockingEditSchema = object({
@@ -21462,8 +21394,8 @@ Object.freeze(Object.fromEntries([{
21462
21394
  var CLUSTER_STEP_SETTING_FIELDS = [{
21463
21395
  stepId: "face-embedding",
21464
21396
  key: "minLandmarkFaceSize",
21465
- label: "Min face size for recognition (detection px)",
21466
- description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.",
21397
+ label: "Min face size to embed (detection-frame px)",
21398
+ 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.",
21467
21399
  type: "slider",
21468
21400
  min: 0,
21469
21401
  max: 64,
@@ -23383,6 +23315,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
23383
23315
  timestamp: number()
23384
23316
  });
23385
23317
  /**
23318
+ * A root model's boxes standing in for one crop-kind step's own inference
23319
+ * (D730) — see `runPipeline.suppliedRoot`.
23320
+ */
23321
+ var SuppliedRootOutputSchema = object({
23322
+ stepId: string(),
23323
+ /** The root model that drew the boxes — stamped on the result. */
23324
+ modelId: string(),
23325
+ detections: array(object({
23326
+ /** `[x1, y1, x2, y2]` in the pixels of the call's image. */
23327
+ bbox: tuple([
23328
+ number(),
23329
+ number(),
23330
+ number(),
23331
+ number()
23332
+ ]),
23333
+ score: number(),
23334
+ /**
23335
+ * Five facial landmarks in the same pixels — a face the step's own
23336
+ * detector already re-found inside a root face box (D730), so its
23337
+ * embedder child aligns it exactly as it aligns any detected face.
23338
+ */
23339
+ landmarks: array(object({
23340
+ x: number(),
23341
+ y: number()
23342
+ })).optional()
23343
+ })).min(1)
23344
+ });
23345
+ /**
23386
23346
  * Reference to the frame's retained NATIVE surface + the parent crop's placement
23387
23347
  * within the frame, so the executor can re-cut a leaf child ROI at native
23388
23348
  * resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
@@ -23430,7 +23390,7 @@ var FrameRefSchema = object({
23430
23390
  timestamp: number(),
23431
23391
  capturedAt: number().optional()
23432
23392
  });
23433
- var ModelFormatSchema$1 = _enum([
23393
+ var ModelFormatSchema$2 = _enum([
23434
23394
  "onnx",
23435
23395
  "coreml",
23436
23396
  "openvino",
@@ -23448,7 +23408,7 @@ var PipelineSlotSchema = _enum([
23448
23408
  var PipelineEngineChoiceSchema = object({
23449
23409
  runtime: literal("python"),
23450
23410
  backend: string(),
23451
- format: ModelFormatSchema$1,
23411
+ format: ModelFormatSchema$2,
23452
23412
  device: string().optional()
23453
23413
  });
23454
23414
  /**
@@ -23487,33 +23447,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
23487
23447
  group: string().optional(),
23488
23448
  settings: record(string(), unknown()).optional()
23489
23449
  }));
23490
- var PipelineTemplateStepSchema = lazy(() => object({
23491
- addonId: string(),
23492
- enabled: boolean(),
23493
- modelId: string(),
23494
- children: array(PipelineTemplateStepSchema).readonly(),
23495
- settings: record(string(), unknown()).optional()
23496
- }));
23497
- var PipelineTemplateSchema$1 = object({
23498
- id: string(),
23499
- name: string(),
23500
- createdAt: string(),
23501
- updatedAt: string(),
23502
- engine: PipelineEngineChoiceSchema,
23503
- steps: array(PipelineTemplateStepSchema).readonly()
23504
- });
23505
23450
  var PipelineModelOptionSchema = object({
23506
23451
  id: string(),
23507
23452
  name: string(),
23508
- formats: record(string(), object({
23509
- downloaded: boolean(),
23510
- sizeMB: number()
23511
- })),
23453
+ formats: record(string(), PipelineModelFormatStatusSchema),
23512
23454
  group: ModelVariantGroupSchema.optional(),
23513
23455
  legacy: boolean().optional(),
23514
23456
  provider: ModelProviderIdSchema.optional(),
23515
23457
  defaultConfidence: number().optional(),
23516
- fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
23458
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional()
23517
23459
  });
23518
23460
  var ConfigFieldBridge = custom();
23519
23461
  var PipelineAddonSchemaSchema = object({
@@ -23675,6 +23617,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23675
23617
  }), {
23676
23618
  kind: "mutation",
23677
23619
  auth: "admin"
23620
+ }), method(object({
23621
+ nodeId: string(),
23622
+ deviceIds: array(number()).readonly().optional(),
23623
+ dryRun: boolean()
23624
+ }), object({
23625
+ entries: array(object({
23626
+ deviceId: number(),
23627
+ keys: array(string()).readonly()
23628
+ })).readonly(),
23629
+ refused: array(object({
23630
+ deviceId: number(),
23631
+ reason: string()
23632
+ })).readonly()
23633
+ }), {
23634
+ kind: "mutation",
23635
+ auth: "admin"
23678
23636
  }), method(object({ nodeId: string() }), object({ unhealthy: array(object({
23679
23637
  /** `<backend>:<device>`, e.g. `openvino:gpu`. */
23680
23638
  deviceKey: string(),
@@ -23700,22 +23658,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23700
23658
  }), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
23701
23659
  steps: array(PipelineStepInputSchema),
23702
23660
  deviceKey: string().optional()
23703
- }), PipelineValidationResultSchema), method(_void(), array(PipelineTemplateSchema$1).readonly()), method(object({
23704
- name: string(),
23705
- steps: array(PipelineTemplateStepSchema).readonly(),
23706
- engine: PipelineEngineChoiceSchema
23707
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
23708
- id: string(),
23709
- name: string().optional(),
23710
- steps: array(PipelineTemplateStepSchema).readonly().optional()
23711
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
23661
+ }), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
23712
23662
  addonId: string(),
23713
23663
  modelId: string(),
23714
- format: ModelFormatSchema$1
23664
+ format: ModelFormatSchema$2
23715
23665
  }), DownloadModelResultSchema, { kind: "mutation" }), method(object({
23716
23666
  addonId: string(),
23717
23667
  modelId: string(),
23718
- format: ModelFormatSchema$1
23668
+ format: ModelFormatSchema$2
23719
23669
  }), object({ success: literal(true) }), { kind: "mutation" }), method(object({
23720
23670
  steps: array(PipelineStepInputSchema).min(1),
23721
23671
  frame: FrameInputSchema.optional(),
@@ -23781,7 +23731,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23781
23731
  * `device-not-servable`), and nothing reaches the camera's live
23782
23732
  * trace stream. Absent ⇒ unchanged behaviour.
23783
23733
  */
23784
- replay: literal(true).optional()
23734
+ replay: literal(true).optional(),
23735
+ /**
23736
+ * Root-supplied detections for the tree's ROOT step (D730). Set by
23737
+ * `runDetailSubtree` when the camera's root model supplies a crop-kind
23738
+ * step (a Frigate+ `license_plate` for `plate-detection`): the step is
23739
+ * NOT inferred, these boxes are its output, and its children (the plate
23740
+ * reader) run on them through their own crop policy. Boxes are in the
23741
+ * PIXELS of the image this call carries. Absent ⇒ the root step runs.
23742
+ */
23743
+ suppliedRoot: SuppliedRootOutputSchema.optional()
23785
23744
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
23786
23745
  steps: array(PipelineStepInputSchema).min(1),
23787
23746
  frames: array(FrameInputSchema).min(1).max(255),
@@ -23863,6 +23822,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23863
23822
  filename: string().optional(),
23864
23823
  settings: record(string(), unknown()).optional()
23865
23824
  }), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
23825
+ /**
23826
+ * The wire shapes of the Auto tune plan and apply (D745), used by the
23827
+ * `pipeline-orchestrator` cap. The recommender's own types
23828
+ * (`recommend.ts`) are the TS face of the same data; these
23829
+ * schemas are what crosses the cap boundary.
23830
+ */
23831
+ var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
23832
+ /** The operator's range for it. */
23833
+ var MIN_SESSIONS_PER_DEVICE_RANGE = {
23834
+ min: 1,
23835
+ max: 8
23836
+ };
23837
+ var HardwareClassIdSchema = _enum([
23838
+ "intel-core-ultra",
23839
+ "intel-n-series",
23840
+ "apple-m-base",
23841
+ "apple-m-pro",
23842
+ "unknown"
23843
+ ]);
23844
+ var AcceleratorKindSchema = _enum([
23845
+ "intel-npu",
23846
+ "intel-igpu",
23847
+ "x86-cpu",
23848
+ "arm-cpu",
23849
+ "apple-ane",
23850
+ "coral"
23851
+ ]);
23852
+ var RecommendationReasonSchema = discriminatedUnion("kind", [
23853
+ object({
23854
+ kind: literal("capacity"),
23855
+ sessions: number(),
23856
+ minSessions: number()
23857
+ }),
23858
+ object({
23859
+ kind: literal("tie-faster"),
23860
+ over: string(),
23861
+ recallDelta: number()
23862
+ }),
23863
+ object({
23864
+ kind: literal("stepped-down"),
23865
+ from: string(),
23866
+ to: string(),
23867
+ limitedBy: string()
23868
+ }),
23869
+ object({
23870
+ kind: literal("no-fit-lightest"),
23871
+ sessions: number(),
23872
+ minSessions: number()
23873
+ }),
23874
+ object({
23875
+ kind: literal("derived-latency"),
23876
+ modelId: string()
23877
+ }),
23878
+ object({ kind: literal("cpu-device") }),
23879
+ object({ kind: literal("coral-untouched") }),
23880
+ object({ kind: literal("device-disabled") }),
23881
+ object({ kind: literal("device-unavailable") }),
23882
+ object({ kind: literal("node-offline") }),
23883
+ object({ kind: literal("no-hardware-facts") }),
23884
+ object({
23885
+ kind: literal("no-measured-data"),
23886
+ hardwareClass: HardwareClassIdSchema
23887
+ }),
23888
+ object({
23889
+ kind: literal("no-family-build"),
23890
+ format: ModelFormatSchema$1
23891
+ })
23892
+ ]);
23893
+ var DeviceModelChoiceSchema = object({
23894
+ modelId: string(),
23895
+ p50Ms: number(),
23896
+ fps: number(),
23897
+ measured: boolean(),
23898
+ /** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
23899
+ capacitySessions: number(),
23900
+ personRecall: number()
23901
+ });
23902
+ var DeviceRecommendationSchema = object({
23903
+ deviceKey: string(),
23904
+ accelerator: AcceleratorKindSchema.nullable(),
23905
+ enabled: boolean(),
23906
+ available: boolean(),
23907
+ chosen: DeviceModelChoiceSchema.nullable(),
23908
+ reasons: array(RecommendationReasonSchema).readonly()
23909
+ });
23910
+ var NodeRecommendationSchema = object({
23911
+ nodeId: string(),
23912
+ reachable: boolean(),
23913
+ hardwareClass: HardwareClassIdSchema.nullable(),
23914
+ cpuModel: string().nullable(),
23915
+ skipped: boolean(),
23916
+ acceleratorModelId: string().nullable(),
23917
+ devices: array(DeviceRecommendationSchema).readonly(),
23918
+ reasons: array(RecommendationReasonSchema).readonly()
23919
+ });
23920
+ var ModelPinChangeSchema = object({
23921
+ stepId: string(),
23922
+ before: string().nullable(),
23923
+ after: string().nullable()
23924
+ });
23925
+ var NodeDeviceChangeSchema = object({
23926
+ nodeId: string(),
23927
+ deviceKey: string(),
23928
+ madeExplicit: boolean(),
23929
+ modelPins: array(ModelPinChangeSchema).readonly(),
23930
+ thresholds: array(object({
23931
+ stepId: string(),
23932
+ keys: array(string()).readonly()
23933
+ })).readonly()
23934
+ });
23935
+ var CameraOverrideClearSchema = object({
23936
+ deviceId: number(),
23937
+ source: _enum(["step-override", "wholesale"]),
23938
+ nodeId: string(),
23939
+ deviceKey: string().nullable(),
23940
+ stepId: string(),
23941
+ modelIdBefore: string().nullable(),
23942
+ keys: array(string()).readonly()
23943
+ });
23944
+ var DetectorStoreClearSchema = object({
23945
+ deviceId: number(),
23946
+ keys: array(string()).readonly()
23947
+ });
23948
+ var AutoTuneWarningSchema = discriminatedUnion("kind", [
23949
+ object({
23950
+ kind: literal("detector-store-cluster-wide"),
23951
+ skippedNodes: array(string()).readonly()
23952
+ }),
23953
+ object({
23954
+ kind: literal("detector-store-unreadable"),
23955
+ error: string()
23956
+ }),
23957
+ object({
23958
+ kind: literal("coral-enabled"),
23959
+ nodeId: string(),
23960
+ deviceKey: string()
23961
+ })
23962
+ ]);
23963
+ var AutoTuneOptionsSchema = object({
23964
+ /** Share of each accelerator's throughput kept free (0.3–0.5). */
23965
+ headroom: number().min(.3).max(.5).default(.4),
23966
+ /**
23967
+ * The least number of parallel sessions every device must sustain at the
23968
+ * camera rate with the headroom kept free (D755). The most accurate model
23969
+ * that reaches it wins.
23970
+ */
23971
+ minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
23972
+ });
23973
+ var AutoTunePlanSchema = object({
23974
+ /** Hash of everything the apply will write — the apply refuses a different one. */
23975
+ planHash: string(),
23976
+ family: literal("yolov9"),
23977
+ headroom: number(),
23978
+ minSessionsPerDevice: number(),
23979
+ /** The detection rate a session is counted at (the fastest camera running the pipeline root). */
23980
+ cameraFps: number(),
23981
+ generatedAt: number(),
23982
+ nodes: array(NodeRecommendationSchema).readonly(),
23983
+ nodeChanges: array(NodeDeviceChangeSchema).readonly(),
23984
+ cameraClears: array(CameraOverrideClearSchema).readonly(),
23985
+ detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
23986
+ warnings: array(AutoTuneWarningSchema).readonly()
23987
+ });
23988
+ var AutoTuneApplyInputSchema = object({
23989
+ planHash: string(),
23990
+ headroom: number().min(.3).max(.5).default(.4),
23991
+ minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
23992
+ });
23993
+ var AutoTunePhaseResultSchema = object({
23994
+ phase: _enum([
23995
+ "download",
23996
+ "camera-overrides",
23997
+ "detector-thresholds",
23998
+ "node-models",
23999
+ "redispatch"
24000
+ ]),
24001
+ ok: boolean(),
24002
+ detail: string()
24003
+ });
24004
+ var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
24005
+ object({
24006
+ kind: literal("applied"),
24007
+ planHash: string(),
24008
+ phases: array(AutoTunePhaseResultSchema).readonly()
24009
+ }),
24010
+ object({
24011
+ kind: literal("aborted"),
24012
+ phases: array(AutoTunePhaseResultSchema).readonly()
24013
+ }),
24014
+ object({
24015
+ kind: literal("stale"),
24016
+ plan: AutoTunePlanSchema
24017
+ }),
24018
+ object({
24019
+ kind: literal("refused"),
24020
+ reason: _enum(["apply-in-progress"])
24021
+ })
24022
+ ]);
24023
+ /**
24024
+ * Wire shapes of the Load balancing surface (D748): the session placement
24025
+ * policy, the atomic share write, the observed placement statistics, the
24026
+ * hardware share suggestion and the stale device pins.
24027
+ */
24028
+ /**
24029
+ * How a new detection session picks its node and device.
24030
+ * - `least-loaded` — the historical rule: lowest `attached / weight`, a
24031
+ * constant node order at a tie (D37). An idle node always ties at 0, so a
24032
+ * weight only bites once a node already holds a session.
24033
+ * - `share` — the share of PARALLEL sessions is held to the weights, and a
24034
+ * full or drowning node yields to a free one (D748).
24035
+ */
24036
+ var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
24037
+ var LoadBalancingSharesInputSchema = object({
24038
+ /** nodeId → share (> 0). A node left out keeps its weight. */
24039
+ nodes: record(string(), number().positive()).default({}),
24040
+ /** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
24041
+ devices: record(string(), record(string(), number().positive())).default({})
24042
+ });
24043
+ var PlacementStatsInputSchema = object({
24044
+ /** Window the observed shares are averaged over (default 1 h, max 24 h). */
24045
+ windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
24046
+ var PlacementDeviceStatsSchema = object({
24047
+ deviceKey: string(),
24048
+ /** Sessions running on this device now. */
24049
+ sessionsNow: number(),
24050
+ /** Sessions started on this device inside the window. */
24051
+ sessionsStarted: number(),
24052
+ /** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
24053
+ observedShare: number().nullable()
24054
+ });
24055
+ var PlacementNodeStatsSchema = object({
24056
+ nodeId: string(),
24057
+ sessionsNow: number(),
24058
+ sessionsStarted: number(),
24059
+ /** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
24060
+ observedShare: number().nullable(),
24061
+ /** Most sessions this node ran at once inside the window. */
24062
+ peakSessions: number(),
24063
+ /** Sessions a share election handed elsewhere because this node was full or drowning. */
24064
+ yieldsAway: number(),
24065
+ devices: array(PlacementDeviceStatsSchema).readonly()
24066
+ });
24067
+ /** A camera's device pin that the session path cannot honour. */
24068
+ var StaleDevicePinSchema = object({
24069
+ deviceId: number(),
24070
+ deviceKey: string(),
24071
+ /** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
24072
+ reason: _enum(["disabled", "absent"])
24073
+ });
24074
+ var PlacementStatsSchema = object({
24075
+ policy: SessionPlacementPolicySchema,
24076
+ windowMs: number(),
24077
+ /** How much of the window was actually observed (the hub keeps it in memory). */
24078
+ observedForMs: number(),
24079
+ sessionsNow: number(),
24080
+ /** Most parallel sessions across the cluster inside the window. */
24081
+ clusterPeakSessions: number(),
24082
+ nodes: array(PlacementNodeStatsSchema).readonly(),
24083
+ stalePins: array(StaleDevicePinSchema).readonly()
24084
+ });
24085
+ /**
24086
+ * Where an automatic share's capacity comes from (D755).
24087
+ * - `hardware` — the static capacity of each device at its Auto tune model:
24088
+ * the measured latency table for the node's hardware class.
24089
+ * - `benchmark` — the node's own measured capacity (node benchmark results).
24090
+ * A node with no results falls back to `hardware`, and says so.
24091
+ */
24092
+ var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
24093
+ /** Why a node under the `benchmark` source was sized from hardware instead. */
24094
+ var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
24095
+ var SuggestSharesInputSchema = object({
24096
+ headroom: number().min(.3).max(.5).default(.4),
24097
+ /** Default `hardware`. */
24098
+ source: CapacitySourceSchema.default("hardware")
24099
+ });
24100
+ var SuggestedDeviceShareSchema = object({
24101
+ deviceKey: string(),
24102
+ /** Share of the node (0–100, rounded). */
24103
+ share: number(),
24104
+ modelId: string().nullable(),
24105
+ /** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
24106
+ fps: number().nullable(),
24107
+ /** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
24108
+ measured: boolean(),
24109
+ /**
24110
+ * Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
24111
+ * or the benchmark's measured max sessions. Never enforced.
24112
+ */
24113
+ suggestedMaxSessions: number().nullable()
24114
+ });
24115
+ var SuggestedNodeShareSchema = object({
24116
+ nodeId: string(),
24117
+ /** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
24118
+ share: number().nullable(),
24119
+ /** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
24120
+ capacitySessions: number(),
24121
+ devices: array(SuggestedDeviceShareSchema).readonly(),
24122
+ skippedReason: string().nullable(),
24123
+ /** What this node's capacity was read from; null when the node is skipped. */
24124
+ capacitySource: CapacitySourceSchema.nullable(),
24125
+ /** Set when the `benchmark` source was asked for and this node used `hardware`. */
24126
+ capacityFallback: CapacityFallbackSchema.nullable()
24127
+ });
24128
+ var SuggestSharesResultSchema = object({
24129
+ headroom: number(),
24130
+ /** The source asked for; each node says what it actually used. */
24131
+ source: CapacitySourceSchema,
24132
+ /** Camera detection rate the capacity is counted in (the fastest camera's fps). */
24133
+ cameraFps: number(),
24134
+ /** The Auto tune capacity floor the models were picked at. */
24135
+ minSessionsPerDevice: number(),
24136
+ nodes: array(SuggestedNodeShareSchema).readonly()
24137
+ });
24138
+ /**
24139
+ * Where the node and device shares come from (D750, D755).
24140
+ * - `hardware` (default) — computed by the system from each node's static
24141
+ * capacity (its accelerators at their Auto tune models, from the measured
24142
+ * latency table), recomputed whenever a node or device joins, leaves, is
24143
+ * switched on or off, or changes model. No load input.
24144
+ * - `benchmark` — the same, from each node's measured capacity (node
24145
+ * benchmark results); a node without results falls back to `hardware`.
24146
+ * - `manual` — the operator's stored sliders.
24147
+ * Either way a node or device that cannot take sessions gives its share to
24148
+ * the others in proportion; the stored values are never rewritten for that.
24149
+ */
24150
+ var ShareSourceSchema = _enum([
24151
+ "hardware",
24152
+ "benchmark",
24153
+ "manual"
24154
+ ]);
24155
+ var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
24156
+ object({
24157
+ nodes: record(string(), number()),
24158
+ devices: record(string(), record(string(), number()))
24159
+ });
24160
+ var EffectiveDeviceShareSchema = object({
24161
+ deviceKey: string(),
24162
+ /** Can take sessions now (enabled, available, can run the root). */
24163
+ eligible: boolean(),
24164
+ /** The share the source assigns, as a percentage of the node's devices. */
24165
+ configuredPct: number(),
24166
+ /** The share actually used, after an ineligible device's share went to the others. */
24167
+ effectivePct: number()
24168
+ });
24169
+ var EffectiveNodeShareSchema = object({
24170
+ nodeId: string(),
24171
+ eligible: boolean(),
24172
+ configuredPct: number(),
24173
+ effectivePct: number(),
24174
+ /** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
24175
+ capacitySource: CapacitySourceSchema.nullable(),
24176
+ /** Automatic `benchmark`: why this node used `hardware` instead. */
24177
+ capacityFallback: CapacityFallbackSchema.nullable(),
24178
+ devices: array(EffectiveDeviceShareSchema).readonly()
24179
+ });
24180
+ var EffectiveSharesSchema = object({
24181
+ source: ShareSourceSchema,
24182
+ policy: SessionPlacementPolicySchema,
24183
+ /** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
24184
+ autoPending: boolean(),
24185
+ /** When the automatic shares were last computed (ms epoch); null = never. */
24186
+ computedAt: number().nullable(),
24187
+ /** What made the system recompute them last. */
24188
+ trigger: string().nullable(),
24189
+ nodes: array(EffectiveNodeShareSchema).readonly(),
24190
+ /** The relative weights the election reads (before eligibility). */
24191
+ nodeWeights: record(string(), number()),
24192
+ deviceWeights: record(string(), record(string(), number()))
24193
+ });
23866
24194
  object({
23867
24195
  activeCameras: number(),
23868
24196
  throttledCameras: number(),
@@ -24780,14 +25108,15 @@ var RunnerLocalLoadSchema = object({
24780
25108
  * Per-inference-device live load (multi-device C4). One entry per deviceKey
24781
25109
  * this runner currently has attached cameras on, so the orchestrator's second
24782
25110
  * `balance()` pass (over a node's devices) weights on real per-pool session
24783
- * counts. Empty on single-device / pre-multi-device runners. `queueDepthTotal`
24784
- * per device is 0 until the pool backlog gets a public accessor (follow-up).
25111
+ * counts. Empty on single-device / pre-multi-device runners. There is no
25112
+ * per-device queue depth: the inference pool's backlog has no accessor, and
25113
+ * a field that always read 0 was removed rather than shown as a measurement
25114
+ * (D762).
24785
25115
  */
24786
25116
  devices: array(object({
24787
25117
  deviceKey: string(),
24788
25118
  backend: string(),
24789
- attachedCameras: number(),
24790
- queueDepthTotal: number()
25119
+ attachedCameras: number()
24791
25120
  })).default([]),
24792
25121
  /** Hardware capability flags reported by this node. */
24793
25122
  hardware: object({
@@ -24923,7 +25252,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
24923
25252
  */
24924
25253
  cropJpeg: string().optional(),
24925
25254
  parent: DetailParentSchema,
24926
- steps: array(string()).optional()
25255
+ steps: array(string()).optional(),
25256
+ /**
25257
+ * The camera's root model already drew this step's boxes (D730): a
25258
+ * `license_plate` inside the parent vehicle. The named step is NOT
25259
+ * inferred — these FRAME-space boxes are its output — and its
25260
+ * requested children (the plate reader) run on them. Absent ⇒ every
25261
+ * requested step infers as before.
25262
+ */
25263
+ supplied: object({
25264
+ stepId: string(),
25265
+ modelId: string(),
25266
+ boxes: array(object({
25267
+ bbox: NativeCropBboxSchema,
25268
+ score: number()
25269
+ })).min(1)
25270
+ }).optional()
24927
25271
  }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
24928
25272
  /** Catalog step id, e.g. `clip-embedding`. */
24929
25273
  stepId: string(),
@@ -24986,14 +25330,6 @@ var CameraPipelineConfigSchema = object({
24986
25330
  settings: record(string(), unknown()).readonly().optional()
24987
25331
  }).nullable().optional()
24988
25332
  });
24989
- var PipelineTemplateSchema = object({
24990
- id: string(),
24991
- name: string(),
24992
- description: string().optional(),
24993
- config: CameraPipelineConfigSchema,
24994
- createdAt: string(),
24995
- updatedAt: string()
24996
- });
24997
25333
  var DeviceStepConfigSchema = object({
24998
25334
  modelId: string().optional(),
24999
25335
  settings: record(string(), unknown()).optional(),
@@ -25067,9 +25403,10 @@ var CameraStepOverridePatchSchema = object({
25067
25403
  modelId: string().optional(),
25068
25404
  settings: record(string(), unknown()).readonly().optional()
25069
25405
  });
25406
+ var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
25070
25407
  var CameraPipelineSettingsSchema = object({
25071
- pinnedAgentNodeId: string().optional(),
25072
25408
  stepToggles: record(string(), boolean()).optional(),
25409
+ stepSettings: CameraStepSettingsSchema.optional(),
25073
25410
  stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
25074
25411
  pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
25075
25412
  });
@@ -25102,7 +25439,10 @@ var PipelineAssignmentSchema = object({
25102
25439
  });
25103
25440
  /**
25104
25441
  * Per-agent load summary surfaced to the load balancer + dashboards.
25105
- * Aggregated from each runner's `getLocalLoad` cap call.
25442
+ * Aggregated from each runner's `getLocalLoad` cap call. In the
25443
+ * `getAgentLoad` report, a single-device node's default-pool sessions (no
25444
+ * `deviceKey`) are credited to its one eligible device in `load.devices` —
25445
+ * the default pool IS that device (D745); the balancer's census stays raw.
25106
25446
  */
25107
25447
  var AgentLoadSummarySchema = object({
25108
25448
  nodeId: string(),
@@ -25191,26 +25531,27 @@ var CameraBrokerStatusSchema = object({
25191
25531
  width: number(),
25192
25532
  height: number(),
25193
25533
  subscribers: number(),
25194
- inFps: number(),
25195
- outFps: number()
25534
+ /**
25535
+ * Encoded packets/s the broker receives from the camera. null when the
25536
+ * broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
25537
+ * There is no output rate: decoding runs in the session decode workers, not
25538
+ * in the broker, so the broker's own decoded-frame rate is 0 on every live
25539
+ * camera and is not served (D758).
25540
+ */
25541
+ inFps: number().nullable()
25196
25542
  })).readonly(),
25197
25543
  webrtcSessions: number(),
25198
25544
  rtspRestream: boolean()
25199
25545
  });
25200
- /** Shared-memory ring statistics within the decoder block. */
25201
- var CameraDecoderShmSchema = object({
25202
- framesWritten: number(),
25203
- getFrameHits: number(),
25204
- getFrameMisses: number(),
25205
- budgetMb: number()
25206
- });
25207
- /** Decoder block — null when the decoder stage is unreachable or inactive. */
25208
- var CameraDecoderStatusSchema = object({
25209
- nodeId: string(),
25210
- formats: array(string()).readonly(),
25211
- sessionCount: number(),
25212
- shm: CameraDecoderShmSchema
25213
- });
25546
+ /**
25547
+ * Decoder block — WHERE decode runs (co-located with the detection node by
25548
+ * construction); null when the camera has no detection node. It carries no
25549
+ * frame counter: the shared-memory plane whose counters it used to serve is
25550
+ * gone, and those fields read 0 forever. Whether frames actually flow is read
25551
+ * from `detection.actualFps` (frames delivered to and processed by the
25552
+ * detector), never from a counter nothing feeds.
25553
+ */
25554
+ var CameraDecoderStatusSchema = object({ nodeId: string() });
25214
25555
  /** Motion block — null when motion detection is not active for this device. */
25215
25556
  var CameraMotionStatusSchema = object({
25216
25557
  enabled: boolean(),
@@ -25567,12 +25908,6 @@ method(object({
25567
25908
  }), object({ success: literal(true) }), {
25568
25909
  kind: "mutation",
25569
25910
  auth: "admin"
25570
- }), method(object({
25571
- agentNodeId: string(),
25572
- detectWeight: number().positive().nullable()
25573
- }), object({ success: literal(true) }), {
25574
- kind: "mutation",
25575
- auth: "admin"
25576
25911
  }), method(object({
25577
25912
  agentNodeId: string(),
25578
25913
  detect: boolean().nullable().optional(),
@@ -25614,6 +25949,15 @@ method(object({
25614
25949
  }), {
25615
25950
  kind: "mutation",
25616
25951
  auth: "admin"
25952
+ }), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
25953
+ kind: "mutation",
25954
+ auth: "admin"
25955
+ }), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
25956
+ kind: "mutation",
25957
+ auth: "admin"
25958
+ }), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
25959
+ kind: "mutation",
25960
+ auth: "admin"
25617
25961
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
25618
25962
  deviceId: number(),
25619
25963
  addonId: string(),
@@ -25630,6 +25974,13 @@ method(object({
25630
25974
  }), object({ success: literal(true) }), {
25631
25975
  kind: "mutation",
25632
25976
  auth: "admin"
25977
+ }), method(object({
25978
+ deviceId: number(),
25979
+ addonId: string(),
25980
+ settings: record(string(), unknown()).nullable()
25981
+ }), object({ success: literal(true) }), {
25982
+ kind: "mutation",
25983
+ auth: "admin"
25633
25984
  }), method(object({
25634
25985
  deviceId: number(),
25635
25986
  agentNodeId: string(),
@@ -25653,25 +26004,7 @@ method(object({
25653
26004
  }), method(_void(), DiskReconcileJobSchema, {
25654
26005
  kind: "mutation",
25655
26006
  auth: "admin"
25656
- }), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
25657
- name: string(),
25658
- description: string().optional(),
25659
- config: CameraPipelineConfigSchema
25660
- }), PipelineTemplateSchema, {
25661
- kind: "mutation",
25662
- auth: "admin"
25663
- }), method(object({
25664
- id: string(),
25665
- name: string().optional(),
25666
- description: string().optional(),
25667
- config: CameraPipelineConfigSchema.optional()
25668
- }), PipelineTemplateSchema, {
25669
- kind: "mutation",
25670
- auth: "admin"
25671
- }), method(object({ id: string() }), object({ success: literal(true) }), {
25672
- kind: "mutation",
25673
- auth: "admin"
25674
- });
26007
+ }), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
25675
26008
  /**
25676
26009
  * Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
25677
26010
  * `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
@@ -28024,8 +28357,6 @@ var WebrtcStreamChoiceSchema = object({
28024
28357
  ]).nullable(),
28025
28358
  /** Input FPS from the camera (null for adaptive). */
28026
28359
  inputFps: number().nullable(),
28027
- /** Decoded FPS (null for adaptive). */
28028
- decodeFps: number().nullable(),
28029
28360
  /** Bitrate in kbps (null for adaptive). */
28030
28361
  bitrateKbps: number().nullable()
28031
28362
  });
@@ -28357,6 +28688,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
28357
28688
  */
28358
28689
  alive: boolean()
28359
28690
  })), method(object({
28691
+ deviceId: number().int().nonnegative(),
28692
+ sessionId: string(),
28693
+ downlinkMbps: number().nonnegative()
28694
+ }), object({
28695
+ outcome: _enum(["switching", "held"]),
28696
+ tier: CamProfileSchema.nullable(),
28697
+ reason: string()
28698
+ }), { kind: "mutation" }), method(object({
28360
28699
  deviceId: number().int().nonnegative(),
28361
28700
  sessionId: string()
28362
28701
  }), WebrtcSessionDebugSchema, { kind: "query" });
@@ -28596,6 +28935,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
28596
28935
  var RestartAddonResultSchema = unknown();
28597
28936
  var InstallPackageResultSchema = unknown();
28598
28937
  var ReloadPackagesResultSchema = unknown();
28938
+ /**
28939
+ * What an uninstall did on ONE node.
28940
+ * - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
28941
+ * - `not-installed` — the node did not have it (nothing to do).
28942
+ * - `refused` — protected / bootstrap package; nothing touched.
28943
+ * - `failed` — attempted and did not complete; `error` says why.
28944
+ * - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
28945
+ * back-fill never returns the package, and the stale-addon sweep removes the
28946
+ * copy when the node registers again (only once the hub no longer has it).
28947
+ */
28948
+ var UninstallNodeOutcomeSchema = _enum([
28949
+ "uninstalled",
28950
+ "not-installed",
28951
+ "refused",
28952
+ "failed",
28953
+ "pending-reconnect"
28954
+ ]);
28955
+ var UninstallNodeResultSchema = object({
28956
+ nodeId: string(),
28957
+ outcome: UninstallNodeOutcomeSchema,
28958
+ error: string().optional(),
28959
+ addonIds: array(string()).readonly(),
28960
+ runnersStopped: array(string()).readonly(),
28961
+ warnings: array(string()).readonly()
28962
+ });
28963
+ var UninstallPackageResultSchema = object({
28964
+ /** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
28965
+ success: boolean(),
28966
+ packageName: string(),
28967
+ results: array(UninstallNodeResultSchema).readonly()
28968
+ });
28969
+ /**
28970
+ * `unreachable` lists online agents whose status read FAILED — absence from
28971
+ * `installations` is only "not installed" for a node that answered (D315).
28972
+ */
28973
+ var PackageInstallationsSchema = object({
28974
+ installations: array(object({
28975
+ packageName: string(),
28976
+ nodeId: string(),
28977
+ nodeName: string(),
28978
+ isHub: boolean(),
28979
+ isOnline: boolean(),
28980
+ version: string().nullable(),
28981
+ addonIds: array(string()).readonly(),
28982
+ source: _enum(["live", "recorded"]),
28983
+ /** The hub installs this package too. `false` on an agent row = an orphan. */
28984
+ onHub: boolean()
28985
+ })).readonly(),
28986
+ unreachable: array(object({
28987
+ nodeId: string(),
28988
+ error: string()
28989
+ })).readonly()
28990
+ });
28599
28991
  var BulkUpdateItemStatusSchema = _enum([
28600
28992
  "queued",
28601
28993
  "updating",
@@ -28678,10 +29070,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
28678
29070
  }), method(object({ packageName: string() }), InstallPackageResultSchema, {
28679
29071
  kind: "mutation",
28680
29072
  auth: "admin"
28681
- }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({ packageName: string() }), unknown(), {
29073
+ }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
29074
+ packageName: string().min(1),
29075
+ nodeId: string().optional(),
29076
+ everywhere: boolean().optional()
29077
+ }), UninstallPackageResultSchema, {
28682
29078
  kind: "mutation",
28683
29079
  auth: "admin"
28684
- }), method(_void(), ReloadPackagesResultSchema, {
29080
+ }), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
28685
29081
  kind: "mutation",
28686
29082
  auth: "admin"
28687
29083
  }), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
@@ -32176,7 +32572,8 @@ var ConnectionEndpointSchema = object({
32176
32572
  "lan-ipv6",
32177
32573
  "public",
32178
32574
  "loopback",
32179
- "app-link"
32575
+ "app-link",
32576
+ "custom"
32180
32577
  ]),
32181
32578
  /**
32182
32579
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -32245,7 +32642,7 @@ var GetConnectionEndpointsResultSchema = object({
32245
32642
  localPort: AdvertisedLocalPortSchema
32246
32643
  });
32247
32644
  /**
32248
- * The address flagged for notification links. `baseUrl: null` = AUTO, which
32645
+ * The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
32249
32646
  * since D709 is the CamStack app link; `resolved` reports the effective value,
32250
32647
  * so the UI can show it either way.
32251
32648
  */
@@ -32278,6 +32675,72 @@ var ViewerEndpointsSchema = object({
32278
32675
  /** What the ranking currently resolves to (may be empty if nothing is up). */
32279
32676
  resolved: array(string()).readonly()
32280
32677
  });
32678
+ /**
32679
+ * DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
32680
+ * for addons built against it): `cluster` is the `internal` role, `browser`
32681
+ * the `publicEndpoint` role; `override` is the flagged address.
32682
+ */
32683
+ var HubAddressSnapshotSchema = object({
32684
+ override: string().nullable(),
32685
+ resolved: string().nullable(),
32686
+ source: _enum([
32687
+ "override",
32688
+ "auto",
32689
+ "none"
32690
+ ])
32691
+ });
32692
+ var HubAddressesSchema = object({
32693
+ cluster: HubAddressSnapshotSchema,
32694
+ browser: HubAddressSnapshotSchema
32695
+ });
32696
+ /**
32697
+ * What an address is used for (`hub-address.ts`, D734). `appConnections` is
32698
+ * many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
32699
+ * by at most one address.
32700
+ */
32701
+ var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
32702
+ var RoleSourceSchema = _enum([
32703
+ "flagged",
32704
+ "auto",
32705
+ "none"
32706
+ ]);
32707
+ /** One single-valued role: the flagged address, the one in use, and why. */
32708
+ var HubAddressRoleResolutionSchema = object({
32709
+ /** The address carrying the flag, or null = automatic. */
32710
+ flagged: string().nullable(),
32711
+ /** The address in use, or null when nothing qualifies (never loopback). */
32712
+ resolved: string().nullable(),
32713
+ source: RoleSourceSchema
32714
+ });
32715
+ var HubAppConnectionsResolutionSchema = object({
32716
+ /** The addresses flagged `appConnections`, or empty = automatic. */
32717
+ flagged: array(string()).readonly(),
32718
+ /** What the apps race right now. */
32719
+ resolved: array(string()).readonly(),
32720
+ source: RoleSourceSchema
32721
+ });
32722
+ var HubAddressBookSchema = object({
32723
+ rows: array(ConnectionEndpointSchema.extend({
32724
+ /** In the hub's detected palette right now. */
32725
+ detected: boolean(),
32726
+ /** Entered by the operator (removable). */
32727
+ custom: boolean(),
32728
+ /** The roles explicitly flagged on this address. */
32729
+ flags: array(HubAddressRoleSchema).readonly(),
32730
+ /** The roles this address serves right now — flagged or automatic. */
32731
+ inUse: array(HubAddressRoleSchema).readonly(),
32732
+ /** The roles this address may be flagged with. */
32733
+ eligible: array(HubAddressRoleSchema).readonly()
32734
+ })).readonly(),
32735
+ roles: object({
32736
+ appConnections: HubAppConnectionsResolutionSchema,
32737
+ notificationTaps: HubAddressRoleResolutionSchema,
32738
+ internal: HubAddressRoleResolutionSchema,
32739
+ publicEndpoint: HubAddressRoleResolutionSchema
32740
+ }),
32741
+ /** The `hub=` an app link carries (D709), or null. */
32742
+ appLinkHub: string().nullable()
32743
+ });
32281
32744
  var AllowedAddressesSchema = object({
32282
32745
  /**
32283
32746
  * Allowlist of interface addresses operators have explicitly opted
@@ -32321,10 +32784,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
32321
32784
  * tunnel always emits `https://` regardless. */
32322
32785
  scheme: _enum(["http", "https"]).optional(),
32323
32786
  /** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
32324
- * an address notification links can be flagged with, not a hub
32787
+ * an address notification taps can be flagged with, not a hub
32325
32788
  * route. Default `false`: racers and rankers never see it. */
32326
32789
  includeAppLink: boolean().optional()
32327
- }), 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(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
32790
+ }), 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({
32791
+ baseUrl: string(),
32792
+ label: string().max(80)
32793
+ }), HubAddressBookSchema, {
32794
+ kind: "mutation",
32795
+ auth: "admin"
32796
+ }), method(object({ baseUrl: string() }), HubAddressBookSchema, {
32797
+ kind: "mutation",
32798
+ auth: "admin"
32799
+ }), method(object({
32800
+ role: HubAddressRoleSchema,
32801
+ baseUrl: string().nullable(),
32802
+ enabled: boolean(),
32803
+ acceptInsecureHttp: boolean().optional()
32804
+ }), HubAddressBookSchema, {
32805
+ kind: "mutation",
32806
+ auth: "admin"
32807
+ }), 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, {
32328
32808
  kind: "mutation",
32329
32809
  auth: "admin"
32330
32810
  }), method(object({
@@ -39330,6 +39810,16 @@ var zoneRulesCapability = {
39330
39810
  durability: "restored"
39331
39811
  };
39332
39812
  SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
39813
+ Object.freeze({
39814
+ person: .5,
39815
+ vehicle: .5,
39816
+ animal: .5
39817
+ });
39818
+ Object.freeze({
39819
+ person: .65,
39820
+ vehicle: .65,
39821
+ animal: .65
39822
+ });
39333
39823
  /**
39334
39824
  * Accessory device helpers — shared across drivers.
39335
39825
  *
@@ -41028,6 +41518,12 @@ Object.freeze({
41028
41518
  addonId: null,
41029
41519
  access: "view"
41030
41520
  },
41521
+ "addons.listInstallations": {
41522
+ capName: "addons",
41523
+ capScope: "system",
41524
+ addonId: null,
41525
+ access: "view"
41526
+ },
41031
41527
  "addons.listJobs": {
41032
41528
  capName: "addons",
41033
41529
  capScope: "system",
@@ -42210,90 +42706,18 @@ Object.freeze({
42210
42706
  addonId: null,
42211
42707
  access: "create"
42212
42708
  },
42213
- "decoder.createSession": {
42214
- capName: "decoder",
42215
- capScope: "system",
42216
- addonId: null,
42217
- access: "view"
42218
- },
42219
- "decoder.destroySession": {
42220
- capName: "decoder",
42221
- capScope: "system",
42222
- addonId: null,
42223
- access: "delete"
42224
- },
42225
- "decoder.getFrame": {
42226
- capName: "decoder",
42227
- capScope: "system",
42228
- addonId: null,
42229
- access: "view"
42230
- },
42231
42709
  "decoder.getInfo": {
42232
42710
  capName: "decoder",
42233
42711
  capScope: "system",
42234
42712
  addonId: null,
42235
42713
  access: "view"
42236
42714
  },
42237
- "decoder.getShmStats": {
42238
- capName: "decoder",
42239
- capScope: "system",
42240
- addonId: null,
42241
- access: "view"
42242
- },
42243
- "decoder.getStats": {
42244
- capName: "decoder",
42245
- capScope: "system",
42246
- addonId: null,
42247
- access: "view"
42248
- },
42249
- "decoder.listActiveSessions": {
42250
- capName: "decoder",
42251
- capScope: "system",
42252
- addonId: null,
42253
- access: "view"
42254
- },
42255
- "decoder.openStream": {
42256
- capName: "decoder",
42257
- capScope: "system",
42258
- addonId: null,
42259
- access: "view"
42260
- },
42261
- "decoder.pullFrames": {
42262
- capName: "decoder",
42263
- capScope: "system",
42264
- addonId: null,
42265
- access: "view"
42266
- },
42267
- "decoder.pullHandles": {
42268
- capName: "decoder",
42269
- capScope: "system",
42270
- addonId: null,
42271
- access: "view"
42272
- },
42273
- "decoder.pushPacket": {
42274
- capName: "decoder",
42275
- capScope: "system",
42276
- addonId: null,
42277
- access: "view"
42278
- },
42279
42715
  "decoder.reprobeHwaccel": {
42280
42716
  capName: "decoder",
42281
42717
  capScope: "system",
42282
42718
  addonId: null,
42283
42719
  access: "create"
42284
42720
  },
42285
- "decoder.supportsCodec": {
42286
- capName: "decoder",
42287
- capScope: "system",
42288
- addonId: null,
42289
- access: "view"
42290
- },
42291
- "decoder.updateConfig": {
42292
- capName: "decoder",
42293
- capScope: "system",
42294
- addonId: null,
42295
- access: "view"
42296
- },
42297
42721
  "detectionPipeline.applyDeviceSettingsPatch": {
42298
42722
  capName: "detection-pipeline",
42299
42723
  capScope: "device",
@@ -43782,12 +44206,24 @@ Object.freeze({
43782
44206
  addonId: null,
43783
44207
  access: "view"
43784
44208
  },
44209
+ "localNetwork.addCustomAddress": {
44210
+ capName: "local-network",
44211
+ capScope: "system",
44212
+ addonId: null,
44213
+ access: "create"
44214
+ },
43785
44215
  "localNetwork.downloadCa": {
43786
44216
  capName: "local-network",
43787
44217
  capScope: "system",
43788
44218
  addonId: null,
43789
44219
  access: "view"
43790
44220
  },
44221
+ "localNetwork.getAddresses": {
44222
+ capName: "local-network",
44223
+ capScope: "system",
44224
+ addonId: null,
44225
+ access: "view"
44226
+ },
43791
44227
  "localNetwork.getAllowedAddresses": {
43792
44228
  capName: "local-network",
43793
44229
  capScope: "system",
@@ -43800,6 +44236,12 @@ Object.freeze({
43800
44236
  addonId: null,
43801
44237
  access: "view"
43802
44238
  },
44239
+ "localNetwork.getHubAddresses": {
44240
+ capName: "local-network",
44241
+ capScope: "system",
44242
+ addonId: null,
44243
+ access: "view"
44244
+ },
43803
44245
  "localNetwork.getNotificationEndpoint": {
43804
44246
  capName: "local-network",
43805
44247
  capScope: "system",
@@ -43836,6 +44278,12 @@ Object.freeze({
43836
44278
  addonId: null,
43837
44279
  access: "create"
43838
44280
  },
44281
+ "localNetwork.removeCustomAddress": {
44282
+ capName: "local-network",
44283
+ capScope: "system",
44284
+ addonId: null,
44285
+ access: "delete"
44286
+ },
43839
44287
  "localNetwork.resetAllowlistToBestMatch": {
43840
44288
  capName: "local-network",
43841
44289
  capScope: "system",
@@ -43848,6 +44296,12 @@ Object.freeze({
43848
44296
  addonId: null,
43849
44297
  access: "create"
43850
44298
  },
44299
+ "localNetwork.setAddressRole": {
44300
+ capName: "local-network",
44301
+ capScope: "system",
44302
+ addonId: null,
44303
+ access: "create"
44304
+ },
43851
44305
  "localNetwork.setAllowedAddresses": {
43852
44306
  capName: "local-network",
43853
44307
  capScope: "system",
@@ -45342,13 +45796,13 @@ Object.freeze({
45342
45796
  addonId: null,
45343
45797
  access: "delete"
45344
45798
  },
45345
- "pipelineExecutor.deleteModel": {
45799
+ "pipelineExecutor.clearModelBoundDeviceOverrides": {
45346
45800
  capName: "pipeline-executor",
45347
45801
  capScope: "system",
45348
45802
  addonId: null,
45349
45803
  access: "delete"
45350
45804
  },
45351
- "pipelineExecutor.deleteTemplate": {
45805
+ "pipelineExecutor.deleteModel": {
45352
45806
  capName: "pipeline-executor",
45353
45807
  capScope: "system",
45354
45808
  addonId: null,
@@ -45492,12 +45946,6 @@ Object.freeze({
45492
45946
  addonId: null,
45493
45947
  access: "view"
45494
45948
  },
45495
- "pipelineExecutor.listTemplates": {
45496
- capName: "pipeline-executor",
45497
- capScope: "system",
45498
- addonId: null,
45499
- access: "view"
45500
- },
45501
45949
  "pipelineExecutor.rearmInferenceDevice": {
45502
45950
  capName: "pipeline-executor",
45503
45951
  capScope: "system",
@@ -45522,12 +45970,6 @@ Object.freeze({
45522
45970
  addonId: null,
45523
45971
  access: "create"
45524
45972
  },
45525
- "pipelineExecutor.saveTemplate": {
45526
- capName: "pipeline-executor",
45527
- capScope: "system",
45528
- addonId: null,
45529
- access: "create"
45530
- },
45531
45973
  "pipelineExecutor.setVideoPipelineSteps": {
45532
45974
  capName: "pipeline-executor",
45533
45975
  capScope: "system",
@@ -45546,41 +45988,35 @@ Object.freeze({
45546
45988
  addonId: null,
45547
45989
  access: "create"
45548
45990
  },
45549
- "pipelineExecutor.updateTemplate": {
45550
- capName: "pipeline-executor",
45551
- capScope: "system",
45552
- addonId: null,
45553
- access: "create"
45554
- },
45555
45991
  "pipelineExecutor.validatePipeline": {
45556
45992
  capName: "pipeline-executor",
45557
45993
  capScope: "system",
45558
45994
  addonId: null,
45559
45995
  access: "view"
45560
45996
  },
45561
- "pipelineOrchestrator.applyDeviceSettingsPatch": {
45997
+ "pipelineOrchestrator.applyAutoTune": {
45562
45998
  capName: "pipeline-orchestrator",
45563
45999
  capScope: "system",
45564
46000
  addonId: null,
45565
46001
  access: "create"
45566
46002
  },
45567
- "pipelineOrchestrator.assignAudio": {
46003
+ "pipelineOrchestrator.applyDeviceSettingsPatch": {
45568
46004
  capName: "pipeline-orchestrator",
45569
46005
  capScope: "system",
45570
46006
  addonId: null,
45571
46007
  access: "create"
45572
46008
  },
45573
- "pipelineOrchestrator.assignPipeline": {
46009
+ "pipelineOrchestrator.assignAudio": {
45574
46010
  capName: "pipeline-orchestrator",
45575
46011
  capScope: "system",
45576
46012
  addonId: null,
45577
46013
  access: "create"
45578
46014
  },
45579
- "pipelineOrchestrator.deleteTemplate": {
46015
+ "pipelineOrchestrator.assignPipeline": {
45580
46016
  capName: "pipeline-orchestrator",
45581
46017
  capScope: "system",
45582
46018
  addonId: null,
45583
- access: "delete"
46019
+ access: "create"
45584
46020
  },
45585
46021
  "pipelineOrchestrator.getAgentLoad": {
45586
46022
  capName: "pipeline-orchestrator",
@@ -45672,6 +46108,12 @@ Object.freeze({
45672
46108
  addonId: null,
45673
46109
  access: "view"
45674
46110
  },
46111
+ "pipelineOrchestrator.getEffectiveShares": {
46112
+ capName: "pipeline-orchestrator",
46113
+ capScope: "system",
46114
+ addonId: null,
46115
+ access: "view"
46116
+ },
45675
46117
  "pipelineOrchestrator.getGlobalMetrics": {
45676
46118
  capName: "pipeline-orchestrator",
45677
46119
  capScope: "system",
@@ -45708,19 +46150,19 @@ Object.freeze({
45708
46150
  addonId: null,
45709
46151
  access: "view"
45710
46152
  },
45711
- "pipelineOrchestrator.getReconcileFromDiskStatus": {
46153
+ "pipelineOrchestrator.getPlacementStats": {
45712
46154
  capName: "pipeline-orchestrator",
45713
46155
  capScope: "system",
45714
46156
  addonId: null,
45715
46157
  access: "view"
45716
46158
  },
45717
- "pipelineOrchestrator.listAgentSettings": {
46159
+ "pipelineOrchestrator.getReconcileFromDiskStatus": {
45718
46160
  capName: "pipeline-orchestrator",
45719
46161
  capScope: "system",
45720
46162
  addonId: null,
45721
46163
  access: "view"
45722
46164
  },
45723
- "pipelineOrchestrator.listTemplates": {
46165
+ "pipelineOrchestrator.listAgentSettings": {
45724
46166
  capName: "pipeline-orchestrator",
45725
46167
  capScope: "system",
45726
46168
  addonId: null,
@@ -45732,6 +46174,12 @@ Object.freeze({
45732
46174
  addonId: null,
45733
46175
  access: "create"
45734
46176
  },
46177
+ "pipelineOrchestrator.planAutoTune": {
46178
+ capName: "pipeline-orchestrator",
46179
+ capScope: "system",
46180
+ addonId: null,
46181
+ access: "view"
46182
+ },
45735
46183
  "pipelineOrchestrator.rebalance": {
45736
46184
  capName: "pipeline-orchestrator",
45737
46185
  capScope: "system",
@@ -45774,12 +46222,6 @@ Object.freeze({
45774
46222
  addonId: null,
45775
46223
  access: "create"
45776
46224
  },
45777
- "pipelineOrchestrator.saveTemplate": {
45778
- capName: "pipeline-orchestrator",
45779
- capScope: "system",
45780
- addonId: null,
45781
- access: "create"
45782
- },
45783
46225
  "pipelineOrchestrator.setAgentCapabilities": {
45784
46226
  capName: "pipeline-orchestrator",
45785
46227
  capScope: "system",
@@ -45792,12 +46234,6 @@ Object.freeze({
45792
46234
  addonId: null,
45793
46235
  access: "create"
45794
46236
  },
45795
- "pipelineOrchestrator.setAgentDetectWeight": {
45796
- capName: "pipeline-orchestrator",
45797
- capScope: "system",
45798
- addonId: null,
45799
- access: "create"
45800
- },
45801
46237
  "pipelineOrchestrator.setAgentInferenceDevices": {
45802
46238
  capName: "pipeline-orchestrator",
45803
46239
  capScope: "system",
@@ -45834,6 +46270,12 @@ Object.freeze({
45834
46270
  addonId: null,
45835
46271
  access: "create"
45836
46272
  },
46273
+ "pipelineOrchestrator.setCameraStepSettings": {
46274
+ capName: "pipeline-orchestrator",
46275
+ capScope: "system",
46276
+ addonId: null,
46277
+ access: "create"
46278
+ },
45837
46279
  "pipelineOrchestrator.setCameraStepToggle": {
45838
46280
  capName: "pipeline-orchestrator",
45839
46281
  capScope: "system",
@@ -45852,25 +46294,37 @@ Object.freeze({
45852
46294
  addonId: null,
45853
46295
  access: "create"
45854
46296
  },
46297
+ "pipelineOrchestrator.setLoadBalancingShares": {
46298
+ capName: "pipeline-orchestrator",
46299
+ capScope: "system",
46300
+ addonId: null,
46301
+ access: "create"
46302
+ },
45855
46303
  "pipelineOrchestrator.setPipelineDevicePin": {
45856
46304
  capName: "pipeline-orchestrator",
45857
46305
  capScope: "system",
45858
46306
  addonId: null,
45859
46307
  access: "create"
45860
46308
  },
45861
- "pipelineOrchestrator.unassignAudio": {
46309
+ "pipelineOrchestrator.setShareSource": {
45862
46310
  capName: "pipeline-orchestrator",
45863
46311
  capScope: "system",
45864
46312
  addonId: null,
45865
46313
  access: "create"
45866
46314
  },
45867
- "pipelineOrchestrator.unassignPipeline": {
46315
+ "pipelineOrchestrator.suggestShares": {
46316
+ capName: "pipeline-orchestrator",
46317
+ capScope: "system",
46318
+ addonId: null,
46319
+ access: "view"
46320
+ },
46321
+ "pipelineOrchestrator.unassignAudio": {
45868
46322
  capName: "pipeline-orchestrator",
45869
46323
  capScope: "system",
45870
46324
  addonId: null,
45871
46325
  access: "create"
45872
46326
  },
45873
- "pipelineOrchestrator.updateTemplate": {
46327
+ "pipelineOrchestrator.unassignPipeline": {
45874
46328
  capName: "pipeline-orchestrator",
45875
46329
  capScope: "system",
45876
46330
  addonId: null,
@@ -47310,12 +47764,6 @@ Object.freeze({
47310
47764
  addonId: null,
47311
47765
  access: "view"
47312
47766
  },
47313
- "streamBroker.pullFrameHandles": {
47314
- capName: "stream-broker",
47315
- capScope: "system",
47316
- addonId: null,
47317
- access: "view"
47318
- },
47319
47767
  "streamBroker.regenerateRtspToken": {
47320
47768
  capName: "stream-broker",
47321
47769
  capScope: "system",
@@ -47382,12 +47830,6 @@ Object.freeze({
47382
47830
  addonId: null,
47383
47831
  access: "create"
47384
47832
  },
47385
- "streamBroker.subscribeFrames": {
47386
- capName: "stream-broker",
47387
- capScope: "system",
47388
- addonId: null,
47389
- access: "create"
47390
- },
47391
47833
  "streamBroker.unassignProfile": {
47392
47834
  capName: "stream-broker",
47393
47835
  capScope: "system",
@@ -47400,12 +47842,6 @@ Object.freeze({
47400
47842
  addonId: null,
47401
47843
  access: "create"
47402
47844
  },
47403
- "streamBroker.unsubscribeFrames": {
47404
- capName: "stream-broker",
47405
- capScope: "system",
47406
- addonId: null,
47407
- access: "create"
47408
- },
47409
47845
  "streamCatalog.getCatalog": {
47410
47846
  capName: "stream-catalog",
47411
47847
  capScope: "device",
@@ -48102,6 +48538,12 @@ Object.freeze({
48102
48538
  addonId: null,
48103
48539
  access: "create"
48104
48540
  },
48541
+ "webrtcSession.applyDownlinkProbe": {
48542
+ capName: "webrtc-session",
48543
+ capScope: "device",
48544
+ addonId: null,
48545
+ access: "create"
48546
+ },
48105
48547
  "webrtcSession.closeSession": {
48106
48548
  capName: "webrtc-session",
48107
48549
  capScope: "device",
@@ -49913,11 +50355,6 @@ Object.freeze({
49913
50355
  form: "single",
49914
50356
  optional: false
49915
50357
  }],
49916
- "decoder.createSession": [{
49917
- name: "deviceId",
49918
- form: "single",
49919
- optional: true
49920
- }],
49921
50358
  "detectionPipeline.applyDeviceSettingsPatch": [{
49922
50359
  name: "deviceId",
49923
50360
  form: "single",
@@ -51148,6 +51585,11 @@ Object.freeze({
51148
51585
  form: "single",
51149
51586
  optional: false
51150
51587
  }],
51588
+ "pipelineExecutor.clearModelBoundDeviceOverrides": [{
51589
+ name: "deviceIds",
51590
+ form: "array",
51591
+ optional: true
51592
+ }],
51151
51593
  "pipelineExecutor.runPipeline": [{
51152
51594
  name: "deviceId",
51153
51595
  form: "single",
@@ -51253,6 +51695,11 @@ Object.freeze({
51253
51695
  form: "single",
51254
51696
  optional: false
51255
51697
  }],
51698
+ "pipelineOrchestrator.setCameraStepSettings": [{
51699
+ name: "deviceId",
51700
+ form: "single",
51701
+ optional: false
51702
+ }],
51256
51703
  "pipelineOrchestrator.setCameraStepToggle": [{
51257
51704
  name: "deviceId",
51258
51705
  form: "single",
@@ -52024,6 +52471,11 @@ Object.freeze({
52024
52471
  form: "single",
52025
52472
  optional: false
52026
52473
  }],
52474
+ "webrtcSession.applyDownlinkProbe": [{
52475
+ name: "deviceId",
52476
+ form: "single",
52477
+ optional: false
52478
+ }],
52027
52479
  "webrtcSession.closeSession": [{
52028
52480
  name: "deviceId",
52029
52481
  form: "single",
@@ -52557,7 +53009,7 @@ var STATE_SUMMARY_VARS = [
52557
53009
  {
52558
53010
  name: "summarySection",
52559
53011
  label: "Summary: this section",
52560
- description: "The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.",
53012
+ description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
52561
53013
  example: "Batterie scariche",
52562
53014
  group: "system",
52563
53015
  families: ["rule"],