@camstack/addon-provider-rademacher 0.2.120 → 0.2.122

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