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