@camstack/addon-static-turn 1.1.20 → 1.1.22
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/static-turn.addon.js +715 -258
- package/dist/static-turn.addon.mjs +715 -258
- package/package.json +1 -1
|
@@ -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.
|
|
@@ -8631,26 +8720,13 @@ DeviceType.Light, method(object({
|
|
|
8631
8720
|
percentage: number().min(0).max(100),
|
|
8632
8721
|
lastChangedAt: number()
|
|
8633
8722
|
});
|
|
8723
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8634
8724
|
var StreamFormatSchema = _enum([
|
|
8635
8725
|
"webrtc",
|
|
8636
8726
|
"hls",
|
|
8637
8727
|
"mjpeg",
|
|
8638
8728
|
"rtsp"
|
|
8639
8729
|
]);
|
|
8640
|
-
var StreamInfoSchema = object({
|
|
8641
|
-
streamId: string(),
|
|
8642
|
-
format: StreamFormatSchema,
|
|
8643
|
-
url: string().nullable(),
|
|
8644
|
-
active: boolean()
|
|
8645
|
-
});
|
|
8646
|
-
method(object({
|
|
8647
|
-
streamId: string(),
|
|
8648
|
-
sourceUrl: string(),
|
|
8649
|
-
codec: string().optional()
|
|
8650
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8651
|
-
streamId: string(),
|
|
8652
|
-
format: StreamFormatSchema
|
|
8653
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8654
8730
|
var RtspRestreamEntrySchema = object({
|
|
8655
8731
|
brokerId: string(),
|
|
8656
8732
|
url: string(),
|
|
@@ -9315,7 +9391,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9315
9391
|
})),
|
|
9316
9392
|
lastChangedAt: number()
|
|
9317
9393
|
});
|
|
9318
|
-
|
|
9394
|
+
Object.values(DeviceType), method(object({
|
|
9319
9395
|
deviceId: number().int().nonnegative(),
|
|
9320
9396
|
key: string().min(1)
|
|
9321
9397
|
}), _void(), {
|
|
@@ -10230,7 +10306,7 @@ var BoundingBoxSchema = object({
|
|
|
10230
10306
|
w: number(),
|
|
10231
10307
|
h: number()
|
|
10232
10308
|
});
|
|
10233
|
-
|
|
10309
|
+
object({
|
|
10234
10310
|
class: string(),
|
|
10235
10311
|
originalClass: string(),
|
|
10236
10312
|
score: number(),
|
|
@@ -10365,7 +10441,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10365
10441
|
enabled: boolean(),
|
|
10366
10442
|
modelId: string(),
|
|
10367
10443
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10368
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10369
10444
|
group: string().optional(),
|
|
10370
10445
|
settings: record(string(), unknown()).optional()
|
|
10371
10446
|
}));
|
|
@@ -10390,7 +10465,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10390
10465
|
formats: record(string(), object({
|
|
10391
10466
|
downloaded: boolean(),
|
|
10392
10467
|
sizeMB: number()
|
|
10393
|
-
}))
|
|
10468
|
+
})),
|
|
10469
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10470
|
+
legacy: boolean().optional()
|
|
10394
10471
|
});
|
|
10395
10472
|
var ConfigFieldBridge = custom();
|
|
10396
10473
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10404,6 +10481,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10404
10481
|
defaultModelId: string(),
|
|
10405
10482
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10406
10483
|
enabledByDefault: boolean().optional(),
|
|
10484
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10407
10485
|
defaultConfidence: number(),
|
|
10408
10486
|
group: string().optional(),
|
|
10409
10487
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10420,11 +10498,6 @@ var PipelineSchemaSchema = object({
|
|
|
10420
10498
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10421
10499
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10422
10500
|
});
|
|
10423
|
-
var DetectorOutputSchema = object({
|
|
10424
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10425
|
-
inferenceMs: number(),
|
|
10426
|
-
modelId: string()
|
|
10427
|
-
});
|
|
10428
10501
|
var EngineProvisioningSchema = object({
|
|
10429
10502
|
runtimeId: _enum([
|
|
10430
10503
|
"onnx",
|
|
@@ -10441,15 +10514,42 @@ var EngineProvisioningSchema = object({
|
|
|
10441
10514
|
]),
|
|
10442
10515
|
progress: number().optional(),
|
|
10443
10516
|
error: string().optional(),
|
|
10444
|
-
nextRetryAt: number().optional()
|
|
10517
|
+
nextRetryAt: number().optional(),
|
|
10518
|
+
/**
|
|
10519
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10520
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10521
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10522
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10523
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10524
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10525
|
+
*/
|
|
10526
|
+
configIssues: array(string()).optional()
|
|
10445
10527
|
});
|
|
10446
10528
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10447
10529
|
addonId: string(),
|
|
10448
|
-
modelId: string(),
|
|
10530
|
+
modelId: string().optional(),
|
|
10449
10531
|
enabled: boolean().default(true),
|
|
10450
10532
|
children: array(PipelineStepInputSchema).optional(),
|
|
10451
10533
|
settings: record(string(), unknown()).optional()
|
|
10452
10534
|
}));
|
|
10535
|
+
var ModelSubstitutionSchema = object({
|
|
10536
|
+
addonId: string(),
|
|
10537
|
+
chosen: string(),
|
|
10538
|
+
running: string(),
|
|
10539
|
+
format: string()
|
|
10540
|
+
});
|
|
10541
|
+
var PipelineValidationIssueSchema = object({
|
|
10542
|
+
addonId: string(),
|
|
10543
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10544
|
+
detail: string()
|
|
10545
|
+
});
|
|
10546
|
+
var PipelineValidationResultSchema = object({
|
|
10547
|
+
ok: boolean(),
|
|
10548
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10549
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10550
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10551
|
+
format: string()
|
|
10552
|
+
});
|
|
10453
10553
|
var ReferenceImageEntrySchema = object({
|
|
10454
10554
|
filename: string(),
|
|
10455
10555
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10520,7 +10620,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10520
10620
|
})) }), object({ success: literal(true) }), {
|
|
10521
10621
|
kind: "mutation",
|
|
10522
10622
|
auth: "admin"
|
|
10523
|
-
}), method(
|
|
10623
|
+
}), method(object({ nodeId: string() }), object({
|
|
10624
|
+
success: literal(true),
|
|
10625
|
+
clearedDevices: number()
|
|
10626
|
+
}), {
|
|
10627
|
+
kind: "mutation",
|
|
10628
|
+
auth: "admin"
|
|
10629
|
+
}), 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({
|
|
10524
10630
|
name: string(),
|
|
10525
10631
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10526
10632
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10537,10 +10643,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10537
10643
|
modelId: string(),
|
|
10538
10644
|
format: ModelFormatSchema$1
|
|
10539
10645
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10540
|
-
addonId: string(),
|
|
10541
|
-
frame: FrameInputSchema,
|
|
10542
|
-
config: record(string(), unknown()).optional()
|
|
10543
|
-
}), DetectorOutputSchema), method(object({
|
|
10544
10646
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10545
10647
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10546
10648
|
frame: FrameInputSchema.optional(),
|
|
@@ -10561,7 +10663,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10561
10663
|
image: _instanceof(Uint8Array).optional(),
|
|
10562
10664
|
referenceImage: string().optional(),
|
|
10563
10665
|
deviceId: number().optional(),
|
|
10564
|
-
sessionId: string().optional()
|
|
10666
|
+
sessionId: string().optional(),
|
|
10667
|
+
/**
|
|
10668
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10669
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10670
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10671
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10672
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10673
|
+
*/
|
|
10674
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10565
10675
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10566
10676
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10567
10677
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10686,6 +10796,47 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(ZoneSchema).read
|
|
|
10686
10796
|
auth: "admin"
|
|
10687
10797
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10688
10798
|
/**
|
|
10799
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
10800
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
10801
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
10802
|
+
* dims — no native resolution to plumb.
|
|
10803
|
+
*/
|
|
10804
|
+
var NativeCropBboxSchema = object({
|
|
10805
|
+
x: number(),
|
|
10806
|
+
y: number(),
|
|
10807
|
+
w: number(),
|
|
10808
|
+
h: number()
|
|
10809
|
+
});
|
|
10810
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
10811
|
+
var NativeCropResultSchema = object({
|
|
10812
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
10813
|
+
bytes: _instanceof(Uint8Array),
|
|
10814
|
+
width: number().int().positive(),
|
|
10815
|
+
height: number().int().positive()
|
|
10816
|
+
});
|
|
10817
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10818
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10819
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10820
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10821
|
+
* normalized [0,1] convention). */
|
|
10822
|
+
var DetailParentSchema = object({
|
|
10823
|
+
bbox: NativeCropBboxSchema,
|
|
10824
|
+
className: string()
|
|
10825
|
+
});
|
|
10826
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10827
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10828
|
+
* single tracked detection. */
|
|
10829
|
+
var DetailResultSchema = object({
|
|
10830
|
+
stepId: string(),
|
|
10831
|
+
className: string(),
|
|
10832
|
+
score: number(),
|
|
10833
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10834
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10835
|
+
embedding: string().optional(),
|
|
10836
|
+
label: string().optional(),
|
|
10837
|
+
alignedCropJpeg: string().optional()
|
|
10838
|
+
});
|
|
10839
|
+
/**
|
|
10689
10840
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10690
10841
|
* by both the Zod data schema (validation + default fallback) and
|
|
10691
10842
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -10780,6 +10931,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10780
10931
|
kind: literal("remote-restream"),
|
|
10781
10932
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
10782
10933
|
ownerNodeId: string(),
|
|
10934
|
+
/**
|
|
10935
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
10936
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
10937
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
10938
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
10939
|
+
*/
|
|
10940
|
+
ownerReachableHost: string().optional(),
|
|
10783
10941
|
/** Operator override for the owner host the runner dials. */
|
|
10784
10942
|
hubHostnameOverride: string().optional()
|
|
10785
10943
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -10788,13 +10946,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10788
10946
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
10789
10947
|
* runner needs to subscribe to the local broker and execute inference.
|
|
10790
10948
|
*
|
|
10791
|
-
* Stateless-pipeline model: the
|
|
10792
|
-
*
|
|
10793
|
-
*
|
|
10794
|
-
*
|
|
10795
|
-
*
|
|
10796
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
10797
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
10949
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
10950
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
10951
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
10952
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
10953
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
10798
10954
|
*/
|
|
10799
10955
|
var RunnerCameraConfigSchema = object({
|
|
10800
10956
|
deviceId: number(),
|
|
@@ -10845,14 +11001,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
10845
11001
|
*/
|
|
10846
11002
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
10847
11003
|
pipelineEnabled: boolean().default(true),
|
|
10848
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
10849
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10850
11004
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
10851
11005
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
10852
11006
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
10853
11007
|
audio: object({
|
|
10854
|
-
|
|
10855
|
-
modelId: string(),
|
|
11008
|
+
modelId: string().optional(),
|
|
10856
11009
|
enabled: boolean()
|
|
10857
11010
|
}).nullable().optional(),
|
|
10858
11011
|
/**
|
|
@@ -10939,7 +11092,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
10939
11092
|
avgInferenceTimeMs: number(),
|
|
10940
11093
|
queueDepth: number()
|
|
10941
11094
|
});
|
|
10942
|
-
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())
|
|
11095
|
+
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({
|
|
11096
|
+
handle: FrameHandleSchema,
|
|
11097
|
+
bbox: NativeCropBboxSchema,
|
|
11098
|
+
maxWidth: number().int().positive().optional()
|
|
11099
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11100
|
+
deviceId: number(),
|
|
11101
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11102
|
+
cropJpeg: string().optional(),
|
|
11103
|
+
parent: DetailParentSchema,
|
|
11104
|
+
steps: array(string()).optional()
|
|
11105
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
10943
11106
|
object({
|
|
10944
11107
|
detected: boolean(),
|
|
10945
11108
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12233,7 +12396,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12233
12396
|
icon: string(),
|
|
12234
12397
|
path: string(),
|
|
12235
12398
|
remoteName: string(),
|
|
12236
|
-
bundle: string()
|
|
12399
|
+
bundle: string(),
|
|
12400
|
+
section: string().optional(),
|
|
12401
|
+
sectionLabel: string().optional()
|
|
12237
12402
|
});
|
|
12238
12403
|
var AddonPageInfoSchema = object({
|
|
12239
12404
|
addonId: string(),
|
|
@@ -12273,7 +12438,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12273
12438
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12274
12439
|
* without a separate filesystem stat.
|
|
12275
12440
|
*/
|
|
12276
|
-
bundle: string()
|
|
12441
|
+
bundle: string(),
|
|
12442
|
+
/**
|
|
12443
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12444
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12445
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12446
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12447
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12448
|
+
* "Addon Pages" group.
|
|
12449
|
+
*/
|
|
12450
|
+
section: string().optional(),
|
|
12451
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12452
|
+
sectionLabel: string().optional()
|
|
12277
12453
|
});
|
|
12278
12454
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12279
12455
|
var AddonHttpRouteSchema = object({
|
|
@@ -12489,6 +12665,17 @@ var WidgetMetadataSchema = object({
|
|
|
12489
12665
|
deviceContext: boolean().default(false),
|
|
12490
12666
|
integrationContext: boolean().default(false)
|
|
12491
12667
|
}),
|
|
12668
|
+
/**
|
|
12669
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12670
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12671
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12672
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12673
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12674
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12675
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12676
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12677
|
+
*/
|
|
12678
|
+
preAuth: boolean().optional().default(false),
|
|
12492
12679
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12493
12680
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12494
12681
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -12790,6 +12977,66 @@ method(object({
|
|
|
12790
12977
|
password: string()
|
|
12791
12978
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
12792
12979
|
/**
|
|
12980
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
12981
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
12982
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
12983
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
12984
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
12985
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
12986
|
+
*
|
|
12987
|
+
* A contribution is a discriminated union on `kind`:
|
|
12988
|
+
*
|
|
12989
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
12990
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
12991
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
12992
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
12993
|
+
* login page needs NO change.
|
|
12994
|
+
*
|
|
12995
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
12996
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
12997
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
12998
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
12999
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13000
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13001
|
+
*
|
|
13002
|
+
* Every contribution carries a `stage`:
|
|
13003
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13004
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13005
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13006
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13007
|
+
*
|
|
13008
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13009
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13010
|
+
* tRPC router.
|
|
13011
|
+
*/
|
|
13012
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13013
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13014
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13015
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13016
|
+
kind: literal("redirect"),
|
|
13017
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13018
|
+
id: string(),
|
|
13019
|
+
/** Operator-facing button label. */
|
|
13020
|
+
label: string(),
|
|
13021
|
+
/** lucide-react icon name. */
|
|
13022
|
+
icon: string().optional(),
|
|
13023
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13024
|
+
startUrl: string(),
|
|
13025
|
+
stage: LoginStageEnum
|
|
13026
|
+
}), object({
|
|
13027
|
+
kind: literal("widget"),
|
|
13028
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13029
|
+
id: string(),
|
|
13030
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13031
|
+
addonId: string(),
|
|
13032
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13033
|
+
bundle: string(),
|
|
13034
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13035
|
+
remote: WidgetRemoteSchema,
|
|
13036
|
+
stage: LoginStageEnum
|
|
13037
|
+
})]);
|
|
13038
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13039
|
+
/**
|
|
12793
13040
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
12794
13041
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
12795
13042
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -14893,7 +15140,17 @@ var TrackSchema = object({
|
|
|
14893
15140
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
14894
15141
|
totalDistance: number(),
|
|
14895
15142
|
state: TrackStateSchema,
|
|
14896
|
-
active: boolean()
|
|
15143
|
+
active: boolean(),
|
|
15144
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15145
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15146
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15147
|
+
importance: number().optional(),
|
|
15148
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15149
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15150
|
+
bestEventId: string().optional(),
|
|
15151
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15152
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15153
|
+
importanceReason: string().optional()
|
|
14897
15154
|
});
|
|
14898
15155
|
var BaseEventFields = {
|
|
14899
15156
|
id: string(),
|
|
@@ -14958,8 +15215,18 @@ var ObjectEventSchema = object({
|
|
|
14958
15215
|
frameHeight: number().optional(),
|
|
14959
15216
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
14960
15217
|
mediaKey: string().optional(),
|
|
15218
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15219
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15220
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15221
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15222
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15223
|
+
keyFrameMediaKey: string().optional(),
|
|
14961
15224
|
/** Populated by B5 (recording playback URL for this event). */
|
|
14962
|
-
mediaUrl: string().optional()
|
|
15225
|
+
mediaUrl: string().optional(),
|
|
15226
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15227
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15228
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15229
|
+
importance: number().optional()
|
|
14963
15230
|
});
|
|
14964
15231
|
var AudioEventSchema = object({
|
|
14965
15232
|
...BaseEventFields,
|
|
@@ -14983,7 +15250,8 @@ var MediaFileKindEnum = _enum([
|
|
|
14983
15250
|
"fullFrame",
|
|
14984
15251
|
"fullFrameBoxed",
|
|
14985
15252
|
"faceCrop",
|
|
14986
|
-
"plateCrop"
|
|
15253
|
+
"plateCrop",
|
|
15254
|
+
"keyFrame"
|
|
14987
15255
|
]);
|
|
14988
15256
|
var MediaFileSchema = object({
|
|
14989
15257
|
key: string(),
|
|
@@ -15004,6 +15272,32 @@ var DeviceEventQueryInput = object({
|
|
|
15004
15272
|
projection: _enum(["full", "slim"]).optional()
|
|
15005
15273
|
});
|
|
15006
15274
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15275
|
+
var KeyEventQueryInput = object({
|
|
15276
|
+
deviceId: number(),
|
|
15277
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15278
|
+
since: number(),
|
|
15279
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15280
|
+
until: number(),
|
|
15281
|
+
limit: number().int().min(1).max(200).default(50),
|
|
15282
|
+
/** Drop tracks scoring below this importance. */
|
|
15283
|
+
minImportance: number().min(0).max(1).optional(),
|
|
15284
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15285
|
+
classFilter: string().optional()
|
|
15286
|
+
});
|
|
15287
|
+
var KeyEventSchema = object({
|
|
15288
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15289
|
+
id: string(),
|
|
15290
|
+
trackId: string(),
|
|
15291
|
+
/** Track start time (firstSeen). */
|
|
15292
|
+
timestamp: number(),
|
|
15293
|
+
className: string(),
|
|
15294
|
+
label: string().optional(),
|
|
15295
|
+
importance: number(),
|
|
15296
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15297
|
+
bestEventId: string(),
|
|
15298
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15299
|
+
windowMs: number().optional()
|
|
15300
|
+
});
|
|
15007
15301
|
var TrackedDetectionSchema = object({
|
|
15008
15302
|
trackId: string(),
|
|
15009
15303
|
className: string(),
|
|
@@ -15033,7 +15327,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15033
15327
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
15034
15328
|
kind: "mutation",
|
|
15035
15329
|
auth: "admin"
|
|
15036
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15330
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15037
15331
|
deviceId: number(),
|
|
15038
15332
|
since: number(),
|
|
15039
15333
|
until: number(),
|
|
@@ -15078,11 +15372,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15078
15372
|
timestamp: number()
|
|
15079
15373
|
});
|
|
15080
15374
|
var CameraPipelineConfigSchema = object({
|
|
15081
|
-
engine: PipelineEngineChoiceSchema,
|
|
15375
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15082
15376
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15083
15377
|
audio: object({
|
|
15084
|
-
engine: PipelineEngineChoiceSchema,
|
|
15085
|
-
modelId: string(),
|
|
15378
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15379
|
+
modelId: string().optional(),
|
|
15086
15380
|
enabled: boolean(),
|
|
15087
15381
|
settings: record(string(), unknown()).readonly().optional()
|
|
15088
15382
|
}).nullable().optional()
|
|
@@ -15097,7 +15391,7 @@ var PipelineTemplateSchema = object({
|
|
|
15097
15391
|
});
|
|
15098
15392
|
var AgentAddonConfigSchema = object({
|
|
15099
15393
|
enabled: boolean(),
|
|
15100
|
-
modelId: string(),
|
|
15394
|
+
modelId: string().optional(),
|
|
15101
15395
|
settings: record(string(), unknown()).readonly()
|
|
15102
15396
|
});
|
|
15103
15397
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15107,12 +15401,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15107
15401
|
detectWeight: number().positive().optional(),
|
|
15108
15402
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15109
15403
|
detect: boolean().optional(),
|
|
15110
|
-
/**
|
|
15404
|
+
/**
|
|
15405
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15406
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15407
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15408
|
+
* parse — no code reads it and no write path emits it.
|
|
15409
|
+
*/
|
|
15111
15410
|
decode: boolean().optional(),
|
|
15112
15411
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15113
15412
|
audio: boolean().optional(),
|
|
15114
15413
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15115
|
-
ingest: boolean().optional()
|
|
15414
|
+
ingest: boolean().optional(),
|
|
15415
|
+
/**
|
|
15416
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15417
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15418
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15419
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15420
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15421
|
+
*/
|
|
15422
|
+
reachableHost: string().optional()
|
|
15116
15423
|
});
|
|
15117
15424
|
var CameraPipelineForAgentSchema = object({
|
|
15118
15425
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15160,25 +15467,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15160
15467
|
assignedAt: number()
|
|
15161
15468
|
});
|
|
15162
15469
|
/**
|
|
15163
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15164
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15165
|
-
* → co-located with pipeline → capacity).
|
|
15166
|
-
*/
|
|
15167
|
-
var DecoderAssignmentSchema = object({
|
|
15168
|
-
deviceId: number(),
|
|
15169
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15170
|
-
decoderNodeId: string(),
|
|
15171
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15172
|
-
pinned: boolean(),
|
|
15173
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15174
|
-
reason: _enum([
|
|
15175
|
-
"manual",
|
|
15176
|
-
"co-located",
|
|
15177
|
-
"capacity",
|
|
15178
|
-
"hardware-affinity"
|
|
15179
|
-
])
|
|
15180
|
-
});
|
|
15181
|
-
/**
|
|
15182
15470
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15183
15471
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15184
15472
|
*/
|
|
@@ -15218,6 +15506,15 @@ var GlobalMetricsSchema = object({
|
|
|
15218
15506
|
* capability providers.
|
|
15219
15507
|
*/
|
|
15220
15508
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15509
|
+
/**
|
|
15510
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15511
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15512
|
+
*/
|
|
15513
|
+
var IngestOwnerSchema = object({
|
|
15514
|
+
ownerNodeId: string(),
|
|
15515
|
+
reachableHost: string().optional(),
|
|
15516
|
+
configIssue: string().optional()
|
|
15517
|
+
});
|
|
15221
15518
|
/** Source block — always present; derives from the stream catalog. */
|
|
15222
15519
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15223
15520
|
camStreamId: string(),
|
|
@@ -15232,6 +15529,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15232
15529
|
detectionNodeId: string().nullable(),
|
|
15233
15530
|
decoderNodeId: string().nullable(),
|
|
15234
15531
|
audioNodeId: string().nullable(),
|
|
15532
|
+
/**
|
|
15533
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15534
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15535
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15536
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15537
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15538
|
+
*/
|
|
15539
|
+
sourceNodeId: string().nullable(),
|
|
15235
15540
|
pinned: object({
|
|
15236
15541
|
detection: boolean(),
|
|
15237
15542
|
decoder: boolean(),
|
|
@@ -15364,16 +15669,7 @@ method(object({
|
|
|
15364
15669
|
}), object({ success: literal(true) }), {
|
|
15365
15670
|
kind: "mutation",
|
|
15366
15671
|
auth: "admin"
|
|
15367
|
-
}), method(object({
|
|
15368
|
-
deviceId: number(),
|
|
15369
|
-
nodeId: string()
|
|
15370
|
-
}), _void(), {
|
|
15371
|
-
kind: "mutation",
|
|
15372
|
-
auth: "admin"
|
|
15373
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
15374
|
-
kind: "mutation",
|
|
15375
|
-
auth: "admin"
|
|
15376
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15672
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15377
15673
|
deviceId: number(),
|
|
15378
15674
|
nodeId: string()
|
|
15379
15675
|
}), object({ success: literal(true) }), {
|
|
@@ -15394,10 +15690,7 @@ method(object({
|
|
|
15394
15690
|
nodeId: string(),
|
|
15395
15691
|
pinned: boolean(),
|
|
15396
15692
|
assignedAt: number()
|
|
15397
|
-
}))), method(object({
|
|
15398
|
-
deviceId: number(),
|
|
15399
|
-
pipelineNodeId: string().optional()
|
|
15400
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15693
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15401
15694
|
nodeId: string(),
|
|
15402
15695
|
settings: AgentPipelineSettingsSchema
|
|
15403
15696
|
})).readonly()), method(object({
|
|
@@ -15427,12 +15720,26 @@ method(object({
|
|
|
15427
15720
|
}), method(object({
|
|
15428
15721
|
agentNodeId: string(),
|
|
15429
15722
|
detect: boolean().nullable().optional(),
|
|
15430
|
-
decode: boolean().nullable().optional(),
|
|
15431
15723
|
audio: boolean().nullable().optional(),
|
|
15432
15724
|
ingest: boolean().nullable().optional()
|
|
15433
15725
|
}), object({ success: literal(true) }), {
|
|
15434
15726
|
kind: "mutation",
|
|
15435
15727
|
auth: "admin"
|
|
15728
|
+
}), method(object({
|
|
15729
|
+
agentNodeId: string(),
|
|
15730
|
+
reachableHost: string().nullable()
|
|
15731
|
+
}), object({ success: literal(true) }), {
|
|
15732
|
+
kind: "mutation",
|
|
15733
|
+
auth: "admin"
|
|
15734
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
15735
|
+
success: literal(true),
|
|
15736
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
15737
|
+
effectiveModelId: string().nullable(),
|
|
15738
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
15739
|
+
clearedCameraOverrides: number()
|
|
15740
|
+
}), {
|
|
15741
|
+
kind: "mutation",
|
|
15742
|
+
auth: "admin"
|
|
15436
15743
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15437
15744
|
deviceId: number(),
|
|
15438
15745
|
addonId: string(),
|
|
@@ -15477,22 +15784,131 @@ method(object({
|
|
|
15477
15784
|
kind: "mutation",
|
|
15478
15785
|
auth: "admin"
|
|
15479
15786
|
});
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15787
|
+
/**
|
|
15788
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
15789
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
15790
|
+
* agents).
|
|
15791
|
+
*
|
|
15792
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
15793
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
15794
|
+
* version describes the node. Updates install into
|
|
15795
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
15796
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
15797
|
+
*
|
|
15798
|
+
* Providers:
|
|
15799
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
15800
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
15801
|
+
* unpinned calls.
|
|
15802
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
15803
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
15804
|
+
* `$hub.registerNode` manifest.
|
|
15805
|
+
*
|
|
15806
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
15807
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
15808
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
15809
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
15810
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
15811
|
+
*
|
|
15812
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
15813
|
+
*/
|
|
15814
|
+
/**
|
|
15815
|
+
* Where the running hub's code was loaded from:
|
|
15816
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
15817
|
+
* plain resolution and runtime updates are refused.
|
|
15818
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
15819
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
15820
|
+
*/
|
|
15821
|
+
var ServerBootModeSchema = _enum([
|
|
15822
|
+
"workspace",
|
|
15823
|
+
"baked",
|
|
15824
|
+
"data-root"
|
|
15825
|
+
]);
|
|
15826
|
+
/**
|
|
15827
|
+
* Update lifecycle state:
|
|
15828
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
15829
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
15830
|
+
* restarted onto it (still running the OLD version).
|
|
15831
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
15832
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
15833
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
15834
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
15835
|
+
*/
|
|
15836
|
+
var ServerUpdateStateSchema = _enum([
|
|
15837
|
+
"idle",
|
|
15838
|
+
"checking",
|
|
15839
|
+
"staging",
|
|
15840
|
+
"pending-restart",
|
|
15841
|
+
"awaiting-confirmation"
|
|
15842
|
+
]);
|
|
15843
|
+
var ServerRollbackInfoSchema = object({
|
|
15844
|
+
/** The version that failed (or was manually rolled back). */
|
|
15845
|
+
fromVersion: string(),
|
|
15846
|
+
/** The version rolled back to; null = the baked seed. */
|
|
15847
|
+
toVersion: string().nullable(),
|
|
15848
|
+
atMs: number(),
|
|
15849
|
+
reason: string()
|
|
15486
15850
|
});
|
|
15487
|
-
var
|
|
15488
|
-
|
|
15489
|
-
|
|
15490
|
-
|
|
15851
|
+
var ServerPackageStatusSchema = object({
|
|
15852
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
15853
|
+
packageName: string(),
|
|
15854
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
15855
|
+
runningVersion: string().nullable(),
|
|
15856
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
15857
|
+
nodeRuntimeVersion: string().nullable(),
|
|
15858
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
15859
|
+
activeVersion: string().nullable(),
|
|
15860
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
15861
|
+
previousVersion: string().nullable(),
|
|
15862
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
15863
|
+
seedVersion: string().nullable(),
|
|
15864
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
15865
|
+
latestVersion: string().nullable(),
|
|
15866
|
+
updateAvailable: boolean(),
|
|
15867
|
+
bootMode: ServerBootModeSchema,
|
|
15868
|
+
updateState: ServerUpdateStateSchema,
|
|
15869
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
15870
|
+
pendingVersion: string().nullable(),
|
|
15871
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
15872
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
15873
|
+
/**
|
|
15874
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
15875
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
15876
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
15877
|
+
*/
|
|
15878
|
+
stateFileCorrupt: boolean(),
|
|
15879
|
+
lastCheckedAtMs: number().nullable()
|
|
15880
|
+
});
|
|
15881
|
+
var ServerUpdateCheckResultSchema = object({
|
|
15882
|
+
packageName: string(),
|
|
15883
|
+
runningVersion: string().nullable(),
|
|
15884
|
+
latestVersion: string().nullable(),
|
|
15885
|
+
updateAvailable: boolean(),
|
|
15886
|
+
checkedAtMs: number(),
|
|
15887
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
15888
|
+
error: string().nullable()
|
|
15889
|
+
});
|
|
15890
|
+
var ServerUpdateActionResultSchema = object({
|
|
15891
|
+
accepted: boolean(),
|
|
15892
|
+
targetVersion: string().nullable(),
|
|
15893
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
15894
|
+
restarting: boolean(),
|
|
15895
|
+
message: string()
|
|
15896
|
+
});
|
|
15897
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
15898
|
+
kind: "mutation",
|
|
15899
|
+
auth: "admin"
|
|
15900
|
+
}), method(object({
|
|
15901
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
15902
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
15903
|
+
kind: "mutation",
|
|
15904
|
+
auth: "admin"
|
|
15905
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
15906
|
+
kind: "mutation",
|
|
15907
|
+
auth: "admin"
|
|
15908
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
15909
|
+
kind: "mutation",
|
|
15910
|
+
auth: "admin"
|
|
15491
15911
|
});
|
|
15492
|
-
method(object({
|
|
15493
|
-
deviceId: number(),
|
|
15494
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15495
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
15496
15912
|
/**
|
|
15497
15913
|
* Query filter for settings-store collections.
|
|
15498
15914
|
*/
|
|
@@ -15645,9 +16061,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
15645
16061
|
/**
|
|
15646
16062
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15647
16063
|
*
|
|
15648
|
-
*
|
|
15649
|
-
*
|
|
15650
|
-
*
|
|
16064
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16065
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16066
|
+
* prebuffer fallback.
|
|
15651
16067
|
*/
|
|
15652
16068
|
var SnapshotImageSchema = object({
|
|
15653
16069
|
base64: string(),
|
|
@@ -15678,11 +16094,12 @@ DeviceType.Camera, method(object({
|
|
|
15678
16094
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
15679
16095
|
kind: "mutation",
|
|
15680
16096
|
auth: "admin"
|
|
15681
|
-
})
|
|
15682
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
16097
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
15683
16098
|
deviceId: number(),
|
|
15684
|
-
|
|
15685
|
-
|
|
16099
|
+
lastCapturedAt: number().nullable(),
|
|
16100
|
+
cacheAgeMs: number().nullable(),
|
|
16101
|
+
etag: string().nullable()
|
|
16102
|
+
})));
|
|
15686
16103
|
/**
|
|
15687
16104
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15688
16105
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -15956,10 +16373,32 @@ getTurnServers: method(_void(), array(TurnServerSchema).readonly()) }
|
|
|
15956
16373
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
15957
16374
|
* the assertion, bumps the credential counter, returns ok.
|
|
15958
16375
|
*
|
|
16376
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16377
|
+
* passkey IS the primary factor, no password leg:
|
|
16378
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16379
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16380
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16381
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16382
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16383
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16384
|
+
* resolves the credential by the response's credential id,
|
|
16385
|
+
* verifies the assertion against the stored challenge + that
|
|
16386
|
+
* credential's public key/counter, and returns the OWNING
|
|
16387
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16388
|
+
*
|
|
15959
16389
|
* 3. Management:
|
|
15960
16390
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
15961
16391
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
15962
16392
|
*
|
|
16393
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16394
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16395
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16396
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16397
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16398
|
+
* row ⇒ `enabled: false`).
|
|
16399
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16400
|
+
* the providing addon beside its credentials.
|
|
16401
|
+
*
|
|
15963
16402
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
15964
16403
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
15965
16404
|
* the cap to non-admins.
|
|
@@ -16002,6 +16441,17 @@ method(object({
|
|
|
16002
16441
|
}), object({ verified: boolean() }), {
|
|
16003
16442
|
kind: "mutation",
|
|
16004
16443
|
access: "view"
|
|
16444
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16445
|
+
kind: "mutation",
|
|
16446
|
+
access: "view"
|
|
16447
|
+
}), method(object({
|
|
16448
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16449
|
+
response: record(string(), unknown()) }), object({
|
|
16450
|
+
verified: boolean(),
|
|
16451
|
+
userId: string().nullable()
|
|
16452
|
+
}), {
|
|
16453
|
+
kind: "mutation",
|
|
16454
|
+
access: "view"
|
|
16005
16455
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16006
16456
|
userId: string(),
|
|
16007
16457
|
credentialId: string()
|
|
@@ -16009,6 +16459,13 @@ method(object({
|
|
|
16009
16459
|
kind: "mutation",
|
|
16010
16460
|
auth: "admin",
|
|
16011
16461
|
access: "delete"
|
|
16462
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16463
|
+
userId: string(),
|
|
16464
|
+
enabled: boolean()
|
|
16465
|
+
}), object({ success: literal(true) }), {
|
|
16466
|
+
kind: "mutation",
|
|
16467
|
+
auth: "admin",
|
|
16468
|
+
access: "create"
|
|
16012
16469
|
});
|
|
16013
16470
|
/**
|
|
16014
16471
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16066,9 +16523,10 @@ method(object({
|
|
|
16066
16523
|
auth: "admin"
|
|
16067
16524
|
});
|
|
16068
16525
|
/**
|
|
16069
|
-
* Optional client-side hints sent at session creation to help the
|
|
16070
|
-
*
|
|
16071
|
-
*
|
|
16526
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16527
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16528
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16529
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16072
16530
|
*/
|
|
16073
16531
|
var webrtcClientHintsSchema = object({
|
|
16074
16532
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -16079,22 +16537,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16079
16537
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16080
16538
|
prefersTier: string().optional()
|
|
16081
16539
|
}).partial();
|
|
16082
|
-
method(object({
|
|
16083
|
-
streamId: string(),
|
|
16084
|
-
sdpOffer: string()
|
|
16085
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16086
|
-
streamId: string(),
|
|
16087
|
-
codec: string()
|
|
16088
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16089
|
-
streamId: string(),
|
|
16090
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16091
|
-
}), object({
|
|
16092
|
-
sessionId: string(),
|
|
16093
|
-
sdpOffer: string()
|
|
16094
|
-
}), { kind: "mutation" }), method(object({
|
|
16095
|
-
sessionId: string(),
|
|
16096
|
-
sdpAnswer: string()
|
|
16097
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16098
16540
|
/**
|
|
16099
16541
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16100
16542
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -16825,7 +17267,17 @@ var FaceInfoSchema = object({
|
|
|
16825
17267
|
recognizedIdentityId: string().optional(),
|
|
16826
17268
|
identityName: string().optional(),
|
|
16827
17269
|
assigned: boolean(),
|
|
16828
|
-
base64: string().optional()
|
|
17270
|
+
base64: string().optional(),
|
|
17271
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17272
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17273
|
+
* legacy rows written before design B. */
|
|
17274
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17275
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17276
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17277
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17278
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17279
|
+
* back to the inline `base64` face crop. */
|
|
17280
|
+
keyFrameMediaKey: string().optional()
|
|
16829
17281
|
});
|
|
16830
17282
|
var FaceFilterEnum = _enum([
|
|
16831
17283
|
"unassigned",
|
|
@@ -17522,6 +17974,16 @@ var TopologyCategorySchema = object({
|
|
|
17522
17974
|
healthy: number(),
|
|
17523
17975
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17524
17976
|
});
|
|
17977
|
+
/**
|
|
17978
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
17979
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
17980
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
17981
|
+
* rows and pre-phase-2 nodes report none.
|
|
17982
|
+
*/
|
|
17983
|
+
var TopologyRootPackageSchema = object({
|
|
17984
|
+
name: string(),
|
|
17985
|
+
version: string()
|
|
17986
|
+
});
|
|
17525
17987
|
var TopologyNodeSchema = object({
|
|
17526
17988
|
id: string(),
|
|
17527
17989
|
name: string(),
|
|
@@ -17545,7 +18007,8 @@ var TopologyNodeSchema = object({
|
|
|
17545
18007
|
status: string()
|
|
17546
18008
|
})).readonly(),
|
|
17547
18009
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17548
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18010
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18011
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17549
18012
|
});
|
|
17550
18013
|
var CapUsageEdgeSchema = object({
|
|
17551
18014
|
callerAddonId: string(),
|
|
@@ -20345,6 +20808,12 @@ Object.freeze({
|
|
|
20345
20808
|
addonId: null,
|
|
20346
20809
|
access: "create"
|
|
20347
20810
|
},
|
|
20811
|
+
"loginMethod.getLoginMethods": {
|
|
20812
|
+
capName: "login-method",
|
|
20813
|
+
capScope: "system",
|
|
20814
|
+
addonId: null,
|
|
20815
|
+
access: "view"
|
|
20816
|
+
},
|
|
20348
20817
|
"mediaPlayer.next": {
|
|
20349
20818
|
capName: "media-player",
|
|
20350
20819
|
capScope: "device",
|
|
@@ -20927,6 +21396,12 @@ Object.freeze({
|
|
|
20927
21396
|
addonId: null,
|
|
20928
21397
|
access: "view"
|
|
20929
21398
|
},
|
|
21399
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21400
|
+
capName: "pipeline-analytics",
|
|
21401
|
+
capScope: "device",
|
|
21402
|
+
addonId: null,
|
|
21403
|
+
access: "view"
|
|
21404
|
+
},
|
|
20930
21405
|
"pipelineAnalytics.getMotionEvents": {
|
|
20931
21406
|
capName: "pipeline-analytics",
|
|
20932
21407
|
capScope: "device",
|
|
@@ -20975,23 +21450,23 @@ Object.freeze({
|
|
|
20975
21450
|
addonId: null,
|
|
20976
21451
|
access: "create"
|
|
20977
21452
|
},
|
|
20978
|
-
"pipelineExecutor.
|
|
21453
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
20979
21454
|
capName: "pipeline-executor",
|
|
20980
21455
|
capScope: "system",
|
|
20981
21456
|
addonId: null,
|
|
20982
21457
|
access: "delete"
|
|
20983
21458
|
},
|
|
20984
|
-
"pipelineExecutor.
|
|
21459
|
+
"pipelineExecutor.deleteModel": {
|
|
20985
21460
|
capName: "pipeline-executor",
|
|
20986
21461
|
capScope: "system",
|
|
20987
21462
|
addonId: null,
|
|
20988
21463
|
access: "delete"
|
|
20989
21464
|
},
|
|
20990
|
-
"pipelineExecutor.
|
|
21465
|
+
"pipelineExecutor.deleteTemplate": {
|
|
20991
21466
|
capName: "pipeline-executor",
|
|
20992
21467
|
capScope: "system",
|
|
20993
21468
|
addonId: null,
|
|
20994
|
-
access: "
|
|
21469
|
+
access: "delete"
|
|
20995
21470
|
},
|
|
20996
21471
|
"pipelineExecutor.downloadModel": {
|
|
20997
21472
|
capName: "pipeline-executor",
|
|
@@ -21185,13 +21660,13 @@ Object.freeze({
|
|
|
21185
21660
|
addonId: null,
|
|
21186
21661
|
access: "create"
|
|
21187
21662
|
},
|
|
21188
|
-
"
|
|
21189
|
-
capName: "pipeline-
|
|
21663
|
+
"pipelineExecutor.validatePipeline": {
|
|
21664
|
+
capName: "pipeline-executor",
|
|
21190
21665
|
capScope: "system",
|
|
21191
21666
|
addonId: null,
|
|
21192
|
-
access: "
|
|
21667
|
+
access: "view"
|
|
21193
21668
|
},
|
|
21194
|
-
"pipelineOrchestrator.
|
|
21669
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21195
21670
|
capName: "pipeline-orchestrator",
|
|
21196
21671
|
capScope: "system",
|
|
21197
21672
|
addonId: null,
|
|
@@ -21275,19 +21750,13 @@ Object.freeze({
|
|
|
21275
21750
|
addonId: null,
|
|
21276
21751
|
access: "view"
|
|
21277
21752
|
},
|
|
21278
|
-
"pipelineOrchestrator.
|
|
21753
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21279
21754
|
capName: "pipeline-orchestrator",
|
|
21280
21755
|
capScope: "system",
|
|
21281
21756
|
addonId: null,
|
|
21282
21757
|
access: "view"
|
|
21283
21758
|
},
|
|
21284
|
-
"pipelineOrchestrator.
|
|
21285
|
-
capName: "pipeline-orchestrator",
|
|
21286
|
-
capScope: "system",
|
|
21287
|
-
addonId: null,
|
|
21288
|
-
access: "view"
|
|
21289
|
-
},
|
|
21290
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21759
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21291
21760
|
capName: "pipeline-orchestrator",
|
|
21292
21761
|
capScope: "system",
|
|
21293
21762
|
addonId: null,
|
|
@@ -21329,6 +21798,12 @@ Object.freeze({
|
|
|
21329
21798
|
addonId: null,
|
|
21330
21799
|
access: "delete"
|
|
21331
21800
|
},
|
|
21801
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
21802
|
+
capName: "pipeline-orchestrator",
|
|
21803
|
+
capScope: "system",
|
|
21804
|
+
addonId: null,
|
|
21805
|
+
access: "delete"
|
|
21806
|
+
},
|
|
21332
21807
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21333
21808
|
capName: "pipeline-orchestrator",
|
|
21334
21809
|
capScope: "system",
|
|
@@ -21365,37 +21840,37 @@ Object.freeze({
|
|
|
21365
21840
|
addonId: null,
|
|
21366
21841
|
access: "create"
|
|
21367
21842
|
},
|
|
21368
|
-
"pipelineOrchestrator.
|
|
21843
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21369
21844
|
capName: "pipeline-orchestrator",
|
|
21370
21845
|
capScope: "system",
|
|
21371
21846
|
addonId: null,
|
|
21372
21847
|
access: "create"
|
|
21373
21848
|
},
|
|
21374
|
-
"pipelineOrchestrator.
|
|
21849
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21375
21850
|
capName: "pipeline-orchestrator",
|
|
21376
21851
|
capScope: "system",
|
|
21377
21852
|
addonId: null,
|
|
21378
21853
|
access: "create"
|
|
21379
21854
|
},
|
|
21380
|
-
"pipelineOrchestrator.
|
|
21855
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21381
21856
|
capName: "pipeline-orchestrator",
|
|
21382
21857
|
capScope: "system",
|
|
21383
21858
|
addonId: null,
|
|
21384
21859
|
access: "create"
|
|
21385
21860
|
},
|
|
21386
|
-
"pipelineOrchestrator.
|
|
21861
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21387
21862
|
capName: "pipeline-orchestrator",
|
|
21388
21863
|
capScope: "system",
|
|
21389
21864
|
addonId: null,
|
|
21390
21865
|
access: "create"
|
|
21391
21866
|
},
|
|
21392
|
-
"pipelineOrchestrator.
|
|
21867
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21393
21868
|
capName: "pipeline-orchestrator",
|
|
21394
21869
|
capScope: "system",
|
|
21395
21870
|
addonId: null,
|
|
21396
21871
|
access: "create"
|
|
21397
21872
|
},
|
|
21398
|
-
"pipelineOrchestrator.
|
|
21873
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21399
21874
|
capName: "pipeline-orchestrator",
|
|
21400
21875
|
capScope: "system",
|
|
21401
21876
|
addonId: null,
|
|
@@ -21455,12 +21930,24 @@ Object.freeze({
|
|
|
21455
21930
|
addonId: null,
|
|
21456
21931
|
access: "view"
|
|
21457
21932
|
},
|
|
21933
|
+
"pipelineRunner.getNativeCrop": {
|
|
21934
|
+
capName: "pipeline-runner",
|
|
21935
|
+
capScope: "system",
|
|
21936
|
+
addonId: null,
|
|
21937
|
+
access: "view"
|
|
21938
|
+
},
|
|
21458
21939
|
"pipelineRunner.reportMotion": {
|
|
21459
21940
|
capName: "pipeline-runner",
|
|
21460
21941
|
capScope: "system",
|
|
21461
21942
|
addonId: null,
|
|
21462
21943
|
access: "create"
|
|
21463
21944
|
},
|
|
21945
|
+
"pipelineRunner.runDetailSubtree": {
|
|
21946
|
+
capName: "pipeline-runner",
|
|
21947
|
+
capScope: "system",
|
|
21948
|
+
addonId: null,
|
|
21949
|
+
access: "create"
|
|
21950
|
+
},
|
|
21464
21951
|
"plateGallery.correctPlateText": {
|
|
21465
21952
|
capName: "plate-gallery",
|
|
21466
21953
|
capScope: "system",
|
|
@@ -21695,33 +22182,45 @@ Object.freeze({
|
|
|
21695
22182
|
addonId: null,
|
|
21696
22183
|
access: "create"
|
|
21697
22184
|
},
|
|
21698
|
-
"
|
|
21699
|
-
capName: "
|
|
22185
|
+
"scriptRunner.run": {
|
|
22186
|
+
capName: "script-runner",
|
|
22187
|
+
capScope: "device",
|
|
22188
|
+
addonId: null,
|
|
22189
|
+
access: "create"
|
|
22190
|
+
},
|
|
22191
|
+
"scriptRunner.stop": {
|
|
22192
|
+
capName: "script-runner",
|
|
22193
|
+
capScope: "device",
|
|
22194
|
+
addonId: null,
|
|
22195
|
+
access: "create"
|
|
22196
|
+
},
|
|
22197
|
+
"serverManagement.applyServerUpdate": {
|
|
22198
|
+
capName: "server-management",
|
|
21700
22199
|
capScope: "system",
|
|
21701
22200
|
addonId: null,
|
|
21702
|
-
access: "
|
|
22201
|
+
access: "create"
|
|
21703
22202
|
},
|
|
21704
|
-
"
|
|
21705
|
-
capName: "
|
|
22203
|
+
"serverManagement.checkServerUpdate": {
|
|
22204
|
+
capName: "server-management",
|
|
21706
22205
|
capScope: "system",
|
|
21707
22206
|
addonId: null,
|
|
21708
22207
|
access: "create"
|
|
21709
22208
|
},
|
|
21710
|
-
"
|
|
21711
|
-
capName: "
|
|
22209
|
+
"serverManagement.getServerPackageStatus": {
|
|
22210
|
+
capName: "server-management",
|
|
21712
22211
|
capScope: "system",
|
|
21713
22212
|
addonId: null,
|
|
21714
|
-
access: "
|
|
22213
|
+
access: "view"
|
|
21715
22214
|
},
|
|
21716
|
-
"
|
|
21717
|
-
capName: "
|
|
21718
|
-
capScope: "
|
|
22215
|
+
"serverManagement.restartServer": {
|
|
22216
|
+
capName: "server-management",
|
|
22217
|
+
capScope: "system",
|
|
21719
22218
|
addonId: null,
|
|
21720
22219
|
access: "create"
|
|
21721
22220
|
},
|
|
21722
|
-
"
|
|
21723
|
-
capName: "
|
|
21724
|
-
capScope: "
|
|
22221
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22222
|
+
capName: "server-management",
|
|
22223
|
+
capScope: "system",
|
|
21725
22224
|
addonId: null,
|
|
21726
22225
|
access: "create"
|
|
21727
22226
|
},
|
|
@@ -21809,23 +22308,17 @@ Object.freeze({
|
|
|
21809
22308
|
addonId: null,
|
|
21810
22309
|
access: "view"
|
|
21811
22310
|
},
|
|
21812
|
-
"snapshot.
|
|
22311
|
+
"snapshot.getSnapshotOverview": {
|
|
21813
22312
|
capName: "snapshot",
|
|
21814
22313
|
capScope: "device",
|
|
21815
22314
|
addonId: null,
|
|
21816
|
-
access: "create"
|
|
21817
|
-
},
|
|
21818
|
-
"snapshotProvider.getSnapshot": {
|
|
21819
|
-
capName: "snapshot-provider",
|
|
21820
|
-
capScope: "system",
|
|
21821
|
-
addonId: null,
|
|
21822
22315
|
access: "view"
|
|
21823
22316
|
},
|
|
21824
|
-
"
|
|
21825
|
-
capName: "snapshot
|
|
21826
|
-
capScope: "
|
|
22317
|
+
"snapshot.invalidateCache": {
|
|
22318
|
+
capName: "snapshot",
|
|
22319
|
+
capScope: "device",
|
|
21827
22320
|
addonId: null,
|
|
21828
|
-
access: "
|
|
22321
|
+
access: "create"
|
|
21829
22322
|
},
|
|
21830
22323
|
"ssoBridge.signBridgeToken": {
|
|
21831
22324
|
capName: "sso-bridge",
|
|
@@ -22253,30 +22746,6 @@ Object.freeze({
|
|
|
22253
22746
|
addonId: null,
|
|
22254
22747
|
access: "view"
|
|
22255
22748
|
},
|
|
22256
|
-
"streamingEngine.getStreamUrl": {
|
|
22257
|
-
capName: "streaming-engine",
|
|
22258
|
-
capScope: "system",
|
|
22259
|
-
addonId: null,
|
|
22260
|
-
access: "view"
|
|
22261
|
-
},
|
|
22262
|
-
"streamingEngine.listStreams": {
|
|
22263
|
-
capName: "streaming-engine",
|
|
22264
|
-
capScope: "system",
|
|
22265
|
-
addonId: null,
|
|
22266
|
-
access: "view"
|
|
22267
|
-
},
|
|
22268
|
-
"streamingEngine.registerStream": {
|
|
22269
|
-
capName: "streaming-engine",
|
|
22270
|
-
capScope: "system",
|
|
22271
|
-
addonId: null,
|
|
22272
|
-
access: "create"
|
|
22273
|
-
},
|
|
22274
|
-
"streamingEngine.unregisterStream": {
|
|
22275
|
-
capName: "streaming-engine",
|
|
22276
|
-
capScope: "system",
|
|
22277
|
-
addonId: null,
|
|
22278
|
-
access: "delete"
|
|
22279
|
-
},
|
|
22280
22749
|
"streamParams.getConfigSchema": {
|
|
22281
22750
|
capName: "stream-params",
|
|
22282
22751
|
capScope: "device",
|
|
@@ -22523,6 +22992,12 @@ Object.freeze({
|
|
|
22523
22992
|
addonId: null,
|
|
22524
22993
|
access: "view"
|
|
22525
22994
|
},
|
|
22995
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
22996
|
+
capName: "user-passkeys",
|
|
22997
|
+
capScope: "system",
|
|
22998
|
+
addonId: null,
|
|
22999
|
+
access: "view"
|
|
23000
|
+
},
|
|
22526
23001
|
"userPasskeys.beginRegistration": {
|
|
22527
23002
|
capName: "user-passkeys",
|
|
22528
23003
|
capScope: "system",
|
|
@@ -22535,12 +23010,24 @@ Object.freeze({
|
|
|
22535
23010
|
addonId: null,
|
|
22536
23011
|
access: "view"
|
|
22537
23012
|
},
|
|
23013
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23014
|
+
capName: "user-passkeys",
|
|
23015
|
+
capScope: "system",
|
|
23016
|
+
addonId: null,
|
|
23017
|
+
access: "view"
|
|
23018
|
+
},
|
|
22538
23019
|
"userPasskeys.finishRegistration": {
|
|
22539
23020
|
capName: "user-passkeys",
|
|
22540
23021
|
capScope: "system",
|
|
22541
23022
|
addonId: null,
|
|
22542
23023
|
access: "create"
|
|
22543
23024
|
},
|
|
23025
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23026
|
+
capName: "user-passkeys",
|
|
23027
|
+
capScope: "system",
|
|
23028
|
+
addonId: null,
|
|
23029
|
+
access: "view"
|
|
23030
|
+
},
|
|
22544
23031
|
"userPasskeys.listPasskeys": {
|
|
22545
23032
|
capName: "user-passkeys",
|
|
22546
23033
|
capScope: "system",
|
|
@@ -22553,6 +23040,12 @@ Object.freeze({
|
|
|
22553
23040
|
addonId: null,
|
|
22554
23041
|
access: "delete"
|
|
22555
23042
|
},
|
|
23043
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23044
|
+
capName: "user-passkeys",
|
|
23045
|
+
capScope: "system",
|
|
23046
|
+
addonId: null,
|
|
23047
|
+
access: "create"
|
|
23048
|
+
},
|
|
22556
23049
|
"vacuumControl.locate": {
|
|
22557
23050
|
capName: "vacuum-control",
|
|
22558
23051
|
capScope: "device",
|
|
@@ -22625,6 +23118,18 @@ Object.freeze({
|
|
|
22625
23118
|
addonId: null,
|
|
22626
23119
|
access: "view"
|
|
22627
23120
|
},
|
|
23121
|
+
"viewerUi.getStaticDir": {
|
|
23122
|
+
capName: "viewer-ui",
|
|
23123
|
+
capScope: "system",
|
|
23124
|
+
addonId: null,
|
|
23125
|
+
access: "view"
|
|
23126
|
+
},
|
|
23127
|
+
"viewerUi.getVersion": {
|
|
23128
|
+
capName: "viewer-ui",
|
|
23129
|
+
capScope: "system",
|
|
23130
|
+
addonId: null,
|
|
23131
|
+
access: "view"
|
|
23132
|
+
},
|
|
22628
23133
|
"waterHeater.setAway": {
|
|
22629
23134
|
capName: "water-heater",
|
|
22630
23135
|
capScope: "device",
|
|
@@ -22643,54 +23148,6 @@ Object.freeze({
|
|
|
22643
23148
|
addonId: null,
|
|
22644
23149
|
access: "create"
|
|
22645
23150
|
},
|
|
22646
|
-
"webrtc.closeSession": {
|
|
22647
|
-
capName: "webrtc",
|
|
22648
|
-
capScope: "system",
|
|
22649
|
-
addonId: null,
|
|
22650
|
-
access: "create"
|
|
22651
|
-
},
|
|
22652
|
-
"webrtc.createSession": {
|
|
22653
|
-
capName: "webrtc",
|
|
22654
|
-
capScope: "system",
|
|
22655
|
-
addonId: null,
|
|
22656
|
-
access: "create"
|
|
22657
|
-
},
|
|
22658
|
-
"webrtc.handleAnswer": {
|
|
22659
|
-
capName: "webrtc",
|
|
22660
|
-
capScope: "system",
|
|
22661
|
-
addonId: null,
|
|
22662
|
-
access: "create"
|
|
22663
|
-
},
|
|
22664
|
-
"webrtc.handleOffer": {
|
|
22665
|
-
capName: "webrtc",
|
|
22666
|
-
capScope: "system",
|
|
22667
|
-
addonId: null,
|
|
22668
|
-
access: "create"
|
|
22669
|
-
},
|
|
22670
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22671
|
-
capName: "webrtc",
|
|
22672
|
-
capScope: "system",
|
|
22673
|
-
addonId: null,
|
|
22674
|
-
access: "view"
|
|
22675
|
-
},
|
|
22676
|
-
"webrtc.registerStream": {
|
|
22677
|
-
capName: "webrtc",
|
|
22678
|
-
capScope: "system",
|
|
22679
|
-
addonId: null,
|
|
22680
|
-
access: "create"
|
|
22681
|
-
},
|
|
22682
|
-
"webrtc.supportsStream": {
|
|
22683
|
-
capName: "webrtc",
|
|
22684
|
-
capScope: "system",
|
|
22685
|
-
addonId: null,
|
|
22686
|
-
access: "view"
|
|
22687
|
-
},
|
|
22688
|
-
"webrtc.unregisterStream": {
|
|
22689
|
-
capName: "webrtc",
|
|
22690
|
-
capScope: "system",
|
|
22691
|
-
addonId: null,
|
|
22692
|
-
access: "delete"
|
|
22693
|
-
},
|
|
22694
23151
|
"webrtcSession.addIceCandidate": {
|
|
22695
23152
|
capName: "webrtc-session",
|
|
22696
23153
|
capScope: "device",
|