@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.js
CHANGED
|
@@ -4631,7 +4631,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4631
4631
|
return inst;
|
|
4632
4632
|
}
|
|
4633
4633
|
//#endregion
|
|
4634
|
-
//#region ../types/dist/sleep-
|
|
4634
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4635
4635
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4636
4636
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4637
4637
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4817,6 +4817,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4817
4817
|
*/
|
|
4818
4818
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4819
4819
|
/**
|
|
4820
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4821
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4822
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4823
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4824
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4825
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4826
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4827
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4828
|
+
* broker's long backstop reconcile query).
|
|
4829
|
+
*/
|
|
4830
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4831
|
+
/**
|
|
4820
4832
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4821
4833
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4822
4834
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5340,10 +5352,6 @@ function hydrateField(field, values) {
|
|
|
5340
5352
|
};
|
|
5341
5353
|
}
|
|
5342
5354
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5343
|
-
if (field.type === "password") return {
|
|
5344
|
-
...field,
|
|
5345
|
-
value: ""
|
|
5346
|
-
};
|
|
5347
5355
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5348
5356
|
return {
|
|
5349
5357
|
...field,
|
|
@@ -6727,6 +6735,21 @@ function method(input, output, options) {
|
|
|
6727
6735
|
timeoutMs: options?.timeoutMs
|
|
6728
6736
|
};
|
|
6729
6737
|
}
|
|
6738
|
+
/**
|
|
6739
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6740
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6741
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6742
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6743
|
+
*/
|
|
6744
|
+
function systemMethod(input, output, options) {
|
|
6745
|
+
return {
|
|
6746
|
+
...method(input, output, options),
|
|
6747
|
+
systemOnly: true
|
|
6748
|
+
};
|
|
6749
|
+
}
|
|
6750
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6751
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6752
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6730
6753
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6731
6754
|
var VersionOutputSchema = object({ version: string() });
|
|
6732
6755
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6896,6 +6919,36 @@ var ModelFormatsSchema = object({
|
|
|
6896
6919
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6897
6920
|
pt: ModelFormatEntrySchema.optional()
|
|
6898
6921
|
});
|
|
6922
|
+
/**
|
|
6923
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6924
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6925
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6926
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6927
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6928
|
+
* to an `id`.
|
|
6929
|
+
*/
|
|
6930
|
+
var ModelVariantGroupSchema = object({
|
|
6931
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6932
|
+
family: string(),
|
|
6933
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6934
|
+
tier: string(),
|
|
6935
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6936
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6937
|
+
/**
|
|
6938
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6939
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6940
|
+
* future performance variants plug into.
|
|
6941
|
+
*/
|
|
6942
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6943
|
+
/**
|
|
6944
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6945
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6946
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6947
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6948
|
+
* the group so the selector can offer it as a variant axis.
|
|
6949
|
+
*/
|
|
6950
|
+
resolution: number().int().positive().optional()
|
|
6951
|
+
});
|
|
6899
6952
|
var ModelCatalogEntrySchema = object({
|
|
6900
6953
|
id: string(),
|
|
6901
6954
|
name: string(),
|
|
@@ -6925,7 +6978,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6925
6978
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6926
6979
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6927
6980
|
*/
|
|
6928
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
6981
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
6982
|
+
/**
|
|
6983
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
6984
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
6985
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
6986
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
6987
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
6988
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
6989
|
+
* an explicit legacy id that has a build for the node's format.
|
|
6990
|
+
*/
|
|
6991
|
+
legacy: boolean().optional(),
|
|
6992
|
+
/**
|
|
6993
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
6994
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
6995
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
6996
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
6997
|
+
*/
|
|
6998
|
+
metrics: object({
|
|
6999
|
+
map50: number().optional(),
|
|
7000
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7001
|
+
}).optional(),
|
|
7002
|
+
/**
|
|
7003
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7004
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7005
|
+
* the retraining addon and any future commercial distribution.
|
|
7006
|
+
*/
|
|
7007
|
+
license: string().optional(),
|
|
7008
|
+
/**
|
|
7009
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7010
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7011
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7012
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7013
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7014
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7015
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7016
|
+
*/
|
|
7017
|
+
group: ModelVariantGroupSchema.optional()
|
|
6929
7018
|
});
|
|
6930
7019
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6931
7020
|
format: literal("openvino"),
|
|
@@ -6986,8 +7075,8 @@ var RecordingModeSchema = _enum([
|
|
|
6986
7075
|
"onAudioThreshold"
|
|
6987
7076
|
]);
|
|
6988
7077
|
/**
|
|
6989
|
-
* First-class, authoritative per-camera storage mode — the
|
|
6990
|
-
* reads directly (never inferred from `rules`):
|
|
7078
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7079
|
+
* UI reads directly (never inferred from `rules`):
|
|
6991
7080
|
* - `off` — not recording.
|
|
6992
7081
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
6993
7082
|
* with pre/post-buffer.
|
|
@@ -8828,26 +8917,13 @@ DeviceType.Light, method(object({
|
|
|
8828
8917
|
percentage: number().min(0).max(100),
|
|
8829
8918
|
lastChangedAt: number()
|
|
8830
8919
|
});
|
|
8920
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8831
8921
|
var StreamFormatSchema = _enum([
|
|
8832
8922
|
"webrtc",
|
|
8833
8923
|
"hls",
|
|
8834
8924
|
"mjpeg",
|
|
8835
8925
|
"rtsp"
|
|
8836
8926
|
]);
|
|
8837
|
-
var StreamInfoSchema = object({
|
|
8838
|
-
streamId: string(),
|
|
8839
|
-
format: StreamFormatSchema,
|
|
8840
|
-
url: string().nullable(),
|
|
8841
|
-
active: boolean()
|
|
8842
|
-
});
|
|
8843
|
-
method(object({
|
|
8844
|
-
streamId: string(),
|
|
8845
|
-
sourceUrl: string(),
|
|
8846
|
-
codec: string().optional()
|
|
8847
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8848
|
-
streamId: string(),
|
|
8849
|
-
format: StreamFormatSchema
|
|
8850
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8851
8927
|
var RtspRestreamEntrySchema = object({
|
|
8852
8928
|
brokerId: string(),
|
|
8853
8929
|
url: string(),
|
|
@@ -9512,7 +9588,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9512
9588
|
})),
|
|
9513
9589
|
lastChangedAt: number()
|
|
9514
9590
|
});
|
|
9515
|
-
|
|
9591
|
+
Object.values(DeviceType), method(object({
|
|
9516
9592
|
deviceId: number().int().nonnegative(),
|
|
9517
9593
|
key: string().min(1)
|
|
9518
9594
|
}), _void(), {
|
|
@@ -10427,7 +10503,7 @@ var BoundingBoxSchema = object({
|
|
|
10427
10503
|
w: number(),
|
|
10428
10504
|
h: number()
|
|
10429
10505
|
});
|
|
10430
|
-
|
|
10506
|
+
object({
|
|
10431
10507
|
class: string(),
|
|
10432
10508
|
originalClass: string(),
|
|
10433
10509
|
score: number(),
|
|
@@ -10562,7 +10638,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10562
10638
|
enabled: boolean(),
|
|
10563
10639
|
modelId: string(),
|
|
10564
10640
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10565
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10566
10641
|
group: string().optional(),
|
|
10567
10642
|
settings: record(string(), unknown()).optional()
|
|
10568
10643
|
}));
|
|
@@ -10587,7 +10662,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10587
10662
|
formats: record(string(), object({
|
|
10588
10663
|
downloaded: boolean(),
|
|
10589
10664
|
sizeMB: number()
|
|
10590
|
-
}))
|
|
10665
|
+
})),
|
|
10666
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10667
|
+
legacy: boolean().optional()
|
|
10591
10668
|
});
|
|
10592
10669
|
var ConfigFieldBridge = custom();
|
|
10593
10670
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10601,6 +10678,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10601
10678
|
defaultModelId: string(),
|
|
10602
10679
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10603
10680
|
enabledByDefault: boolean().optional(),
|
|
10681
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10604
10682
|
defaultConfidence: number(),
|
|
10605
10683
|
group: string().optional(),
|
|
10606
10684
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10617,11 +10695,6 @@ var PipelineSchemaSchema = object({
|
|
|
10617
10695
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10618
10696
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10619
10697
|
});
|
|
10620
|
-
var DetectorOutputSchema = object({
|
|
10621
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10622
|
-
inferenceMs: number(),
|
|
10623
|
-
modelId: string()
|
|
10624
|
-
});
|
|
10625
10698
|
var EngineProvisioningSchema = object({
|
|
10626
10699
|
runtimeId: _enum([
|
|
10627
10700
|
"onnx",
|
|
@@ -10638,15 +10711,42 @@ var EngineProvisioningSchema = object({
|
|
|
10638
10711
|
]),
|
|
10639
10712
|
progress: number().optional(),
|
|
10640
10713
|
error: string().optional(),
|
|
10641
|
-
nextRetryAt: number().optional()
|
|
10714
|
+
nextRetryAt: number().optional(),
|
|
10715
|
+
/**
|
|
10716
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10717
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10718
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10719
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10720
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10721
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10722
|
+
*/
|
|
10723
|
+
configIssues: array(string()).optional()
|
|
10642
10724
|
});
|
|
10643
10725
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10644
10726
|
addonId: string(),
|
|
10645
|
-
modelId: string(),
|
|
10727
|
+
modelId: string().optional(),
|
|
10646
10728
|
enabled: boolean().default(true),
|
|
10647
10729
|
children: array(PipelineStepInputSchema).optional(),
|
|
10648
10730
|
settings: record(string(), unknown()).optional()
|
|
10649
10731
|
}));
|
|
10732
|
+
var ModelSubstitutionSchema = object({
|
|
10733
|
+
addonId: string(),
|
|
10734
|
+
chosen: string(),
|
|
10735
|
+
running: string(),
|
|
10736
|
+
format: string()
|
|
10737
|
+
});
|
|
10738
|
+
var PipelineValidationIssueSchema = object({
|
|
10739
|
+
addonId: string(),
|
|
10740
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10741
|
+
detail: string()
|
|
10742
|
+
});
|
|
10743
|
+
var PipelineValidationResultSchema = object({
|
|
10744
|
+
ok: boolean(),
|
|
10745
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10746
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10747
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10748
|
+
format: string()
|
|
10749
|
+
});
|
|
10650
10750
|
var ReferenceImageEntrySchema = object({
|
|
10651
10751
|
filename: string(),
|
|
10652
10752
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10717,7 +10817,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10717
10817
|
})) }), object({ success: literal(true) }), {
|
|
10718
10818
|
kind: "mutation",
|
|
10719
10819
|
auth: "admin"
|
|
10720
|
-
}), method(
|
|
10820
|
+
}), method(object({ nodeId: string() }), object({
|
|
10821
|
+
success: literal(true),
|
|
10822
|
+
clearedDevices: number()
|
|
10823
|
+
}), {
|
|
10824
|
+
kind: "mutation",
|
|
10825
|
+
auth: "admin"
|
|
10826
|
+
}), 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({
|
|
10721
10827
|
name: string(),
|
|
10722
10828
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10723
10829
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10734,10 +10840,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10734
10840
|
modelId: string(),
|
|
10735
10841
|
format: ModelFormatSchema$1
|
|
10736
10842
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10737
|
-
addonId: string(),
|
|
10738
|
-
frame: FrameInputSchema,
|
|
10739
|
-
config: record(string(), unknown()).optional()
|
|
10740
|
-
}), DetectorOutputSchema), method(object({
|
|
10741
10843
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10742
10844
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10743
10845
|
frame: FrameInputSchema.optional(),
|
|
@@ -10758,7 +10860,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10758
10860
|
image: _instanceof(Uint8Array).optional(),
|
|
10759
10861
|
referenceImage: string().optional(),
|
|
10760
10862
|
deviceId: number().optional(),
|
|
10761
|
-
sessionId: string().optional()
|
|
10863
|
+
sessionId: string().optional(),
|
|
10864
|
+
/**
|
|
10865
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10866
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10867
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10868
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10869
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10870
|
+
*/
|
|
10871
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10762
10872
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10763
10873
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10764
10874
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10883,6 +10993,47 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(ZoneSchema).read
|
|
|
10883
10993
|
auth: "admin"
|
|
10884
10994
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10885
10995
|
/**
|
|
10996
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
10997
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
10998
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
10999
|
+
* dims — no native resolution to plumb.
|
|
11000
|
+
*/
|
|
11001
|
+
var NativeCropBboxSchema = object({
|
|
11002
|
+
x: number(),
|
|
11003
|
+
y: number(),
|
|
11004
|
+
w: number(),
|
|
11005
|
+
h: number()
|
|
11006
|
+
});
|
|
11007
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
11008
|
+
var NativeCropResultSchema = object({
|
|
11009
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
11010
|
+
bytes: _instanceof(Uint8Array),
|
|
11011
|
+
width: number().int().positive(),
|
|
11012
|
+
height: number().int().positive()
|
|
11013
|
+
});
|
|
11014
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11015
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11016
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11017
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11018
|
+
* normalized [0,1] convention). */
|
|
11019
|
+
var DetailParentSchema = object({
|
|
11020
|
+
bbox: NativeCropBboxSchema,
|
|
11021
|
+
className: string()
|
|
11022
|
+
});
|
|
11023
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11024
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11025
|
+
* single tracked detection. */
|
|
11026
|
+
var DetailResultSchema = object({
|
|
11027
|
+
stepId: string(),
|
|
11028
|
+
className: string(),
|
|
11029
|
+
score: number(),
|
|
11030
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11031
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11032
|
+
embedding: string().optional(),
|
|
11033
|
+
label: string().optional(),
|
|
11034
|
+
alignedCropJpeg: string().optional()
|
|
11035
|
+
});
|
|
11036
|
+
/**
|
|
10886
11037
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10887
11038
|
* by both the Zod data schema (validation + default fallback) and
|
|
10888
11039
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -10977,6 +11128,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10977
11128
|
kind: literal("remote-restream"),
|
|
10978
11129
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
10979
11130
|
ownerNodeId: string(),
|
|
11131
|
+
/**
|
|
11132
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
11133
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
11134
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
11135
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
11136
|
+
*/
|
|
11137
|
+
ownerReachableHost: string().optional(),
|
|
10980
11138
|
/** Operator override for the owner host the runner dials. */
|
|
10981
11139
|
hubHostnameOverride: string().optional()
|
|
10982
11140
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -10985,13 +11143,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10985
11143
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
10986
11144
|
* runner needs to subscribe to the local broker and execute inference.
|
|
10987
11145
|
*
|
|
10988
|
-
* Stateless-pipeline model: the
|
|
10989
|
-
*
|
|
10990
|
-
*
|
|
10991
|
-
*
|
|
10992
|
-
*
|
|
10993
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
10994
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
11146
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
11147
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
11148
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
11149
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
11150
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
10995
11151
|
*/
|
|
10996
11152
|
var RunnerCameraConfigSchema = object({
|
|
10997
11153
|
deviceId: number(),
|
|
@@ -11042,14 +11198,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
11042
11198
|
*/
|
|
11043
11199
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
11044
11200
|
pipelineEnabled: boolean().default(true),
|
|
11045
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
11046
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11047
11201
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
11048
11202
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
11049
11203
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
11050
11204
|
audio: object({
|
|
11051
|
-
|
|
11052
|
-
modelId: string(),
|
|
11205
|
+
modelId: string().optional(),
|
|
11053
11206
|
enabled: boolean()
|
|
11054
11207
|
}).nullable().optional(),
|
|
11055
11208
|
/**
|
|
@@ -11136,7 +11289,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
11136
11289
|
avgInferenceTimeMs: number(),
|
|
11137
11290
|
queueDepth: number()
|
|
11138
11291
|
});
|
|
11139
|
-
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())
|
|
11292
|
+
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({
|
|
11293
|
+
handle: FrameHandleSchema,
|
|
11294
|
+
bbox: NativeCropBboxSchema,
|
|
11295
|
+
maxWidth: number().int().positive().optional()
|
|
11296
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11297
|
+
deviceId: number(),
|
|
11298
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11299
|
+
cropJpeg: string().optional(),
|
|
11300
|
+
parent: DetailParentSchema,
|
|
11301
|
+
steps: array(string()).optional()
|
|
11302
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11140
11303
|
object({
|
|
11141
11304
|
detected: boolean(),
|
|
11142
11305
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12430,7 +12593,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12430
12593
|
icon: string(),
|
|
12431
12594
|
path: string(),
|
|
12432
12595
|
remoteName: string(),
|
|
12433
|
-
bundle: string()
|
|
12596
|
+
bundle: string(),
|
|
12597
|
+
section: string().optional(),
|
|
12598
|
+
sectionLabel: string().optional()
|
|
12434
12599
|
});
|
|
12435
12600
|
var AddonPageInfoSchema = object({
|
|
12436
12601
|
addonId: string(),
|
|
@@ -12470,7 +12635,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12470
12635
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12471
12636
|
* without a separate filesystem stat.
|
|
12472
12637
|
*/
|
|
12473
|
-
bundle: string()
|
|
12638
|
+
bundle: string(),
|
|
12639
|
+
/**
|
|
12640
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12641
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12642
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12643
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12644
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12645
|
+
* "Addon Pages" group.
|
|
12646
|
+
*/
|
|
12647
|
+
section: string().optional(),
|
|
12648
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12649
|
+
sectionLabel: string().optional()
|
|
12474
12650
|
});
|
|
12475
12651
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12476
12652
|
var AddonHttpRouteSchema = object({
|
|
@@ -12686,6 +12862,17 @@ var WidgetMetadataSchema = object({
|
|
|
12686
12862
|
deviceContext: boolean().default(false),
|
|
12687
12863
|
integrationContext: boolean().default(false)
|
|
12688
12864
|
}),
|
|
12865
|
+
/**
|
|
12866
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12867
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12868
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12869
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12870
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12871
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12872
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12873
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12874
|
+
*/
|
|
12875
|
+
preAuth: boolean().optional().default(false),
|
|
12689
12876
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12690
12877
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12691
12878
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -12987,6 +13174,66 @@ method(object({
|
|
|
12987
13174
|
password: string()
|
|
12988
13175
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
12989
13176
|
/**
|
|
13177
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13178
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13179
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13180
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13181
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13182
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13183
|
+
*
|
|
13184
|
+
* A contribution is a discriminated union on `kind`:
|
|
13185
|
+
*
|
|
13186
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13187
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13188
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13189
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13190
|
+
* login page needs NO change.
|
|
13191
|
+
*
|
|
13192
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13193
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13194
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13195
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13196
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13197
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13198
|
+
*
|
|
13199
|
+
* Every contribution carries a `stage`:
|
|
13200
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13201
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13202
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13203
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13204
|
+
*
|
|
13205
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13206
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13207
|
+
* tRPC router.
|
|
13208
|
+
*/
|
|
13209
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13210
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13211
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13212
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13213
|
+
kind: literal("redirect"),
|
|
13214
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13215
|
+
id: string(),
|
|
13216
|
+
/** Operator-facing button label. */
|
|
13217
|
+
label: string(),
|
|
13218
|
+
/** lucide-react icon name. */
|
|
13219
|
+
icon: string().optional(),
|
|
13220
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13221
|
+
startUrl: string(),
|
|
13222
|
+
stage: LoginStageEnum
|
|
13223
|
+
}), object({
|
|
13224
|
+
kind: literal("widget"),
|
|
13225
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13226
|
+
id: string(),
|
|
13227
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13228
|
+
addonId: string(),
|
|
13229
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13230
|
+
bundle: string(),
|
|
13231
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13232
|
+
remote: WidgetRemoteSchema,
|
|
13233
|
+
stage: LoginStageEnum
|
|
13234
|
+
})]);
|
|
13235
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13236
|
+
/**
|
|
12990
13237
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
12991
13238
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
12992
13239
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -15104,7 +15351,17 @@ var TrackSchema = object({
|
|
|
15104
15351
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
15105
15352
|
totalDistance: number(),
|
|
15106
15353
|
state: TrackStateSchema,
|
|
15107
|
-
active: boolean()
|
|
15354
|
+
active: boolean(),
|
|
15355
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15356
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15357
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15358
|
+
importance: number().optional(),
|
|
15359
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15360
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15361
|
+
bestEventId: string().optional(),
|
|
15362
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15363
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15364
|
+
importanceReason: string().optional()
|
|
15108
15365
|
});
|
|
15109
15366
|
var BaseEventFields = {
|
|
15110
15367
|
id: string(),
|
|
@@ -15169,8 +15426,18 @@ var ObjectEventSchema = object({
|
|
|
15169
15426
|
frameHeight: number().optional(),
|
|
15170
15427
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
15171
15428
|
mediaKey: string().optional(),
|
|
15429
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15430
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15431
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15432
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15433
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15434
|
+
keyFrameMediaKey: string().optional(),
|
|
15172
15435
|
/** Populated by B5 (recording playback URL for this event). */
|
|
15173
|
-
mediaUrl: string().optional()
|
|
15436
|
+
mediaUrl: string().optional(),
|
|
15437
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15438
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15439
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15440
|
+
importance: number().optional()
|
|
15174
15441
|
});
|
|
15175
15442
|
var AudioEventSchema = object({
|
|
15176
15443
|
...BaseEventFields,
|
|
@@ -15194,7 +15461,8 @@ var MediaFileKindEnum = _enum([
|
|
|
15194
15461
|
"fullFrame",
|
|
15195
15462
|
"fullFrameBoxed",
|
|
15196
15463
|
"faceCrop",
|
|
15197
|
-
"plateCrop"
|
|
15464
|
+
"plateCrop",
|
|
15465
|
+
"keyFrame"
|
|
15198
15466
|
]);
|
|
15199
15467
|
var MediaFileSchema = object({
|
|
15200
15468
|
key: string(),
|
|
@@ -15215,6 +15483,32 @@ var DeviceEventQueryInput = object({
|
|
|
15215
15483
|
projection: _enum(["full", "slim"]).optional()
|
|
15216
15484
|
});
|
|
15217
15485
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15486
|
+
var KeyEventQueryInput = object({
|
|
15487
|
+
deviceId: number(),
|
|
15488
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15489
|
+
since: number(),
|
|
15490
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15491
|
+
until: number(),
|
|
15492
|
+
limit: number().int().min(1).max(200).default(50),
|
|
15493
|
+
/** Drop tracks scoring below this importance. */
|
|
15494
|
+
minImportance: number().min(0).max(1).optional(),
|
|
15495
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15496
|
+
classFilter: string().optional()
|
|
15497
|
+
});
|
|
15498
|
+
var KeyEventSchema = object({
|
|
15499
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15500
|
+
id: string(),
|
|
15501
|
+
trackId: string(),
|
|
15502
|
+
/** Track start time (firstSeen). */
|
|
15503
|
+
timestamp: number(),
|
|
15504
|
+
className: string(),
|
|
15505
|
+
label: string().optional(),
|
|
15506
|
+
importance: number(),
|
|
15507
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15508
|
+
bestEventId: string(),
|
|
15509
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15510
|
+
windowMs: number().optional()
|
|
15511
|
+
});
|
|
15218
15512
|
var TrackedDetectionSchema = object({
|
|
15219
15513
|
trackId: string(),
|
|
15220
15514
|
className: string(),
|
|
@@ -15244,7 +15538,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15244
15538
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
15245
15539
|
kind: "mutation",
|
|
15246
15540
|
auth: "admin"
|
|
15247
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15541
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15248
15542
|
deviceId: number(),
|
|
15249
15543
|
since: number(),
|
|
15250
15544
|
until: number(),
|
|
@@ -15289,11 +15583,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15289
15583
|
timestamp: number()
|
|
15290
15584
|
});
|
|
15291
15585
|
var CameraPipelineConfigSchema = object({
|
|
15292
|
-
engine: PipelineEngineChoiceSchema,
|
|
15586
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15293
15587
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15294
15588
|
audio: object({
|
|
15295
|
-
engine: PipelineEngineChoiceSchema,
|
|
15296
|
-
modelId: string(),
|
|
15589
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15590
|
+
modelId: string().optional(),
|
|
15297
15591
|
enabled: boolean(),
|
|
15298
15592
|
settings: record(string(), unknown()).readonly().optional()
|
|
15299
15593
|
}).nullable().optional()
|
|
@@ -15308,7 +15602,7 @@ var PipelineTemplateSchema = object({
|
|
|
15308
15602
|
});
|
|
15309
15603
|
var AgentAddonConfigSchema = object({
|
|
15310
15604
|
enabled: boolean(),
|
|
15311
|
-
modelId: string(),
|
|
15605
|
+
modelId: string().optional(),
|
|
15312
15606
|
settings: record(string(), unknown()).readonly()
|
|
15313
15607
|
});
|
|
15314
15608
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15318,12 +15612,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15318
15612
|
detectWeight: number().positive().optional(),
|
|
15319
15613
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15320
15614
|
detect: boolean().optional(),
|
|
15321
|
-
/**
|
|
15615
|
+
/**
|
|
15616
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15617
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15618
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15619
|
+
* parse — no code reads it and no write path emits it.
|
|
15620
|
+
*/
|
|
15322
15621
|
decode: boolean().optional(),
|
|
15323
15622
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15324
15623
|
audio: boolean().optional(),
|
|
15325
15624
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15326
|
-
ingest: boolean().optional()
|
|
15625
|
+
ingest: boolean().optional(),
|
|
15626
|
+
/**
|
|
15627
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15628
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15629
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15630
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15631
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15632
|
+
*/
|
|
15633
|
+
reachableHost: string().optional()
|
|
15327
15634
|
});
|
|
15328
15635
|
var CameraPipelineForAgentSchema = object({
|
|
15329
15636
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15371,25 +15678,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15371
15678
|
assignedAt: number()
|
|
15372
15679
|
});
|
|
15373
15680
|
/**
|
|
15374
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15375
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15376
|
-
* → co-located with pipeline → capacity).
|
|
15377
|
-
*/
|
|
15378
|
-
var DecoderAssignmentSchema = object({
|
|
15379
|
-
deviceId: number(),
|
|
15380
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15381
|
-
decoderNodeId: string(),
|
|
15382
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15383
|
-
pinned: boolean(),
|
|
15384
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15385
|
-
reason: _enum([
|
|
15386
|
-
"manual",
|
|
15387
|
-
"co-located",
|
|
15388
|
-
"capacity",
|
|
15389
|
-
"hardware-affinity"
|
|
15390
|
-
])
|
|
15391
|
-
});
|
|
15392
|
-
/**
|
|
15393
15681
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15394
15682
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15395
15683
|
*/
|
|
@@ -15429,6 +15717,15 @@ var GlobalMetricsSchema = object({
|
|
|
15429
15717
|
* capability providers.
|
|
15430
15718
|
*/
|
|
15431
15719
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15720
|
+
/**
|
|
15721
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15722
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15723
|
+
*/
|
|
15724
|
+
var IngestOwnerSchema = object({
|
|
15725
|
+
ownerNodeId: string(),
|
|
15726
|
+
reachableHost: string().optional(),
|
|
15727
|
+
configIssue: string().optional()
|
|
15728
|
+
});
|
|
15432
15729
|
/** Source block — always present; derives from the stream catalog. */
|
|
15433
15730
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15434
15731
|
camStreamId: string(),
|
|
@@ -15443,6 +15740,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15443
15740
|
detectionNodeId: string().nullable(),
|
|
15444
15741
|
decoderNodeId: string().nullable(),
|
|
15445
15742
|
audioNodeId: string().nullable(),
|
|
15743
|
+
/**
|
|
15744
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15745
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15746
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15747
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15748
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15749
|
+
*/
|
|
15750
|
+
sourceNodeId: string().nullable(),
|
|
15446
15751
|
pinned: object({
|
|
15447
15752
|
detection: boolean(),
|
|
15448
15753
|
decoder: boolean(),
|
|
@@ -15575,16 +15880,7 @@ method(object({
|
|
|
15575
15880
|
}), object({ success: literal(true) }), {
|
|
15576
15881
|
kind: "mutation",
|
|
15577
15882
|
auth: "admin"
|
|
15578
|
-
}), method(object({
|
|
15579
|
-
deviceId: number(),
|
|
15580
|
-
nodeId: string()
|
|
15581
|
-
}), _void(), {
|
|
15582
|
-
kind: "mutation",
|
|
15583
|
-
auth: "admin"
|
|
15584
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
15585
|
-
kind: "mutation",
|
|
15586
|
-
auth: "admin"
|
|
15587
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15883
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15588
15884
|
deviceId: number(),
|
|
15589
15885
|
nodeId: string()
|
|
15590
15886
|
}), object({ success: literal(true) }), {
|
|
@@ -15605,10 +15901,7 @@ method(object({
|
|
|
15605
15901
|
nodeId: string(),
|
|
15606
15902
|
pinned: boolean(),
|
|
15607
15903
|
assignedAt: number()
|
|
15608
|
-
}))), method(object({
|
|
15609
|
-
deviceId: number(),
|
|
15610
|
-
pipelineNodeId: string().optional()
|
|
15611
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15904
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15612
15905
|
nodeId: string(),
|
|
15613
15906
|
settings: AgentPipelineSettingsSchema
|
|
15614
15907
|
})).readonly()), method(object({
|
|
@@ -15638,12 +15931,26 @@ method(object({
|
|
|
15638
15931
|
}), method(object({
|
|
15639
15932
|
agentNodeId: string(),
|
|
15640
15933
|
detect: boolean().nullable().optional(),
|
|
15641
|
-
decode: boolean().nullable().optional(),
|
|
15642
15934
|
audio: boolean().nullable().optional(),
|
|
15643
15935
|
ingest: boolean().nullable().optional()
|
|
15644
15936
|
}), object({ success: literal(true) }), {
|
|
15645
15937
|
kind: "mutation",
|
|
15646
15938
|
auth: "admin"
|
|
15939
|
+
}), method(object({
|
|
15940
|
+
agentNodeId: string(),
|
|
15941
|
+
reachableHost: string().nullable()
|
|
15942
|
+
}), object({ success: literal(true) }), {
|
|
15943
|
+
kind: "mutation",
|
|
15944
|
+
auth: "admin"
|
|
15945
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
15946
|
+
success: literal(true),
|
|
15947
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
15948
|
+
effectiveModelId: string().nullable(),
|
|
15949
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
15950
|
+
clearedCameraOverrides: number()
|
|
15951
|
+
}), {
|
|
15952
|
+
kind: "mutation",
|
|
15953
|
+
auth: "admin"
|
|
15647
15954
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15648
15955
|
deviceId: number(),
|
|
15649
15956
|
addonId: string(),
|
|
@@ -15688,22 +15995,131 @@ method(object({
|
|
|
15688
15995
|
kind: "mutation",
|
|
15689
15996
|
auth: "admin"
|
|
15690
15997
|
});
|
|
15691
|
-
|
|
15692
|
-
|
|
15693
|
-
|
|
15694
|
-
|
|
15695
|
-
|
|
15696
|
-
|
|
15998
|
+
/**
|
|
15999
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
16000
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
16001
|
+
* agents).
|
|
16002
|
+
*
|
|
16003
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
16004
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
16005
|
+
* version describes the node. Updates install into
|
|
16006
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
16007
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
16008
|
+
*
|
|
16009
|
+
* Providers:
|
|
16010
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
16011
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
16012
|
+
* unpinned calls.
|
|
16013
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
16014
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
16015
|
+
* `$hub.registerNode` manifest.
|
|
16016
|
+
*
|
|
16017
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
16018
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
16019
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
16020
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
16021
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
16022
|
+
*
|
|
16023
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
16024
|
+
*/
|
|
16025
|
+
/**
|
|
16026
|
+
* Where the running hub's code was loaded from:
|
|
16027
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
16028
|
+
* plain resolution and runtime updates are refused.
|
|
16029
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
16030
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
16031
|
+
*/
|
|
16032
|
+
var ServerBootModeSchema = _enum([
|
|
16033
|
+
"workspace",
|
|
16034
|
+
"baked",
|
|
16035
|
+
"data-root"
|
|
16036
|
+
]);
|
|
16037
|
+
/**
|
|
16038
|
+
* Update lifecycle state:
|
|
16039
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
16040
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
16041
|
+
* restarted onto it (still running the OLD version).
|
|
16042
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
16043
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
16044
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
16045
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
16046
|
+
*/
|
|
16047
|
+
var ServerUpdateStateSchema = _enum([
|
|
16048
|
+
"idle",
|
|
16049
|
+
"checking",
|
|
16050
|
+
"staging",
|
|
16051
|
+
"pending-restart",
|
|
16052
|
+
"awaiting-confirmation"
|
|
16053
|
+
]);
|
|
16054
|
+
var ServerRollbackInfoSchema = object({
|
|
16055
|
+
/** The version that failed (or was manually rolled back). */
|
|
16056
|
+
fromVersion: string(),
|
|
16057
|
+
/** The version rolled back to; null = the baked seed. */
|
|
16058
|
+
toVersion: string().nullable(),
|
|
16059
|
+
atMs: number(),
|
|
16060
|
+
reason: string()
|
|
15697
16061
|
});
|
|
15698
|
-
var
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
|
|
16062
|
+
var ServerPackageStatusSchema = object({
|
|
16063
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
16064
|
+
packageName: string(),
|
|
16065
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
16066
|
+
runningVersion: string().nullable(),
|
|
16067
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
16068
|
+
nodeRuntimeVersion: string().nullable(),
|
|
16069
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
16070
|
+
activeVersion: string().nullable(),
|
|
16071
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
16072
|
+
previousVersion: string().nullable(),
|
|
16073
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
16074
|
+
seedVersion: string().nullable(),
|
|
16075
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
16076
|
+
latestVersion: string().nullable(),
|
|
16077
|
+
updateAvailable: boolean(),
|
|
16078
|
+
bootMode: ServerBootModeSchema,
|
|
16079
|
+
updateState: ServerUpdateStateSchema,
|
|
16080
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
16081
|
+
pendingVersion: string().nullable(),
|
|
16082
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
16083
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
16084
|
+
/**
|
|
16085
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
16086
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
16087
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
16088
|
+
*/
|
|
16089
|
+
stateFileCorrupt: boolean(),
|
|
16090
|
+
lastCheckedAtMs: number().nullable()
|
|
16091
|
+
});
|
|
16092
|
+
var ServerUpdateCheckResultSchema = object({
|
|
16093
|
+
packageName: string(),
|
|
16094
|
+
runningVersion: string().nullable(),
|
|
16095
|
+
latestVersion: string().nullable(),
|
|
16096
|
+
updateAvailable: boolean(),
|
|
16097
|
+
checkedAtMs: number(),
|
|
16098
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
16099
|
+
error: string().nullable()
|
|
16100
|
+
});
|
|
16101
|
+
var ServerUpdateActionResultSchema = object({
|
|
16102
|
+
accepted: boolean(),
|
|
16103
|
+
targetVersion: string().nullable(),
|
|
16104
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
16105
|
+
restarting: boolean(),
|
|
16106
|
+
message: string()
|
|
16107
|
+
});
|
|
16108
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
16109
|
+
kind: "mutation",
|
|
16110
|
+
auth: "admin"
|
|
16111
|
+
}), method(object({
|
|
16112
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
16113
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
16114
|
+
kind: "mutation",
|
|
16115
|
+
auth: "admin"
|
|
16116
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16117
|
+
kind: "mutation",
|
|
16118
|
+
auth: "admin"
|
|
16119
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16120
|
+
kind: "mutation",
|
|
16121
|
+
auth: "admin"
|
|
15702
16122
|
});
|
|
15703
|
-
method(object({
|
|
15704
|
-
deviceId: number(),
|
|
15705
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15706
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
15707
16123
|
/**
|
|
15708
16124
|
* Query filter for settings-store collections.
|
|
15709
16125
|
*/
|
|
@@ -15856,9 +16272,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
15856
16272
|
/**
|
|
15857
16273
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15858
16274
|
*
|
|
15859
|
-
*
|
|
15860
|
-
*
|
|
15861
|
-
*
|
|
16275
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16276
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16277
|
+
* prebuffer fallback.
|
|
15862
16278
|
*/
|
|
15863
16279
|
var SnapshotImageSchema = object({
|
|
15864
16280
|
base64: string(),
|
|
@@ -15889,11 +16305,12 @@ DeviceType.Camera, method(object({
|
|
|
15889
16305
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
15890
16306
|
kind: "mutation",
|
|
15891
16307
|
auth: "admin"
|
|
15892
|
-
})
|
|
15893
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
16308
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
15894
16309
|
deviceId: number(),
|
|
15895
|
-
|
|
15896
|
-
|
|
16310
|
+
lastCapturedAt: number().nullable(),
|
|
16311
|
+
cacheAgeMs: number().nullable(),
|
|
16312
|
+
etag: string().nullable()
|
|
16313
|
+
})));
|
|
15897
16314
|
/**
|
|
15898
16315
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15899
16316
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -16144,10 +16561,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
16144
16561
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
16145
16562
|
* the assertion, bumps the credential counter, returns ok.
|
|
16146
16563
|
*
|
|
16564
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16565
|
+
* passkey IS the primary factor, no password leg:
|
|
16566
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16567
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16568
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16569
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16570
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16571
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16572
|
+
* resolves the credential by the response's credential id,
|
|
16573
|
+
* verifies the assertion against the stored challenge + that
|
|
16574
|
+
* credential's public key/counter, and returns the OWNING
|
|
16575
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16576
|
+
*
|
|
16147
16577
|
* 3. Management:
|
|
16148
16578
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
16149
16579
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
16150
16580
|
*
|
|
16581
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16582
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16583
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16584
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16585
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16586
|
+
* row ⇒ `enabled: false`).
|
|
16587
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16588
|
+
* the providing addon beside its credentials.
|
|
16589
|
+
*
|
|
16151
16590
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
16152
16591
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
16153
16592
|
* the cap to non-admins.
|
|
@@ -16190,6 +16629,17 @@ method(object({
|
|
|
16190
16629
|
}), object({ verified: boolean() }), {
|
|
16191
16630
|
kind: "mutation",
|
|
16192
16631
|
access: "view"
|
|
16632
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16633
|
+
kind: "mutation",
|
|
16634
|
+
access: "view"
|
|
16635
|
+
}), method(object({
|
|
16636
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16637
|
+
response: record(string(), unknown()) }), object({
|
|
16638
|
+
verified: boolean(),
|
|
16639
|
+
userId: string().nullable()
|
|
16640
|
+
}), {
|
|
16641
|
+
kind: "mutation",
|
|
16642
|
+
access: "view"
|
|
16193
16643
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16194
16644
|
userId: string(),
|
|
16195
16645
|
credentialId: string()
|
|
@@ -16197,6 +16647,13 @@ method(object({
|
|
|
16197
16647
|
kind: "mutation",
|
|
16198
16648
|
auth: "admin",
|
|
16199
16649
|
access: "delete"
|
|
16650
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16651
|
+
userId: string(),
|
|
16652
|
+
enabled: boolean()
|
|
16653
|
+
}), object({ success: literal(true) }), {
|
|
16654
|
+
kind: "mutation",
|
|
16655
|
+
auth: "admin",
|
|
16656
|
+
access: "create"
|
|
16200
16657
|
});
|
|
16201
16658
|
/**
|
|
16202
16659
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16254,9 +16711,10 @@ method(object({
|
|
|
16254
16711
|
auth: "admin"
|
|
16255
16712
|
});
|
|
16256
16713
|
/**
|
|
16257
|
-
* Optional client-side hints sent at session creation to help the
|
|
16258
|
-
*
|
|
16259
|
-
*
|
|
16714
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16715
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16716
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16717
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16260
16718
|
*/
|
|
16261
16719
|
var webrtcClientHintsSchema = object({
|
|
16262
16720
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -16267,22 +16725,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16267
16725
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16268
16726
|
prefersTier: string().optional()
|
|
16269
16727
|
}).partial();
|
|
16270
|
-
method(object({
|
|
16271
|
-
streamId: string(),
|
|
16272
|
-
sdpOffer: string()
|
|
16273
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16274
|
-
streamId: string(),
|
|
16275
|
-
codec: string()
|
|
16276
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16277
|
-
streamId: string(),
|
|
16278
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16279
|
-
}), object({
|
|
16280
|
-
sessionId: string(),
|
|
16281
|
-
sdpOffer: string()
|
|
16282
|
-
}), { kind: "mutation" }), method(object({
|
|
16283
|
-
sessionId: string(),
|
|
16284
|
-
sdpAnswer: string()
|
|
16285
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16286
16728
|
/**
|
|
16287
16729
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16288
16730
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -17013,7 +17455,17 @@ var FaceInfoSchema = object({
|
|
|
17013
17455
|
recognizedIdentityId: string().optional(),
|
|
17014
17456
|
identityName: string().optional(),
|
|
17015
17457
|
assigned: boolean(),
|
|
17016
|
-
base64: string().optional()
|
|
17458
|
+
base64: string().optional(),
|
|
17459
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17460
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17461
|
+
* legacy rows written before design B. */
|
|
17462
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17463
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17464
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17465
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17466
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17467
|
+
* back to the inline `base64` face crop. */
|
|
17468
|
+
keyFrameMediaKey: string().optional()
|
|
17017
17469
|
});
|
|
17018
17470
|
var FaceFilterEnum = _enum([
|
|
17019
17471
|
"unassigned",
|
|
@@ -17710,6 +18162,16 @@ var TopologyCategorySchema = object({
|
|
|
17710
18162
|
healthy: number(),
|
|
17711
18163
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17712
18164
|
});
|
|
18165
|
+
/**
|
|
18166
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18167
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18168
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18169
|
+
* rows and pre-phase-2 nodes report none.
|
|
18170
|
+
*/
|
|
18171
|
+
var TopologyRootPackageSchema = object({
|
|
18172
|
+
name: string(),
|
|
18173
|
+
version: string()
|
|
18174
|
+
});
|
|
17713
18175
|
var TopologyNodeSchema = object({
|
|
17714
18176
|
id: string(),
|
|
17715
18177
|
name: string(),
|
|
@@ -17733,7 +18195,8 @@ var TopologyNodeSchema = object({
|
|
|
17733
18195
|
status: string()
|
|
17734
18196
|
})).readonly(),
|
|
17735
18197
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17736
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18198
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18199
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17737
18200
|
});
|
|
17738
18201
|
var CapUsageEdgeSchema = object({
|
|
17739
18202
|
callerAddonId: string(),
|
|
@@ -20533,6 +20996,12 @@ Object.freeze({
|
|
|
20533
20996
|
addonId: null,
|
|
20534
20997
|
access: "create"
|
|
20535
20998
|
},
|
|
20999
|
+
"loginMethod.getLoginMethods": {
|
|
21000
|
+
capName: "login-method",
|
|
21001
|
+
capScope: "system",
|
|
21002
|
+
addonId: null,
|
|
21003
|
+
access: "view"
|
|
21004
|
+
},
|
|
20536
21005
|
"mediaPlayer.next": {
|
|
20537
21006
|
capName: "media-player",
|
|
20538
21007
|
capScope: "device",
|
|
@@ -21115,6 +21584,12 @@ Object.freeze({
|
|
|
21115
21584
|
addonId: null,
|
|
21116
21585
|
access: "view"
|
|
21117
21586
|
},
|
|
21587
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21588
|
+
capName: "pipeline-analytics",
|
|
21589
|
+
capScope: "device",
|
|
21590
|
+
addonId: null,
|
|
21591
|
+
access: "view"
|
|
21592
|
+
},
|
|
21118
21593
|
"pipelineAnalytics.getMotionEvents": {
|
|
21119
21594
|
capName: "pipeline-analytics",
|
|
21120
21595
|
capScope: "device",
|
|
@@ -21163,23 +21638,23 @@ Object.freeze({
|
|
|
21163
21638
|
addonId: null,
|
|
21164
21639
|
access: "create"
|
|
21165
21640
|
},
|
|
21166
|
-
"pipelineExecutor.
|
|
21641
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
21167
21642
|
capName: "pipeline-executor",
|
|
21168
21643
|
capScope: "system",
|
|
21169
21644
|
addonId: null,
|
|
21170
21645
|
access: "delete"
|
|
21171
21646
|
},
|
|
21172
|
-
"pipelineExecutor.
|
|
21647
|
+
"pipelineExecutor.deleteModel": {
|
|
21173
21648
|
capName: "pipeline-executor",
|
|
21174
21649
|
capScope: "system",
|
|
21175
21650
|
addonId: null,
|
|
21176
21651
|
access: "delete"
|
|
21177
21652
|
},
|
|
21178
|
-
"pipelineExecutor.
|
|
21653
|
+
"pipelineExecutor.deleteTemplate": {
|
|
21179
21654
|
capName: "pipeline-executor",
|
|
21180
21655
|
capScope: "system",
|
|
21181
21656
|
addonId: null,
|
|
21182
|
-
access: "
|
|
21657
|
+
access: "delete"
|
|
21183
21658
|
},
|
|
21184
21659
|
"pipelineExecutor.downloadModel": {
|
|
21185
21660
|
capName: "pipeline-executor",
|
|
@@ -21373,13 +21848,13 @@ Object.freeze({
|
|
|
21373
21848
|
addonId: null,
|
|
21374
21849
|
access: "create"
|
|
21375
21850
|
},
|
|
21376
|
-
"
|
|
21377
|
-
capName: "pipeline-
|
|
21851
|
+
"pipelineExecutor.validatePipeline": {
|
|
21852
|
+
capName: "pipeline-executor",
|
|
21378
21853
|
capScope: "system",
|
|
21379
21854
|
addonId: null,
|
|
21380
|
-
access: "
|
|
21855
|
+
access: "view"
|
|
21381
21856
|
},
|
|
21382
|
-
"pipelineOrchestrator.
|
|
21857
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21383
21858
|
capName: "pipeline-orchestrator",
|
|
21384
21859
|
capScope: "system",
|
|
21385
21860
|
addonId: null,
|
|
@@ -21463,19 +21938,13 @@ Object.freeze({
|
|
|
21463
21938
|
addonId: null,
|
|
21464
21939
|
access: "view"
|
|
21465
21940
|
},
|
|
21466
|
-
"pipelineOrchestrator.
|
|
21941
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21467
21942
|
capName: "pipeline-orchestrator",
|
|
21468
21943
|
capScope: "system",
|
|
21469
21944
|
addonId: null,
|
|
21470
21945
|
access: "view"
|
|
21471
21946
|
},
|
|
21472
|
-
"pipelineOrchestrator.
|
|
21473
|
-
capName: "pipeline-orchestrator",
|
|
21474
|
-
capScope: "system",
|
|
21475
|
-
addonId: null,
|
|
21476
|
-
access: "view"
|
|
21477
|
-
},
|
|
21478
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21947
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21479
21948
|
capName: "pipeline-orchestrator",
|
|
21480
21949
|
capScope: "system",
|
|
21481
21950
|
addonId: null,
|
|
@@ -21517,6 +21986,12 @@ Object.freeze({
|
|
|
21517
21986
|
addonId: null,
|
|
21518
21987
|
access: "delete"
|
|
21519
21988
|
},
|
|
21989
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
21990
|
+
capName: "pipeline-orchestrator",
|
|
21991
|
+
capScope: "system",
|
|
21992
|
+
addonId: null,
|
|
21993
|
+
access: "delete"
|
|
21994
|
+
},
|
|
21520
21995
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21521
21996
|
capName: "pipeline-orchestrator",
|
|
21522
21997
|
capScope: "system",
|
|
@@ -21553,37 +22028,37 @@ Object.freeze({
|
|
|
21553
22028
|
addonId: null,
|
|
21554
22029
|
access: "create"
|
|
21555
22030
|
},
|
|
21556
|
-
"pipelineOrchestrator.
|
|
22031
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21557
22032
|
capName: "pipeline-orchestrator",
|
|
21558
22033
|
capScope: "system",
|
|
21559
22034
|
addonId: null,
|
|
21560
22035
|
access: "create"
|
|
21561
22036
|
},
|
|
21562
|
-
"pipelineOrchestrator.
|
|
22037
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21563
22038
|
capName: "pipeline-orchestrator",
|
|
21564
22039
|
capScope: "system",
|
|
21565
22040
|
addonId: null,
|
|
21566
22041
|
access: "create"
|
|
21567
22042
|
},
|
|
21568
|
-
"pipelineOrchestrator.
|
|
22043
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21569
22044
|
capName: "pipeline-orchestrator",
|
|
21570
22045
|
capScope: "system",
|
|
21571
22046
|
addonId: null,
|
|
21572
22047
|
access: "create"
|
|
21573
22048
|
},
|
|
21574
|
-
"pipelineOrchestrator.
|
|
22049
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21575
22050
|
capName: "pipeline-orchestrator",
|
|
21576
22051
|
capScope: "system",
|
|
21577
22052
|
addonId: null,
|
|
21578
22053
|
access: "create"
|
|
21579
22054
|
},
|
|
21580
|
-
"pipelineOrchestrator.
|
|
22055
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21581
22056
|
capName: "pipeline-orchestrator",
|
|
21582
22057
|
capScope: "system",
|
|
21583
22058
|
addonId: null,
|
|
21584
22059
|
access: "create"
|
|
21585
22060
|
},
|
|
21586
|
-
"pipelineOrchestrator.
|
|
22061
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21587
22062
|
capName: "pipeline-orchestrator",
|
|
21588
22063
|
capScope: "system",
|
|
21589
22064
|
addonId: null,
|
|
@@ -21643,12 +22118,24 @@ Object.freeze({
|
|
|
21643
22118
|
addonId: null,
|
|
21644
22119
|
access: "view"
|
|
21645
22120
|
},
|
|
22121
|
+
"pipelineRunner.getNativeCrop": {
|
|
22122
|
+
capName: "pipeline-runner",
|
|
22123
|
+
capScope: "system",
|
|
22124
|
+
addonId: null,
|
|
22125
|
+
access: "view"
|
|
22126
|
+
},
|
|
21646
22127
|
"pipelineRunner.reportMotion": {
|
|
21647
22128
|
capName: "pipeline-runner",
|
|
21648
22129
|
capScope: "system",
|
|
21649
22130
|
addonId: null,
|
|
21650
22131
|
access: "create"
|
|
21651
22132
|
},
|
|
22133
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22134
|
+
capName: "pipeline-runner",
|
|
22135
|
+
capScope: "system",
|
|
22136
|
+
addonId: null,
|
|
22137
|
+
access: "create"
|
|
22138
|
+
},
|
|
21652
22139
|
"plateGallery.correctPlateText": {
|
|
21653
22140
|
capName: "plate-gallery",
|
|
21654
22141
|
capScope: "system",
|
|
@@ -21883,33 +22370,45 @@ Object.freeze({
|
|
|
21883
22370
|
addonId: null,
|
|
21884
22371
|
access: "create"
|
|
21885
22372
|
},
|
|
21886
|
-
"
|
|
21887
|
-
capName: "
|
|
22373
|
+
"scriptRunner.run": {
|
|
22374
|
+
capName: "script-runner",
|
|
22375
|
+
capScope: "device",
|
|
22376
|
+
addonId: null,
|
|
22377
|
+
access: "create"
|
|
22378
|
+
},
|
|
22379
|
+
"scriptRunner.stop": {
|
|
22380
|
+
capName: "script-runner",
|
|
22381
|
+
capScope: "device",
|
|
22382
|
+
addonId: null,
|
|
22383
|
+
access: "create"
|
|
22384
|
+
},
|
|
22385
|
+
"serverManagement.applyServerUpdate": {
|
|
22386
|
+
capName: "server-management",
|
|
21888
22387
|
capScope: "system",
|
|
21889
22388
|
addonId: null,
|
|
21890
|
-
access: "
|
|
22389
|
+
access: "create"
|
|
21891
22390
|
},
|
|
21892
|
-
"
|
|
21893
|
-
capName: "
|
|
22391
|
+
"serverManagement.checkServerUpdate": {
|
|
22392
|
+
capName: "server-management",
|
|
21894
22393
|
capScope: "system",
|
|
21895
22394
|
addonId: null,
|
|
21896
22395
|
access: "create"
|
|
21897
22396
|
},
|
|
21898
|
-
"
|
|
21899
|
-
capName: "
|
|
22397
|
+
"serverManagement.getServerPackageStatus": {
|
|
22398
|
+
capName: "server-management",
|
|
21900
22399
|
capScope: "system",
|
|
21901
22400
|
addonId: null,
|
|
21902
|
-
access: "
|
|
22401
|
+
access: "view"
|
|
21903
22402
|
},
|
|
21904
|
-
"
|
|
21905
|
-
capName: "
|
|
21906
|
-
capScope: "
|
|
22403
|
+
"serverManagement.restartServer": {
|
|
22404
|
+
capName: "server-management",
|
|
22405
|
+
capScope: "system",
|
|
21907
22406
|
addonId: null,
|
|
21908
22407
|
access: "create"
|
|
21909
22408
|
},
|
|
21910
|
-
"
|
|
21911
|
-
capName: "
|
|
21912
|
-
capScope: "
|
|
22409
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22410
|
+
capName: "server-management",
|
|
22411
|
+
capScope: "system",
|
|
21913
22412
|
addonId: null,
|
|
21914
22413
|
access: "create"
|
|
21915
22414
|
},
|
|
@@ -21997,23 +22496,17 @@ Object.freeze({
|
|
|
21997
22496
|
addonId: null,
|
|
21998
22497
|
access: "view"
|
|
21999
22498
|
},
|
|
22000
|
-
"snapshot.
|
|
22499
|
+
"snapshot.getSnapshotOverview": {
|
|
22001
22500
|
capName: "snapshot",
|
|
22002
22501
|
capScope: "device",
|
|
22003
22502
|
addonId: null,
|
|
22004
|
-
access: "create"
|
|
22005
|
-
},
|
|
22006
|
-
"snapshotProvider.getSnapshot": {
|
|
22007
|
-
capName: "snapshot-provider",
|
|
22008
|
-
capScope: "system",
|
|
22009
|
-
addonId: null,
|
|
22010
22503
|
access: "view"
|
|
22011
22504
|
},
|
|
22012
|
-
"
|
|
22013
|
-
capName: "snapshot
|
|
22014
|
-
capScope: "
|
|
22505
|
+
"snapshot.invalidateCache": {
|
|
22506
|
+
capName: "snapshot",
|
|
22507
|
+
capScope: "device",
|
|
22015
22508
|
addonId: null,
|
|
22016
|
-
access: "
|
|
22509
|
+
access: "create"
|
|
22017
22510
|
},
|
|
22018
22511
|
"ssoBridge.signBridgeToken": {
|
|
22019
22512
|
capName: "sso-bridge",
|
|
@@ -22441,30 +22934,6 @@ Object.freeze({
|
|
|
22441
22934
|
addonId: null,
|
|
22442
22935
|
access: "view"
|
|
22443
22936
|
},
|
|
22444
|
-
"streamingEngine.getStreamUrl": {
|
|
22445
|
-
capName: "streaming-engine",
|
|
22446
|
-
capScope: "system",
|
|
22447
|
-
addonId: null,
|
|
22448
|
-
access: "view"
|
|
22449
|
-
},
|
|
22450
|
-
"streamingEngine.listStreams": {
|
|
22451
|
-
capName: "streaming-engine",
|
|
22452
|
-
capScope: "system",
|
|
22453
|
-
addonId: null,
|
|
22454
|
-
access: "view"
|
|
22455
|
-
},
|
|
22456
|
-
"streamingEngine.registerStream": {
|
|
22457
|
-
capName: "streaming-engine",
|
|
22458
|
-
capScope: "system",
|
|
22459
|
-
addonId: null,
|
|
22460
|
-
access: "create"
|
|
22461
|
-
},
|
|
22462
|
-
"streamingEngine.unregisterStream": {
|
|
22463
|
-
capName: "streaming-engine",
|
|
22464
|
-
capScope: "system",
|
|
22465
|
-
addonId: null,
|
|
22466
|
-
access: "delete"
|
|
22467
|
-
},
|
|
22468
22937
|
"streamParams.getConfigSchema": {
|
|
22469
22938
|
capName: "stream-params",
|
|
22470
22939
|
capScope: "device",
|
|
@@ -22711,6 +23180,12 @@ Object.freeze({
|
|
|
22711
23180
|
addonId: null,
|
|
22712
23181
|
access: "view"
|
|
22713
23182
|
},
|
|
23183
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
23184
|
+
capName: "user-passkeys",
|
|
23185
|
+
capScope: "system",
|
|
23186
|
+
addonId: null,
|
|
23187
|
+
access: "view"
|
|
23188
|
+
},
|
|
22714
23189
|
"userPasskeys.beginRegistration": {
|
|
22715
23190
|
capName: "user-passkeys",
|
|
22716
23191
|
capScope: "system",
|
|
@@ -22723,12 +23198,24 @@ Object.freeze({
|
|
|
22723
23198
|
addonId: null,
|
|
22724
23199
|
access: "view"
|
|
22725
23200
|
},
|
|
23201
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23202
|
+
capName: "user-passkeys",
|
|
23203
|
+
capScope: "system",
|
|
23204
|
+
addonId: null,
|
|
23205
|
+
access: "view"
|
|
23206
|
+
},
|
|
22726
23207
|
"userPasskeys.finishRegistration": {
|
|
22727
23208
|
capName: "user-passkeys",
|
|
22728
23209
|
capScope: "system",
|
|
22729
23210
|
addonId: null,
|
|
22730
23211
|
access: "create"
|
|
22731
23212
|
},
|
|
23213
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23214
|
+
capName: "user-passkeys",
|
|
23215
|
+
capScope: "system",
|
|
23216
|
+
addonId: null,
|
|
23217
|
+
access: "view"
|
|
23218
|
+
},
|
|
22732
23219
|
"userPasskeys.listPasskeys": {
|
|
22733
23220
|
capName: "user-passkeys",
|
|
22734
23221
|
capScope: "system",
|
|
@@ -22741,6 +23228,12 @@ Object.freeze({
|
|
|
22741
23228
|
addonId: null,
|
|
22742
23229
|
access: "delete"
|
|
22743
23230
|
},
|
|
23231
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23232
|
+
capName: "user-passkeys",
|
|
23233
|
+
capScope: "system",
|
|
23234
|
+
addonId: null,
|
|
23235
|
+
access: "create"
|
|
23236
|
+
},
|
|
22744
23237
|
"vacuumControl.locate": {
|
|
22745
23238
|
capName: "vacuum-control",
|
|
22746
23239
|
capScope: "device",
|
|
@@ -22813,6 +23306,18 @@ Object.freeze({
|
|
|
22813
23306
|
addonId: null,
|
|
22814
23307
|
access: "view"
|
|
22815
23308
|
},
|
|
23309
|
+
"viewerUi.getStaticDir": {
|
|
23310
|
+
capName: "viewer-ui",
|
|
23311
|
+
capScope: "system",
|
|
23312
|
+
addonId: null,
|
|
23313
|
+
access: "view"
|
|
23314
|
+
},
|
|
23315
|
+
"viewerUi.getVersion": {
|
|
23316
|
+
capName: "viewer-ui",
|
|
23317
|
+
capScope: "system",
|
|
23318
|
+
addonId: null,
|
|
23319
|
+
access: "view"
|
|
23320
|
+
},
|
|
22816
23321
|
"waterHeater.setAway": {
|
|
22817
23322
|
capName: "water-heater",
|
|
22818
23323
|
capScope: "device",
|
|
@@ -22831,54 +23336,6 @@ Object.freeze({
|
|
|
22831
23336
|
addonId: null,
|
|
22832
23337
|
access: "create"
|
|
22833
23338
|
},
|
|
22834
|
-
"webrtc.closeSession": {
|
|
22835
|
-
capName: "webrtc",
|
|
22836
|
-
capScope: "system",
|
|
22837
|
-
addonId: null,
|
|
22838
|
-
access: "create"
|
|
22839
|
-
},
|
|
22840
|
-
"webrtc.createSession": {
|
|
22841
|
-
capName: "webrtc",
|
|
22842
|
-
capScope: "system",
|
|
22843
|
-
addonId: null,
|
|
22844
|
-
access: "create"
|
|
22845
|
-
},
|
|
22846
|
-
"webrtc.handleAnswer": {
|
|
22847
|
-
capName: "webrtc",
|
|
22848
|
-
capScope: "system",
|
|
22849
|
-
addonId: null,
|
|
22850
|
-
access: "create"
|
|
22851
|
-
},
|
|
22852
|
-
"webrtc.handleOffer": {
|
|
22853
|
-
capName: "webrtc",
|
|
22854
|
-
capScope: "system",
|
|
22855
|
-
addonId: null,
|
|
22856
|
-
access: "create"
|
|
22857
|
-
},
|
|
22858
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22859
|
-
capName: "webrtc",
|
|
22860
|
-
capScope: "system",
|
|
22861
|
-
addonId: null,
|
|
22862
|
-
access: "view"
|
|
22863
|
-
},
|
|
22864
|
-
"webrtc.registerStream": {
|
|
22865
|
-
capName: "webrtc",
|
|
22866
|
-
capScope: "system",
|
|
22867
|
-
addonId: null,
|
|
22868
|
-
access: "create"
|
|
22869
|
-
},
|
|
22870
|
-
"webrtc.supportsStream": {
|
|
22871
|
-
capName: "webrtc",
|
|
22872
|
-
capScope: "system",
|
|
22873
|
-
addonId: null,
|
|
22874
|
-
access: "view"
|
|
22875
|
-
},
|
|
22876
|
-
"webrtc.unregisterStream": {
|
|
22877
|
-
capName: "webrtc",
|
|
22878
|
-
capScope: "system",
|
|
22879
|
-
addonId: null,
|
|
22880
|
-
access: "delete"
|
|
22881
|
-
},
|
|
22882
23339
|
"webrtcSession.addIceCandidate": {
|
|
22883
23340
|
capName: "webrtc-session",
|
|
22884
23341
|
capScope: "device",
|