@camstack/addon-notifiers 1.1.21 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +715 -258
- package/dist/addon.mjs +715 -258
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4627
4627
|
return inst;
|
|
4628
4628
|
}
|
|
4629
4629
|
//#endregion
|
|
4630
|
-
//#region ../types/dist/sleep-
|
|
4630
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4631
4631
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4632
4632
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4633
4633
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4813,6 +4813,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4813
4813
|
*/
|
|
4814
4814
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4815
4815
|
/**
|
|
4816
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4817
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4818
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4819
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4820
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4821
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4822
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4823
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4824
|
+
* broker's long backstop reconcile query).
|
|
4825
|
+
*/
|
|
4826
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4827
|
+
/**
|
|
4816
4828
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4817
4829
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4818
4830
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5336,10 +5348,6 @@ function hydrateField(field, values) {
|
|
|
5336
5348
|
};
|
|
5337
5349
|
}
|
|
5338
5350
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5339
|
-
if (field.type === "password") return {
|
|
5340
|
-
...field,
|
|
5341
|
-
value: ""
|
|
5342
|
-
};
|
|
5343
5351
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5344
5352
|
return {
|
|
5345
5353
|
...field,
|
|
@@ -6723,6 +6731,21 @@ function method(input, output, options) {
|
|
|
6723
6731
|
timeoutMs: options?.timeoutMs
|
|
6724
6732
|
};
|
|
6725
6733
|
}
|
|
6734
|
+
/**
|
|
6735
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6736
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6737
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6738
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6739
|
+
*/
|
|
6740
|
+
function systemMethod(input, output, options) {
|
|
6741
|
+
return {
|
|
6742
|
+
...method(input, output, options),
|
|
6743
|
+
systemOnly: true
|
|
6744
|
+
};
|
|
6745
|
+
}
|
|
6746
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6747
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6748
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6726
6749
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6727
6750
|
var VersionOutputSchema = object({ version: string() });
|
|
6728
6751
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6892,6 +6915,36 @@ var ModelFormatsSchema = object({
|
|
|
6892
6915
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6893
6916
|
pt: ModelFormatEntrySchema.optional()
|
|
6894
6917
|
});
|
|
6918
|
+
/**
|
|
6919
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6920
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6921
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6922
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6923
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6924
|
+
* to an `id`.
|
|
6925
|
+
*/
|
|
6926
|
+
var ModelVariantGroupSchema = object({
|
|
6927
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6928
|
+
family: string(),
|
|
6929
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6930
|
+
tier: string(),
|
|
6931
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6932
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6933
|
+
/**
|
|
6934
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6935
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6936
|
+
* future performance variants plug into.
|
|
6937
|
+
*/
|
|
6938
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6939
|
+
/**
|
|
6940
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6941
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6942
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6943
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6944
|
+
* the group so the selector can offer it as a variant axis.
|
|
6945
|
+
*/
|
|
6946
|
+
resolution: number().int().positive().optional()
|
|
6947
|
+
});
|
|
6895
6948
|
var ModelCatalogEntrySchema = object({
|
|
6896
6949
|
id: string(),
|
|
6897
6950
|
name: string(),
|
|
@@ -6921,7 +6974,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6921
6974
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6922
6975
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6923
6976
|
*/
|
|
6924
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
6977
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
6978
|
+
/**
|
|
6979
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
6980
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
6981
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
6982
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
6983
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
6984
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
6985
|
+
* an explicit legacy id that has a build for the node's format.
|
|
6986
|
+
*/
|
|
6987
|
+
legacy: boolean().optional(),
|
|
6988
|
+
/**
|
|
6989
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
6990
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
6991
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
6992
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
6993
|
+
*/
|
|
6994
|
+
metrics: object({
|
|
6995
|
+
map50: number().optional(),
|
|
6996
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
6997
|
+
}).optional(),
|
|
6998
|
+
/**
|
|
6999
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7000
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7001
|
+
* the retraining addon and any future commercial distribution.
|
|
7002
|
+
*/
|
|
7003
|
+
license: string().optional(),
|
|
7004
|
+
/**
|
|
7005
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7006
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7007
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7008
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7009
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7010
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7011
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7012
|
+
*/
|
|
7013
|
+
group: ModelVariantGroupSchema.optional()
|
|
6925
7014
|
});
|
|
6926
7015
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6927
7016
|
format: literal("openvino"),
|
|
@@ -6982,8 +7071,8 @@ var RecordingModeSchema = _enum([
|
|
|
6982
7071
|
"onAudioThreshold"
|
|
6983
7072
|
]);
|
|
6984
7073
|
/**
|
|
6985
|
-
* First-class, authoritative per-camera storage mode — the
|
|
6986
|
-
* reads directly (never inferred from `rules`):
|
|
7074
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7075
|
+
* UI reads directly (never inferred from `rules`):
|
|
6987
7076
|
* - `off` — not recording.
|
|
6988
7077
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
6989
7078
|
* with pre/post-buffer.
|
|
@@ -8824,26 +8913,13 @@ DeviceType.Light, method(object({
|
|
|
8824
8913
|
percentage: number().min(0).max(100),
|
|
8825
8914
|
lastChangedAt: number()
|
|
8826
8915
|
});
|
|
8916
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8827
8917
|
var StreamFormatSchema = _enum([
|
|
8828
8918
|
"webrtc",
|
|
8829
8919
|
"hls",
|
|
8830
8920
|
"mjpeg",
|
|
8831
8921
|
"rtsp"
|
|
8832
8922
|
]);
|
|
8833
|
-
var StreamInfoSchema = object({
|
|
8834
|
-
streamId: string(),
|
|
8835
|
-
format: StreamFormatSchema,
|
|
8836
|
-
url: string().nullable(),
|
|
8837
|
-
active: boolean()
|
|
8838
|
-
});
|
|
8839
|
-
method(object({
|
|
8840
|
-
streamId: string(),
|
|
8841
|
-
sourceUrl: string(),
|
|
8842
|
-
codec: string().optional()
|
|
8843
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8844
|
-
streamId: string(),
|
|
8845
|
-
format: StreamFormatSchema
|
|
8846
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8847
8923
|
var RtspRestreamEntrySchema = object({
|
|
8848
8924
|
brokerId: string(),
|
|
8849
8925
|
url: string(),
|
|
@@ -9508,7 +9584,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9508
9584
|
})),
|
|
9509
9585
|
lastChangedAt: number()
|
|
9510
9586
|
});
|
|
9511
|
-
|
|
9587
|
+
Object.values(DeviceType), method(object({
|
|
9512
9588
|
deviceId: number().int().nonnegative(),
|
|
9513
9589
|
key: string().min(1)
|
|
9514
9590
|
}), _void(), {
|
|
@@ -10423,7 +10499,7 @@ var BoundingBoxSchema = object({
|
|
|
10423
10499
|
w: number(),
|
|
10424
10500
|
h: number()
|
|
10425
10501
|
});
|
|
10426
|
-
|
|
10502
|
+
object({
|
|
10427
10503
|
class: string(),
|
|
10428
10504
|
originalClass: string(),
|
|
10429
10505
|
score: number(),
|
|
@@ -10558,7 +10634,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10558
10634
|
enabled: boolean(),
|
|
10559
10635
|
modelId: string(),
|
|
10560
10636
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10561
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10562
10637
|
group: string().optional(),
|
|
10563
10638
|
settings: record(string(), unknown()).optional()
|
|
10564
10639
|
}));
|
|
@@ -10583,7 +10658,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10583
10658
|
formats: record(string(), object({
|
|
10584
10659
|
downloaded: boolean(),
|
|
10585
10660
|
sizeMB: number()
|
|
10586
|
-
}))
|
|
10661
|
+
})),
|
|
10662
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10663
|
+
legacy: boolean().optional()
|
|
10587
10664
|
});
|
|
10588
10665
|
var ConfigFieldBridge = custom();
|
|
10589
10666
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10597,6 +10674,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10597
10674
|
defaultModelId: string(),
|
|
10598
10675
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10599
10676
|
enabledByDefault: boolean().optional(),
|
|
10677
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10600
10678
|
defaultConfidence: number(),
|
|
10601
10679
|
group: string().optional(),
|
|
10602
10680
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10613,11 +10691,6 @@ var PipelineSchemaSchema = object({
|
|
|
10613
10691
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10614
10692
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10615
10693
|
});
|
|
10616
|
-
var DetectorOutputSchema = object({
|
|
10617
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10618
|
-
inferenceMs: number(),
|
|
10619
|
-
modelId: string()
|
|
10620
|
-
});
|
|
10621
10694
|
var EngineProvisioningSchema = object({
|
|
10622
10695
|
runtimeId: _enum([
|
|
10623
10696
|
"onnx",
|
|
@@ -10634,15 +10707,42 @@ var EngineProvisioningSchema = object({
|
|
|
10634
10707
|
]),
|
|
10635
10708
|
progress: number().optional(),
|
|
10636
10709
|
error: string().optional(),
|
|
10637
|
-
nextRetryAt: number().optional()
|
|
10710
|
+
nextRetryAt: number().optional(),
|
|
10711
|
+
/**
|
|
10712
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10713
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10714
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10715
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10716
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10717
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10718
|
+
*/
|
|
10719
|
+
configIssues: array(string()).optional()
|
|
10638
10720
|
});
|
|
10639
10721
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10640
10722
|
addonId: string(),
|
|
10641
|
-
modelId: string(),
|
|
10723
|
+
modelId: string().optional(),
|
|
10642
10724
|
enabled: boolean().default(true),
|
|
10643
10725
|
children: array(PipelineStepInputSchema).optional(),
|
|
10644
10726
|
settings: record(string(), unknown()).optional()
|
|
10645
10727
|
}));
|
|
10728
|
+
var ModelSubstitutionSchema = object({
|
|
10729
|
+
addonId: string(),
|
|
10730
|
+
chosen: string(),
|
|
10731
|
+
running: string(),
|
|
10732
|
+
format: string()
|
|
10733
|
+
});
|
|
10734
|
+
var PipelineValidationIssueSchema = object({
|
|
10735
|
+
addonId: string(),
|
|
10736
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10737
|
+
detail: string()
|
|
10738
|
+
});
|
|
10739
|
+
var PipelineValidationResultSchema = object({
|
|
10740
|
+
ok: boolean(),
|
|
10741
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10742
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10743
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10744
|
+
format: string()
|
|
10745
|
+
});
|
|
10646
10746
|
var ReferenceImageEntrySchema = object({
|
|
10647
10747
|
filename: string(),
|
|
10648
10748
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10713,7 +10813,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10713
10813
|
})) }), object({ success: literal(true) }), {
|
|
10714
10814
|
kind: "mutation",
|
|
10715
10815
|
auth: "admin"
|
|
10716
|
-
}), method(
|
|
10816
|
+
}), method(object({ nodeId: string() }), object({
|
|
10817
|
+
success: literal(true),
|
|
10818
|
+
clearedDevices: number()
|
|
10819
|
+
}), {
|
|
10820
|
+
kind: "mutation",
|
|
10821
|
+
auth: "admin"
|
|
10822
|
+
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({ steps: array(PipelineStepInputSchema) }), PipelineValidationResultSchema), method(_void(), array(PipelineTemplateSchema$1).readonly()), method(object({
|
|
10717
10823
|
name: string(),
|
|
10718
10824
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10719
10825
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10730,10 +10836,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10730
10836
|
modelId: string(),
|
|
10731
10837
|
format: ModelFormatSchema$1
|
|
10732
10838
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10733
|
-
addonId: string(),
|
|
10734
|
-
frame: FrameInputSchema,
|
|
10735
|
-
config: record(string(), unknown()).optional()
|
|
10736
|
-
}), DetectorOutputSchema), method(object({
|
|
10737
10839
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10738
10840
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10739
10841
|
frame: FrameInputSchema.optional(),
|
|
@@ -10754,7 +10856,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10754
10856
|
image: _instanceof(Uint8Array).optional(),
|
|
10755
10857
|
referenceImage: string().optional(),
|
|
10756
10858
|
deviceId: number().optional(),
|
|
10757
|
-
sessionId: string().optional()
|
|
10859
|
+
sessionId: string().optional(),
|
|
10860
|
+
/**
|
|
10861
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10862
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10863
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10864
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10865
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10866
|
+
*/
|
|
10867
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10758
10868
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10759
10869
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10760
10870
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10879,6 +10989,47 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(ZoneSchema).read
|
|
|
10879
10989
|
auth: "admin"
|
|
10880
10990
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10881
10991
|
/**
|
|
10992
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
10993
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
10994
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
10995
|
+
* dims — no native resolution to plumb.
|
|
10996
|
+
*/
|
|
10997
|
+
var NativeCropBboxSchema = object({
|
|
10998
|
+
x: number(),
|
|
10999
|
+
y: number(),
|
|
11000
|
+
w: number(),
|
|
11001
|
+
h: number()
|
|
11002
|
+
});
|
|
11003
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
11004
|
+
var NativeCropResultSchema = object({
|
|
11005
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
11006
|
+
bytes: _instanceof(Uint8Array),
|
|
11007
|
+
width: number().int().positive(),
|
|
11008
|
+
height: number().int().positive()
|
|
11009
|
+
});
|
|
11010
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11011
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11012
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11013
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11014
|
+
* normalized [0,1] convention). */
|
|
11015
|
+
var DetailParentSchema = object({
|
|
11016
|
+
bbox: NativeCropBboxSchema,
|
|
11017
|
+
className: string()
|
|
11018
|
+
});
|
|
11019
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11020
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11021
|
+
* single tracked detection. */
|
|
11022
|
+
var DetailResultSchema = object({
|
|
11023
|
+
stepId: string(),
|
|
11024
|
+
className: string(),
|
|
11025
|
+
score: number(),
|
|
11026
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11027
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11028
|
+
embedding: string().optional(),
|
|
11029
|
+
label: string().optional(),
|
|
11030
|
+
alignedCropJpeg: string().optional()
|
|
11031
|
+
});
|
|
11032
|
+
/**
|
|
10882
11033
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10883
11034
|
* by both the Zod data schema (validation + default fallback) and
|
|
10884
11035
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -10973,6 +11124,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10973
11124
|
kind: literal("remote-restream"),
|
|
10974
11125
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
10975
11126
|
ownerNodeId: string(),
|
|
11127
|
+
/**
|
|
11128
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
11129
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
11130
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
11131
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
11132
|
+
*/
|
|
11133
|
+
ownerReachableHost: string().optional(),
|
|
10976
11134
|
/** Operator override for the owner host the runner dials. */
|
|
10977
11135
|
hubHostnameOverride: string().optional()
|
|
10978
11136
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -10981,13 +11139,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10981
11139
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
10982
11140
|
* runner needs to subscribe to the local broker and execute inference.
|
|
10983
11141
|
*
|
|
10984
|
-
* Stateless-pipeline model: the
|
|
10985
|
-
*
|
|
10986
|
-
*
|
|
10987
|
-
*
|
|
10988
|
-
*
|
|
10989
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
10990
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
11142
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
11143
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
11144
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
11145
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
11146
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
10991
11147
|
*/
|
|
10992
11148
|
var RunnerCameraConfigSchema = object({
|
|
10993
11149
|
deviceId: number(),
|
|
@@ -11038,14 +11194,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
11038
11194
|
*/
|
|
11039
11195
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
11040
11196
|
pipelineEnabled: boolean().default(true),
|
|
11041
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
11042
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11043
11197
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
11044
11198
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
11045
11199
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
11046
11200
|
audio: object({
|
|
11047
|
-
|
|
11048
|
-
modelId: string(),
|
|
11201
|
+
modelId: string().optional(),
|
|
11049
11202
|
enabled: boolean()
|
|
11050
11203
|
}).nullable().optional(),
|
|
11051
11204
|
/**
|
|
@@ -11132,7 +11285,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
11132
11285
|
avgInferenceTimeMs: number(),
|
|
11133
11286
|
queueDepth: number()
|
|
11134
11287
|
});
|
|
11135
|
-
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly())
|
|
11288
|
+
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
|
|
11289
|
+
handle: FrameHandleSchema,
|
|
11290
|
+
bbox: NativeCropBboxSchema,
|
|
11291
|
+
maxWidth: number().int().positive().optional()
|
|
11292
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11293
|
+
deviceId: number(),
|
|
11294
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11295
|
+
cropJpeg: string().optional(),
|
|
11296
|
+
parent: DetailParentSchema,
|
|
11297
|
+
steps: array(string()).optional()
|
|
11298
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11136
11299
|
object({
|
|
11137
11300
|
detected: boolean(),
|
|
11138
11301
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12426,7 +12589,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12426
12589
|
icon: string(),
|
|
12427
12590
|
path: string(),
|
|
12428
12591
|
remoteName: string(),
|
|
12429
|
-
bundle: string()
|
|
12592
|
+
bundle: string(),
|
|
12593
|
+
section: string().optional(),
|
|
12594
|
+
sectionLabel: string().optional()
|
|
12430
12595
|
});
|
|
12431
12596
|
var AddonPageInfoSchema = object({
|
|
12432
12597
|
addonId: string(),
|
|
@@ -12466,7 +12631,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12466
12631
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12467
12632
|
* without a separate filesystem stat.
|
|
12468
12633
|
*/
|
|
12469
|
-
bundle: string()
|
|
12634
|
+
bundle: string(),
|
|
12635
|
+
/**
|
|
12636
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12637
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12638
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12639
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12640
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12641
|
+
* "Addon Pages" group.
|
|
12642
|
+
*/
|
|
12643
|
+
section: string().optional(),
|
|
12644
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12645
|
+
sectionLabel: string().optional()
|
|
12470
12646
|
});
|
|
12471
12647
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12472
12648
|
var AddonHttpRouteSchema = object({
|
|
@@ -12682,6 +12858,17 @@ var WidgetMetadataSchema = object({
|
|
|
12682
12858
|
deviceContext: boolean().default(false),
|
|
12683
12859
|
integrationContext: boolean().default(false)
|
|
12684
12860
|
}),
|
|
12861
|
+
/**
|
|
12862
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12863
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12864
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12865
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12866
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12867
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12868
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12869
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12870
|
+
*/
|
|
12871
|
+
preAuth: boolean().optional().default(false),
|
|
12685
12872
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12686
12873
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12687
12874
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -12983,6 +13170,66 @@ method(object({
|
|
|
12983
13170
|
password: string()
|
|
12984
13171
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
12985
13172
|
/**
|
|
13173
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13174
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13175
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13176
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13177
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13178
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13179
|
+
*
|
|
13180
|
+
* A contribution is a discriminated union on `kind`:
|
|
13181
|
+
*
|
|
13182
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13183
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13184
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13185
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13186
|
+
* login page needs NO change.
|
|
13187
|
+
*
|
|
13188
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13189
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13190
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13191
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13192
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13193
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13194
|
+
*
|
|
13195
|
+
* Every contribution carries a `stage`:
|
|
13196
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13197
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13198
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13199
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13200
|
+
*
|
|
13201
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13202
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13203
|
+
* tRPC router.
|
|
13204
|
+
*/
|
|
13205
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13206
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13207
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13208
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13209
|
+
kind: literal("redirect"),
|
|
13210
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13211
|
+
id: string(),
|
|
13212
|
+
/** Operator-facing button label. */
|
|
13213
|
+
label: string(),
|
|
13214
|
+
/** lucide-react icon name. */
|
|
13215
|
+
icon: string().optional(),
|
|
13216
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13217
|
+
startUrl: string(),
|
|
13218
|
+
stage: LoginStageEnum
|
|
13219
|
+
}), object({
|
|
13220
|
+
kind: literal("widget"),
|
|
13221
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13222
|
+
id: string(),
|
|
13223
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13224
|
+
addonId: string(),
|
|
13225
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13226
|
+
bundle: string(),
|
|
13227
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13228
|
+
remote: WidgetRemoteSchema,
|
|
13229
|
+
stage: LoginStageEnum
|
|
13230
|
+
})]);
|
|
13231
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13232
|
+
/**
|
|
12986
13233
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
12987
13234
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
12988
13235
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -15100,7 +15347,17 @@ var TrackSchema = object({
|
|
|
15100
15347
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
15101
15348
|
totalDistance: number(),
|
|
15102
15349
|
state: TrackStateSchema,
|
|
15103
|
-
active: boolean()
|
|
15350
|
+
active: boolean(),
|
|
15351
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15352
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15353
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15354
|
+
importance: number().optional(),
|
|
15355
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15356
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15357
|
+
bestEventId: string().optional(),
|
|
15358
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15359
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15360
|
+
importanceReason: string().optional()
|
|
15104
15361
|
});
|
|
15105
15362
|
var BaseEventFields = {
|
|
15106
15363
|
id: string(),
|
|
@@ -15165,8 +15422,18 @@ var ObjectEventSchema = object({
|
|
|
15165
15422
|
frameHeight: number().optional(),
|
|
15166
15423
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
15167
15424
|
mediaKey: string().optional(),
|
|
15425
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15426
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15427
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15428
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15429
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15430
|
+
keyFrameMediaKey: string().optional(),
|
|
15168
15431
|
/** Populated by B5 (recording playback URL for this event). */
|
|
15169
|
-
mediaUrl: string().optional()
|
|
15432
|
+
mediaUrl: string().optional(),
|
|
15433
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15434
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15435
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15436
|
+
importance: number().optional()
|
|
15170
15437
|
});
|
|
15171
15438
|
var AudioEventSchema = object({
|
|
15172
15439
|
...BaseEventFields,
|
|
@@ -15190,7 +15457,8 @@ var MediaFileKindEnum = _enum([
|
|
|
15190
15457
|
"fullFrame",
|
|
15191
15458
|
"fullFrameBoxed",
|
|
15192
15459
|
"faceCrop",
|
|
15193
|
-
"plateCrop"
|
|
15460
|
+
"plateCrop",
|
|
15461
|
+
"keyFrame"
|
|
15194
15462
|
]);
|
|
15195
15463
|
var MediaFileSchema = object({
|
|
15196
15464
|
key: string(),
|
|
@@ -15211,6 +15479,32 @@ var DeviceEventQueryInput = object({
|
|
|
15211
15479
|
projection: _enum(["full", "slim"]).optional()
|
|
15212
15480
|
});
|
|
15213
15481
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15482
|
+
var KeyEventQueryInput = object({
|
|
15483
|
+
deviceId: number(),
|
|
15484
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15485
|
+
since: number(),
|
|
15486
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15487
|
+
until: number(),
|
|
15488
|
+
limit: number().int().min(1).max(200).default(50),
|
|
15489
|
+
/** Drop tracks scoring below this importance. */
|
|
15490
|
+
minImportance: number().min(0).max(1).optional(),
|
|
15491
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15492
|
+
classFilter: string().optional()
|
|
15493
|
+
});
|
|
15494
|
+
var KeyEventSchema = object({
|
|
15495
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15496
|
+
id: string(),
|
|
15497
|
+
trackId: string(),
|
|
15498
|
+
/** Track start time (firstSeen). */
|
|
15499
|
+
timestamp: number(),
|
|
15500
|
+
className: string(),
|
|
15501
|
+
label: string().optional(),
|
|
15502
|
+
importance: number(),
|
|
15503
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15504
|
+
bestEventId: string(),
|
|
15505
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15506
|
+
windowMs: number().optional()
|
|
15507
|
+
});
|
|
15214
15508
|
var TrackedDetectionSchema = object({
|
|
15215
15509
|
trackId: string(),
|
|
15216
15510
|
className: string(),
|
|
@@ -15240,7 +15534,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15240
15534
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
15241
15535
|
kind: "mutation",
|
|
15242
15536
|
auth: "admin"
|
|
15243
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15537
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15244
15538
|
deviceId: number(),
|
|
15245
15539
|
since: number(),
|
|
15246
15540
|
until: number(),
|
|
@@ -15285,11 +15579,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15285
15579
|
timestamp: number()
|
|
15286
15580
|
});
|
|
15287
15581
|
var CameraPipelineConfigSchema = object({
|
|
15288
|
-
engine: PipelineEngineChoiceSchema,
|
|
15582
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15289
15583
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15290
15584
|
audio: object({
|
|
15291
|
-
engine: PipelineEngineChoiceSchema,
|
|
15292
|
-
modelId: string(),
|
|
15585
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15586
|
+
modelId: string().optional(),
|
|
15293
15587
|
enabled: boolean(),
|
|
15294
15588
|
settings: record(string(), unknown()).readonly().optional()
|
|
15295
15589
|
}).nullable().optional()
|
|
@@ -15304,7 +15598,7 @@ var PipelineTemplateSchema = object({
|
|
|
15304
15598
|
});
|
|
15305
15599
|
var AgentAddonConfigSchema = object({
|
|
15306
15600
|
enabled: boolean(),
|
|
15307
|
-
modelId: string(),
|
|
15601
|
+
modelId: string().optional(),
|
|
15308
15602
|
settings: record(string(), unknown()).readonly()
|
|
15309
15603
|
});
|
|
15310
15604
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15314,12 +15608,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15314
15608
|
detectWeight: number().positive().optional(),
|
|
15315
15609
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15316
15610
|
detect: boolean().optional(),
|
|
15317
|
-
/**
|
|
15611
|
+
/**
|
|
15612
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15613
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15614
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15615
|
+
* parse — no code reads it and no write path emits it.
|
|
15616
|
+
*/
|
|
15318
15617
|
decode: boolean().optional(),
|
|
15319
15618
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15320
15619
|
audio: boolean().optional(),
|
|
15321
15620
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15322
|
-
ingest: boolean().optional()
|
|
15621
|
+
ingest: boolean().optional(),
|
|
15622
|
+
/**
|
|
15623
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15624
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15625
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15626
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15627
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15628
|
+
*/
|
|
15629
|
+
reachableHost: string().optional()
|
|
15323
15630
|
});
|
|
15324
15631
|
var CameraPipelineForAgentSchema = object({
|
|
15325
15632
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15367,25 +15674,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15367
15674
|
assignedAt: number()
|
|
15368
15675
|
});
|
|
15369
15676
|
/**
|
|
15370
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15371
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15372
|
-
* → co-located with pipeline → capacity).
|
|
15373
|
-
*/
|
|
15374
|
-
var DecoderAssignmentSchema = object({
|
|
15375
|
-
deviceId: number(),
|
|
15376
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15377
|
-
decoderNodeId: string(),
|
|
15378
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15379
|
-
pinned: boolean(),
|
|
15380
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15381
|
-
reason: _enum([
|
|
15382
|
-
"manual",
|
|
15383
|
-
"co-located",
|
|
15384
|
-
"capacity",
|
|
15385
|
-
"hardware-affinity"
|
|
15386
|
-
])
|
|
15387
|
-
});
|
|
15388
|
-
/**
|
|
15389
15677
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15390
15678
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15391
15679
|
*/
|
|
@@ -15425,6 +15713,15 @@ var GlobalMetricsSchema = object({
|
|
|
15425
15713
|
* capability providers.
|
|
15426
15714
|
*/
|
|
15427
15715
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15716
|
+
/**
|
|
15717
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15718
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15719
|
+
*/
|
|
15720
|
+
var IngestOwnerSchema = object({
|
|
15721
|
+
ownerNodeId: string(),
|
|
15722
|
+
reachableHost: string().optional(),
|
|
15723
|
+
configIssue: string().optional()
|
|
15724
|
+
});
|
|
15428
15725
|
/** Source block — always present; derives from the stream catalog. */
|
|
15429
15726
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15430
15727
|
camStreamId: string(),
|
|
@@ -15439,6 +15736,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15439
15736
|
detectionNodeId: string().nullable(),
|
|
15440
15737
|
decoderNodeId: string().nullable(),
|
|
15441
15738
|
audioNodeId: string().nullable(),
|
|
15739
|
+
/**
|
|
15740
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15741
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15742
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15743
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15744
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15745
|
+
*/
|
|
15746
|
+
sourceNodeId: string().nullable(),
|
|
15442
15747
|
pinned: object({
|
|
15443
15748
|
detection: boolean(),
|
|
15444
15749
|
decoder: boolean(),
|
|
@@ -15571,16 +15876,7 @@ method(object({
|
|
|
15571
15876
|
}), object({ success: literal(true) }), {
|
|
15572
15877
|
kind: "mutation",
|
|
15573
15878
|
auth: "admin"
|
|
15574
|
-
}), method(object({
|
|
15575
|
-
deviceId: number(),
|
|
15576
|
-
nodeId: string()
|
|
15577
|
-
}), _void(), {
|
|
15578
|
-
kind: "mutation",
|
|
15579
|
-
auth: "admin"
|
|
15580
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
15581
|
-
kind: "mutation",
|
|
15582
|
-
auth: "admin"
|
|
15583
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15879
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15584
15880
|
deviceId: number(),
|
|
15585
15881
|
nodeId: string()
|
|
15586
15882
|
}), object({ success: literal(true) }), {
|
|
@@ -15601,10 +15897,7 @@ method(object({
|
|
|
15601
15897
|
nodeId: string(),
|
|
15602
15898
|
pinned: boolean(),
|
|
15603
15899
|
assignedAt: number()
|
|
15604
|
-
}))), method(object({
|
|
15605
|
-
deviceId: number(),
|
|
15606
|
-
pipelineNodeId: string().optional()
|
|
15607
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15900
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15608
15901
|
nodeId: string(),
|
|
15609
15902
|
settings: AgentPipelineSettingsSchema
|
|
15610
15903
|
})).readonly()), method(object({
|
|
@@ -15634,12 +15927,26 @@ method(object({
|
|
|
15634
15927
|
}), method(object({
|
|
15635
15928
|
agentNodeId: string(),
|
|
15636
15929
|
detect: boolean().nullable().optional(),
|
|
15637
|
-
decode: boolean().nullable().optional(),
|
|
15638
15930
|
audio: boolean().nullable().optional(),
|
|
15639
15931
|
ingest: boolean().nullable().optional()
|
|
15640
15932
|
}), object({ success: literal(true) }), {
|
|
15641
15933
|
kind: "mutation",
|
|
15642
15934
|
auth: "admin"
|
|
15935
|
+
}), method(object({
|
|
15936
|
+
agentNodeId: string(),
|
|
15937
|
+
reachableHost: string().nullable()
|
|
15938
|
+
}), object({ success: literal(true) }), {
|
|
15939
|
+
kind: "mutation",
|
|
15940
|
+
auth: "admin"
|
|
15941
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
15942
|
+
success: literal(true),
|
|
15943
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
15944
|
+
effectiveModelId: string().nullable(),
|
|
15945
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
15946
|
+
clearedCameraOverrides: number()
|
|
15947
|
+
}), {
|
|
15948
|
+
kind: "mutation",
|
|
15949
|
+
auth: "admin"
|
|
15643
15950
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15644
15951
|
deviceId: number(),
|
|
15645
15952
|
addonId: string(),
|
|
@@ -15684,22 +15991,131 @@ method(object({
|
|
|
15684
15991
|
kind: "mutation",
|
|
15685
15992
|
auth: "admin"
|
|
15686
15993
|
});
|
|
15687
|
-
|
|
15688
|
-
|
|
15689
|
-
|
|
15690
|
-
|
|
15691
|
-
|
|
15692
|
-
|
|
15994
|
+
/**
|
|
15995
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
15996
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
15997
|
+
* agents).
|
|
15998
|
+
*
|
|
15999
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
16000
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
16001
|
+
* version describes the node. Updates install into
|
|
16002
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
16003
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
16004
|
+
*
|
|
16005
|
+
* Providers:
|
|
16006
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
16007
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
16008
|
+
* unpinned calls.
|
|
16009
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
16010
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
16011
|
+
* `$hub.registerNode` manifest.
|
|
16012
|
+
*
|
|
16013
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
16014
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
16015
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
16016
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
16017
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
16018
|
+
*
|
|
16019
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
16020
|
+
*/
|
|
16021
|
+
/**
|
|
16022
|
+
* Where the running hub's code was loaded from:
|
|
16023
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
16024
|
+
* plain resolution and runtime updates are refused.
|
|
16025
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
16026
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
16027
|
+
*/
|
|
16028
|
+
var ServerBootModeSchema = _enum([
|
|
16029
|
+
"workspace",
|
|
16030
|
+
"baked",
|
|
16031
|
+
"data-root"
|
|
16032
|
+
]);
|
|
16033
|
+
/**
|
|
16034
|
+
* Update lifecycle state:
|
|
16035
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
16036
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
16037
|
+
* restarted onto it (still running the OLD version).
|
|
16038
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
16039
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
16040
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
16041
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
16042
|
+
*/
|
|
16043
|
+
var ServerUpdateStateSchema = _enum([
|
|
16044
|
+
"idle",
|
|
16045
|
+
"checking",
|
|
16046
|
+
"staging",
|
|
16047
|
+
"pending-restart",
|
|
16048
|
+
"awaiting-confirmation"
|
|
16049
|
+
]);
|
|
16050
|
+
var ServerRollbackInfoSchema = object({
|
|
16051
|
+
/** The version that failed (or was manually rolled back). */
|
|
16052
|
+
fromVersion: string(),
|
|
16053
|
+
/** The version rolled back to; null = the baked seed. */
|
|
16054
|
+
toVersion: string().nullable(),
|
|
16055
|
+
atMs: number(),
|
|
16056
|
+
reason: string()
|
|
15693
16057
|
});
|
|
15694
|
-
var
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
16058
|
+
var ServerPackageStatusSchema = object({
|
|
16059
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
16060
|
+
packageName: string(),
|
|
16061
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
16062
|
+
runningVersion: string().nullable(),
|
|
16063
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
16064
|
+
nodeRuntimeVersion: string().nullable(),
|
|
16065
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
16066
|
+
activeVersion: string().nullable(),
|
|
16067
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
16068
|
+
previousVersion: string().nullable(),
|
|
16069
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
16070
|
+
seedVersion: string().nullable(),
|
|
16071
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
16072
|
+
latestVersion: string().nullable(),
|
|
16073
|
+
updateAvailable: boolean(),
|
|
16074
|
+
bootMode: ServerBootModeSchema,
|
|
16075
|
+
updateState: ServerUpdateStateSchema,
|
|
16076
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
16077
|
+
pendingVersion: string().nullable(),
|
|
16078
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
16079
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
16080
|
+
/**
|
|
16081
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
16082
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
16083
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
16084
|
+
*/
|
|
16085
|
+
stateFileCorrupt: boolean(),
|
|
16086
|
+
lastCheckedAtMs: number().nullable()
|
|
16087
|
+
});
|
|
16088
|
+
var ServerUpdateCheckResultSchema = object({
|
|
16089
|
+
packageName: string(),
|
|
16090
|
+
runningVersion: string().nullable(),
|
|
16091
|
+
latestVersion: string().nullable(),
|
|
16092
|
+
updateAvailable: boolean(),
|
|
16093
|
+
checkedAtMs: number(),
|
|
16094
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
16095
|
+
error: string().nullable()
|
|
16096
|
+
});
|
|
16097
|
+
var ServerUpdateActionResultSchema = object({
|
|
16098
|
+
accepted: boolean(),
|
|
16099
|
+
targetVersion: string().nullable(),
|
|
16100
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
16101
|
+
restarting: boolean(),
|
|
16102
|
+
message: string()
|
|
16103
|
+
});
|
|
16104
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
16105
|
+
kind: "mutation",
|
|
16106
|
+
auth: "admin"
|
|
16107
|
+
}), method(object({
|
|
16108
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
16109
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
16110
|
+
kind: "mutation",
|
|
16111
|
+
auth: "admin"
|
|
16112
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16113
|
+
kind: "mutation",
|
|
16114
|
+
auth: "admin"
|
|
16115
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16116
|
+
kind: "mutation",
|
|
16117
|
+
auth: "admin"
|
|
15698
16118
|
});
|
|
15699
|
-
method(object({
|
|
15700
|
-
deviceId: number(),
|
|
15701
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15702
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
15703
16119
|
/**
|
|
15704
16120
|
* Query filter for settings-store collections.
|
|
15705
16121
|
*/
|
|
@@ -15852,9 +16268,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
15852
16268
|
/**
|
|
15853
16269
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15854
16270
|
*
|
|
15855
|
-
*
|
|
15856
|
-
*
|
|
15857
|
-
*
|
|
16271
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16272
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16273
|
+
* prebuffer fallback.
|
|
15858
16274
|
*/
|
|
15859
16275
|
var SnapshotImageSchema = object({
|
|
15860
16276
|
base64: string(),
|
|
@@ -15885,11 +16301,12 @@ DeviceType.Camera, method(object({
|
|
|
15885
16301
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
15886
16302
|
kind: "mutation",
|
|
15887
16303
|
auth: "admin"
|
|
15888
|
-
})
|
|
15889
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
16304
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
15890
16305
|
deviceId: number(),
|
|
15891
|
-
|
|
15892
|
-
|
|
16306
|
+
lastCapturedAt: number().nullable(),
|
|
16307
|
+
cacheAgeMs: number().nullable(),
|
|
16308
|
+
etag: string().nullable()
|
|
16309
|
+
})));
|
|
15893
16310
|
/**
|
|
15894
16311
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15895
16312
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -16140,10 +16557,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
16140
16557
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
16141
16558
|
* the assertion, bumps the credential counter, returns ok.
|
|
16142
16559
|
*
|
|
16560
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16561
|
+
* passkey IS the primary factor, no password leg:
|
|
16562
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16563
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16564
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16565
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16566
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16567
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16568
|
+
* resolves the credential by the response's credential id,
|
|
16569
|
+
* verifies the assertion against the stored challenge + that
|
|
16570
|
+
* credential's public key/counter, and returns the OWNING
|
|
16571
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16572
|
+
*
|
|
16143
16573
|
* 3. Management:
|
|
16144
16574
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
16145
16575
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
16146
16576
|
*
|
|
16577
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16578
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16579
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16580
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16581
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16582
|
+
* row ⇒ `enabled: false`).
|
|
16583
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16584
|
+
* the providing addon beside its credentials.
|
|
16585
|
+
*
|
|
16147
16586
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
16148
16587
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
16149
16588
|
* the cap to non-admins.
|
|
@@ -16186,6 +16625,17 @@ method(object({
|
|
|
16186
16625
|
}), object({ verified: boolean() }), {
|
|
16187
16626
|
kind: "mutation",
|
|
16188
16627
|
access: "view"
|
|
16628
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16629
|
+
kind: "mutation",
|
|
16630
|
+
access: "view"
|
|
16631
|
+
}), method(object({
|
|
16632
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16633
|
+
response: record(string(), unknown()) }), object({
|
|
16634
|
+
verified: boolean(),
|
|
16635
|
+
userId: string().nullable()
|
|
16636
|
+
}), {
|
|
16637
|
+
kind: "mutation",
|
|
16638
|
+
access: "view"
|
|
16189
16639
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16190
16640
|
userId: string(),
|
|
16191
16641
|
credentialId: string()
|
|
@@ -16193,6 +16643,13 @@ method(object({
|
|
|
16193
16643
|
kind: "mutation",
|
|
16194
16644
|
auth: "admin",
|
|
16195
16645
|
access: "delete"
|
|
16646
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16647
|
+
userId: string(),
|
|
16648
|
+
enabled: boolean()
|
|
16649
|
+
}), object({ success: literal(true) }), {
|
|
16650
|
+
kind: "mutation",
|
|
16651
|
+
auth: "admin",
|
|
16652
|
+
access: "create"
|
|
16196
16653
|
});
|
|
16197
16654
|
/**
|
|
16198
16655
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16250,9 +16707,10 @@ method(object({
|
|
|
16250
16707
|
auth: "admin"
|
|
16251
16708
|
});
|
|
16252
16709
|
/**
|
|
16253
|
-
* Optional client-side hints sent at session creation to help the
|
|
16254
|
-
*
|
|
16255
|
-
*
|
|
16710
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16711
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16712
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16713
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16256
16714
|
*/
|
|
16257
16715
|
var webrtcClientHintsSchema = object({
|
|
16258
16716
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -16263,22 +16721,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16263
16721
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16264
16722
|
prefersTier: string().optional()
|
|
16265
16723
|
}).partial();
|
|
16266
|
-
method(object({
|
|
16267
|
-
streamId: string(),
|
|
16268
|
-
sdpOffer: string()
|
|
16269
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16270
|
-
streamId: string(),
|
|
16271
|
-
codec: string()
|
|
16272
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16273
|
-
streamId: string(),
|
|
16274
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16275
|
-
}), object({
|
|
16276
|
-
sessionId: string(),
|
|
16277
|
-
sdpOffer: string()
|
|
16278
|
-
}), { kind: "mutation" }), method(object({
|
|
16279
|
-
sessionId: string(),
|
|
16280
|
-
sdpAnswer: string()
|
|
16281
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16282
16724
|
/**
|
|
16283
16725
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16284
16726
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -17009,7 +17451,17 @@ var FaceInfoSchema = object({
|
|
|
17009
17451
|
recognizedIdentityId: string().optional(),
|
|
17010
17452
|
identityName: string().optional(),
|
|
17011
17453
|
assigned: boolean(),
|
|
17012
|
-
base64: string().optional()
|
|
17454
|
+
base64: string().optional(),
|
|
17455
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17456
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17457
|
+
* legacy rows written before design B. */
|
|
17458
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17459
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17460
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17461
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17462
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17463
|
+
* back to the inline `base64` face crop. */
|
|
17464
|
+
keyFrameMediaKey: string().optional()
|
|
17013
17465
|
});
|
|
17014
17466
|
var FaceFilterEnum = _enum([
|
|
17015
17467
|
"unassigned",
|
|
@@ -17706,6 +18158,16 @@ var TopologyCategorySchema = object({
|
|
|
17706
18158
|
healthy: number(),
|
|
17707
18159
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17708
18160
|
});
|
|
18161
|
+
/**
|
|
18162
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18163
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18164
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18165
|
+
* rows and pre-phase-2 nodes report none.
|
|
18166
|
+
*/
|
|
18167
|
+
var TopologyRootPackageSchema = object({
|
|
18168
|
+
name: string(),
|
|
18169
|
+
version: string()
|
|
18170
|
+
});
|
|
17709
18171
|
var TopologyNodeSchema = object({
|
|
17710
18172
|
id: string(),
|
|
17711
18173
|
name: string(),
|
|
@@ -17729,7 +18191,8 @@ var TopologyNodeSchema = object({
|
|
|
17729
18191
|
status: string()
|
|
17730
18192
|
})).readonly(),
|
|
17731
18193
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17732
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18194
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18195
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17733
18196
|
});
|
|
17734
18197
|
var CapUsageEdgeSchema = object({
|
|
17735
18198
|
callerAddonId: string(),
|
|
@@ -20529,6 +20992,12 @@ Object.freeze({
|
|
|
20529
20992
|
addonId: null,
|
|
20530
20993
|
access: "create"
|
|
20531
20994
|
},
|
|
20995
|
+
"loginMethod.getLoginMethods": {
|
|
20996
|
+
capName: "login-method",
|
|
20997
|
+
capScope: "system",
|
|
20998
|
+
addonId: null,
|
|
20999
|
+
access: "view"
|
|
21000
|
+
},
|
|
20532
21001
|
"mediaPlayer.next": {
|
|
20533
21002
|
capName: "media-player",
|
|
20534
21003
|
capScope: "device",
|
|
@@ -21111,6 +21580,12 @@ Object.freeze({
|
|
|
21111
21580
|
addonId: null,
|
|
21112
21581
|
access: "view"
|
|
21113
21582
|
},
|
|
21583
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21584
|
+
capName: "pipeline-analytics",
|
|
21585
|
+
capScope: "device",
|
|
21586
|
+
addonId: null,
|
|
21587
|
+
access: "view"
|
|
21588
|
+
},
|
|
21114
21589
|
"pipelineAnalytics.getMotionEvents": {
|
|
21115
21590
|
capName: "pipeline-analytics",
|
|
21116
21591
|
capScope: "device",
|
|
@@ -21159,23 +21634,23 @@ Object.freeze({
|
|
|
21159
21634
|
addonId: null,
|
|
21160
21635
|
access: "create"
|
|
21161
21636
|
},
|
|
21162
|
-
"pipelineExecutor.
|
|
21637
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
21163
21638
|
capName: "pipeline-executor",
|
|
21164
21639
|
capScope: "system",
|
|
21165
21640
|
addonId: null,
|
|
21166
21641
|
access: "delete"
|
|
21167
21642
|
},
|
|
21168
|
-
"pipelineExecutor.
|
|
21643
|
+
"pipelineExecutor.deleteModel": {
|
|
21169
21644
|
capName: "pipeline-executor",
|
|
21170
21645
|
capScope: "system",
|
|
21171
21646
|
addonId: null,
|
|
21172
21647
|
access: "delete"
|
|
21173
21648
|
},
|
|
21174
|
-
"pipelineExecutor.
|
|
21649
|
+
"pipelineExecutor.deleteTemplate": {
|
|
21175
21650
|
capName: "pipeline-executor",
|
|
21176
21651
|
capScope: "system",
|
|
21177
21652
|
addonId: null,
|
|
21178
|
-
access: "
|
|
21653
|
+
access: "delete"
|
|
21179
21654
|
},
|
|
21180
21655
|
"pipelineExecutor.downloadModel": {
|
|
21181
21656
|
capName: "pipeline-executor",
|
|
@@ -21369,13 +21844,13 @@ Object.freeze({
|
|
|
21369
21844
|
addonId: null,
|
|
21370
21845
|
access: "create"
|
|
21371
21846
|
},
|
|
21372
|
-
"
|
|
21373
|
-
capName: "pipeline-
|
|
21847
|
+
"pipelineExecutor.validatePipeline": {
|
|
21848
|
+
capName: "pipeline-executor",
|
|
21374
21849
|
capScope: "system",
|
|
21375
21850
|
addonId: null,
|
|
21376
|
-
access: "
|
|
21851
|
+
access: "view"
|
|
21377
21852
|
},
|
|
21378
|
-
"pipelineOrchestrator.
|
|
21853
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21379
21854
|
capName: "pipeline-orchestrator",
|
|
21380
21855
|
capScope: "system",
|
|
21381
21856
|
addonId: null,
|
|
@@ -21459,19 +21934,13 @@ Object.freeze({
|
|
|
21459
21934
|
addonId: null,
|
|
21460
21935
|
access: "view"
|
|
21461
21936
|
},
|
|
21462
|
-
"pipelineOrchestrator.
|
|
21937
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21463
21938
|
capName: "pipeline-orchestrator",
|
|
21464
21939
|
capScope: "system",
|
|
21465
21940
|
addonId: null,
|
|
21466
21941
|
access: "view"
|
|
21467
21942
|
},
|
|
21468
|
-
"pipelineOrchestrator.
|
|
21469
|
-
capName: "pipeline-orchestrator",
|
|
21470
|
-
capScope: "system",
|
|
21471
|
-
addonId: null,
|
|
21472
|
-
access: "view"
|
|
21473
|
-
},
|
|
21474
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21943
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21475
21944
|
capName: "pipeline-orchestrator",
|
|
21476
21945
|
capScope: "system",
|
|
21477
21946
|
addonId: null,
|
|
@@ -21513,6 +21982,12 @@ Object.freeze({
|
|
|
21513
21982
|
addonId: null,
|
|
21514
21983
|
access: "delete"
|
|
21515
21984
|
},
|
|
21985
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
21986
|
+
capName: "pipeline-orchestrator",
|
|
21987
|
+
capScope: "system",
|
|
21988
|
+
addonId: null,
|
|
21989
|
+
access: "delete"
|
|
21990
|
+
},
|
|
21516
21991
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21517
21992
|
capName: "pipeline-orchestrator",
|
|
21518
21993
|
capScope: "system",
|
|
@@ -21549,37 +22024,37 @@ Object.freeze({
|
|
|
21549
22024
|
addonId: null,
|
|
21550
22025
|
access: "create"
|
|
21551
22026
|
},
|
|
21552
|
-
"pipelineOrchestrator.
|
|
22027
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21553
22028
|
capName: "pipeline-orchestrator",
|
|
21554
22029
|
capScope: "system",
|
|
21555
22030
|
addonId: null,
|
|
21556
22031
|
access: "create"
|
|
21557
22032
|
},
|
|
21558
|
-
"pipelineOrchestrator.
|
|
22033
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21559
22034
|
capName: "pipeline-orchestrator",
|
|
21560
22035
|
capScope: "system",
|
|
21561
22036
|
addonId: null,
|
|
21562
22037
|
access: "create"
|
|
21563
22038
|
},
|
|
21564
|
-
"pipelineOrchestrator.
|
|
22039
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21565
22040
|
capName: "pipeline-orchestrator",
|
|
21566
22041
|
capScope: "system",
|
|
21567
22042
|
addonId: null,
|
|
21568
22043
|
access: "create"
|
|
21569
22044
|
},
|
|
21570
|
-
"pipelineOrchestrator.
|
|
22045
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21571
22046
|
capName: "pipeline-orchestrator",
|
|
21572
22047
|
capScope: "system",
|
|
21573
22048
|
addonId: null,
|
|
21574
22049
|
access: "create"
|
|
21575
22050
|
},
|
|
21576
|
-
"pipelineOrchestrator.
|
|
22051
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21577
22052
|
capName: "pipeline-orchestrator",
|
|
21578
22053
|
capScope: "system",
|
|
21579
22054
|
addonId: null,
|
|
21580
22055
|
access: "create"
|
|
21581
22056
|
},
|
|
21582
|
-
"pipelineOrchestrator.
|
|
22057
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21583
22058
|
capName: "pipeline-orchestrator",
|
|
21584
22059
|
capScope: "system",
|
|
21585
22060
|
addonId: null,
|
|
@@ -21639,12 +22114,24 @@ Object.freeze({
|
|
|
21639
22114
|
addonId: null,
|
|
21640
22115
|
access: "view"
|
|
21641
22116
|
},
|
|
22117
|
+
"pipelineRunner.getNativeCrop": {
|
|
22118
|
+
capName: "pipeline-runner",
|
|
22119
|
+
capScope: "system",
|
|
22120
|
+
addonId: null,
|
|
22121
|
+
access: "view"
|
|
22122
|
+
},
|
|
21642
22123
|
"pipelineRunner.reportMotion": {
|
|
21643
22124
|
capName: "pipeline-runner",
|
|
21644
22125
|
capScope: "system",
|
|
21645
22126
|
addonId: null,
|
|
21646
22127
|
access: "create"
|
|
21647
22128
|
},
|
|
22129
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22130
|
+
capName: "pipeline-runner",
|
|
22131
|
+
capScope: "system",
|
|
22132
|
+
addonId: null,
|
|
22133
|
+
access: "create"
|
|
22134
|
+
},
|
|
21648
22135
|
"plateGallery.correctPlateText": {
|
|
21649
22136
|
capName: "plate-gallery",
|
|
21650
22137
|
capScope: "system",
|
|
@@ -21879,33 +22366,45 @@ Object.freeze({
|
|
|
21879
22366
|
addonId: null,
|
|
21880
22367
|
access: "create"
|
|
21881
22368
|
},
|
|
21882
|
-
"
|
|
21883
|
-
capName: "
|
|
22369
|
+
"scriptRunner.run": {
|
|
22370
|
+
capName: "script-runner",
|
|
22371
|
+
capScope: "device",
|
|
22372
|
+
addonId: null,
|
|
22373
|
+
access: "create"
|
|
22374
|
+
},
|
|
22375
|
+
"scriptRunner.stop": {
|
|
22376
|
+
capName: "script-runner",
|
|
22377
|
+
capScope: "device",
|
|
22378
|
+
addonId: null,
|
|
22379
|
+
access: "create"
|
|
22380
|
+
},
|
|
22381
|
+
"serverManagement.applyServerUpdate": {
|
|
22382
|
+
capName: "server-management",
|
|
21884
22383
|
capScope: "system",
|
|
21885
22384
|
addonId: null,
|
|
21886
|
-
access: "
|
|
22385
|
+
access: "create"
|
|
21887
22386
|
},
|
|
21888
|
-
"
|
|
21889
|
-
capName: "
|
|
22387
|
+
"serverManagement.checkServerUpdate": {
|
|
22388
|
+
capName: "server-management",
|
|
21890
22389
|
capScope: "system",
|
|
21891
22390
|
addonId: null,
|
|
21892
22391
|
access: "create"
|
|
21893
22392
|
},
|
|
21894
|
-
"
|
|
21895
|
-
capName: "
|
|
22393
|
+
"serverManagement.getServerPackageStatus": {
|
|
22394
|
+
capName: "server-management",
|
|
21896
22395
|
capScope: "system",
|
|
21897
22396
|
addonId: null,
|
|
21898
|
-
access: "
|
|
22397
|
+
access: "view"
|
|
21899
22398
|
},
|
|
21900
|
-
"
|
|
21901
|
-
capName: "
|
|
21902
|
-
capScope: "
|
|
22399
|
+
"serverManagement.restartServer": {
|
|
22400
|
+
capName: "server-management",
|
|
22401
|
+
capScope: "system",
|
|
21903
22402
|
addonId: null,
|
|
21904
22403
|
access: "create"
|
|
21905
22404
|
},
|
|
21906
|
-
"
|
|
21907
|
-
capName: "
|
|
21908
|
-
capScope: "
|
|
22405
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22406
|
+
capName: "server-management",
|
|
22407
|
+
capScope: "system",
|
|
21909
22408
|
addonId: null,
|
|
21910
22409
|
access: "create"
|
|
21911
22410
|
},
|
|
@@ -21993,23 +22492,17 @@ Object.freeze({
|
|
|
21993
22492
|
addonId: null,
|
|
21994
22493
|
access: "view"
|
|
21995
22494
|
},
|
|
21996
|
-
"snapshot.
|
|
22495
|
+
"snapshot.getSnapshotOverview": {
|
|
21997
22496
|
capName: "snapshot",
|
|
21998
22497
|
capScope: "device",
|
|
21999
22498
|
addonId: null,
|
|
22000
|
-
access: "create"
|
|
22001
|
-
},
|
|
22002
|
-
"snapshotProvider.getSnapshot": {
|
|
22003
|
-
capName: "snapshot-provider",
|
|
22004
|
-
capScope: "system",
|
|
22005
|
-
addonId: null,
|
|
22006
22499
|
access: "view"
|
|
22007
22500
|
},
|
|
22008
|
-
"
|
|
22009
|
-
capName: "snapshot
|
|
22010
|
-
capScope: "
|
|
22501
|
+
"snapshot.invalidateCache": {
|
|
22502
|
+
capName: "snapshot",
|
|
22503
|
+
capScope: "device",
|
|
22011
22504
|
addonId: null,
|
|
22012
|
-
access: "
|
|
22505
|
+
access: "create"
|
|
22013
22506
|
},
|
|
22014
22507
|
"ssoBridge.signBridgeToken": {
|
|
22015
22508
|
capName: "sso-bridge",
|
|
@@ -22437,30 +22930,6 @@ Object.freeze({
|
|
|
22437
22930
|
addonId: null,
|
|
22438
22931
|
access: "view"
|
|
22439
22932
|
},
|
|
22440
|
-
"streamingEngine.getStreamUrl": {
|
|
22441
|
-
capName: "streaming-engine",
|
|
22442
|
-
capScope: "system",
|
|
22443
|
-
addonId: null,
|
|
22444
|
-
access: "view"
|
|
22445
|
-
},
|
|
22446
|
-
"streamingEngine.listStreams": {
|
|
22447
|
-
capName: "streaming-engine",
|
|
22448
|
-
capScope: "system",
|
|
22449
|
-
addonId: null,
|
|
22450
|
-
access: "view"
|
|
22451
|
-
},
|
|
22452
|
-
"streamingEngine.registerStream": {
|
|
22453
|
-
capName: "streaming-engine",
|
|
22454
|
-
capScope: "system",
|
|
22455
|
-
addonId: null,
|
|
22456
|
-
access: "create"
|
|
22457
|
-
},
|
|
22458
|
-
"streamingEngine.unregisterStream": {
|
|
22459
|
-
capName: "streaming-engine",
|
|
22460
|
-
capScope: "system",
|
|
22461
|
-
addonId: null,
|
|
22462
|
-
access: "delete"
|
|
22463
|
-
},
|
|
22464
22933
|
"streamParams.getConfigSchema": {
|
|
22465
22934
|
capName: "stream-params",
|
|
22466
22935
|
capScope: "device",
|
|
@@ -22707,6 +23176,12 @@ Object.freeze({
|
|
|
22707
23176
|
addonId: null,
|
|
22708
23177
|
access: "view"
|
|
22709
23178
|
},
|
|
23179
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
23180
|
+
capName: "user-passkeys",
|
|
23181
|
+
capScope: "system",
|
|
23182
|
+
addonId: null,
|
|
23183
|
+
access: "view"
|
|
23184
|
+
},
|
|
22710
23185
|
"userPasskeys.beginRegistration": {
|
|
22711
23186
|
capName: "user-passkeys",
|
|
22712
23187
|
capScope: "system",
|
|
@@ -22719,12 +23194,24 @@ Object.freeze({
|
|
|
22719
23194
|
addonId: null,
|
|
22720
23195
|
access: "view"
|
|
22721
23196
|
},
|
|
23197
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23198
|
+
capName: "user-passkeys",
|
|
23199
|
+
capScope: "system",
|
|
23200
|
+
addonId: null,
|
|
23201
|
+
access: "view"
|
|
23202
|
+
},
|
|
22722
23203
|
"userPasskeys.finishRegistration": {
|
|
22723
23204
|
capName: "user-passkeys",
|
|
22724
23205
|
capScope: "system",
|
|
22725
23206
|
addonId: null,
|
|
22726
23207
|
access: "create"
|
|
22727
23208
|
},
|
|
23209
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23210
|
+
capName: "user-passkeys",
|
|
23211
|
+
capScope: "system",
|
|
23212
|
+
addonId: null,
|
|
23213
|
+
access: "view"
|
|
23214
|
+
},
|
|
22728
23215
|
"userPasskeys.listPasskeys": {
|
|
22729
23216
|
capName: "user-passkeys",
|
|
22730
23217
|
capScope: "system",
|
|
@@ -22737,6 +23224,12 @@ Object.freeze({
|
|
|
22737
23224
|
addonId: null,
|
|
22738
23225
|
access: "delete"
|
|
22739
23226
|
},
|
|
23227
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23228
|
+
capName: "user-passkeys",
|
|
23229
|
+
capScope: "system",
|
|
23230
|
+
addonId: null,
|
|
23231
|
+
access: "create"
|
|
23232
|
+
},
|
|
22740
23233
|
"vacuumControl.locate": {
|
|
22741
23234
|
capName: "vacuum-control",
|
|
22742
23235
|
capScope: "device",
|
|
@@ -22809,6 +23302,18 @@ Object.freeze({
|
|
|
22809
23302
|
addonId: null,
|
|
22810
23303
|
access: "view"
|
|
22811
23304
|
},
|
|
23305
|
+
"viewerUi.getStaticDir": {
|
|
23306
|
+
capName: "viewer-ui",
|
|
23307
|
+
capScope: "system",
|
|
23308
|
+
addonId: null,
|
|
23309
|
+
access: "view"
|
|
23310
|
+
},
|
|
23311
|
+
"viewerUi.getVersion": {
|
|
23312
|
+
capName: "viewer-ui",
|
|
23313
|
+
capScope: "system",
|
|
23314
|
+
addonId: null,
|
|
23315
|
+
access: "view"
|
|
23316
|
+
},
|
|
22812
23317
|
"waterHeater.setAway": {
|
|
22813
23318
|
capName: "water-heater",
|
|
22814
23319
|
capScope: "device",
|
|
@@ -22827,54 +23332,6 @@ Object.freeze({
|
|
|
22827
23332
|
addonId: null,
|
|
22828
23333
|
access: "create"
|
|
22829
23334
|
},
|
|
22830
|
-
"webrtc.closeSession": {
|
|
22831
|
-
capName: "webrtc",
|
|
22832
|
-
capScope: "system",
|
|
22833
|
-
addonId: null,
|
|
22834
|
-
access: "create"
|
|
22835
|
-
},
|
|
22836
|
-
"webrtc.createSession": {
|
|
22837
|
-
capName: "webrtc",
|
|
22838
|
-
capScope: "system",
|
|
22839
|
-
addonId: null,
|
|
22840
|
-
access: "create"
|
|
22841
|
-
},
|
|
22842
|
-
"webrtc.handleAnswer": {
|
|
22843
|
-
capName: "webrtc",
|
|
22844
|
-
capScope: "system",
|
|
22845
|
-
addonId: null,
|
|
22846
|
-
access: "create"
|
|
22847
|
-
},
|
|
22848
|
-
"webrtc.handleOffer": {
|
|
22849
|
-
capName: "webrtc",
|
|
22850
|
-
capScope: "system",
|
|
22851
|
-
addonId: null,
|
|
22852
|
-
access: "create"
|
|
22853
|
-
},
|
|
22854
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22855
|
-
capName: "webrtc",
|
|
22856
|
-
capScope: "system",
|
|
22857
|
-
addonId: null,
|
|
22858
|
-
access: "view"
|
|
22859
|
-
},
|
|
22860
|
-
"webrtc.registerStream": {
|
|
22861
|
-
capName: "webrtc",
|
|
22862
|
-
capScope: "system",
|
|
22863
|
-
addonId: null,
|
|
22864
|
-
access: "create"
|
|
22865
|
-
},
|
|
22866
|
-
"webrtc.supportsStream": {
|
|
22867
|
-
capName: "webrtc",
|
|
22868
|
-
capScope: "system",
|
|
22869
|
-
addonId: null,
|
|
22870
|
-
access: "view"
|
|
22871
|
-
},
|
|
22872
|
-
"webrtc.unregisterStream": {
|
|
22873
|
-
capName: "webrtc",
|
|
22874
|
-
capScope: "system",
|
|
22875
|
-
addonId: null,
|
|
22876
|
-
access: "delete"
|
|
22877
|
-
},
|
|
22878
23335
|
"webrtcSession.addIceCandidate": {
|
|
22879
23336
|
capName: "webrtc-session",
|
|
22880
23337
|
capScope: "device",
|