@camstack/addon-export-alexa 1.1.19 → 1.1.21
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/export-alexa.addon.js +715 -258
- package/dist/export-alexa.addon.mjs +715 -258
- package/package.json +1 -1
|
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4629
4629
|
return inst;
|
|
4630
4630
|
}
|
|
4631
4631
|
//#endregion
|
|
4632
|
-
//#region ../types/dist/sleep-
|
|
4632
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4633
4633
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4634
4634
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4635
4635
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4815,6 +4815,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4815
4815
|
*/
|
|
4816
4816
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4817
4817
|
/**
|
|
4818
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4819
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4820
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4821
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4822
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4823
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4824
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4825
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4826
|
+
* broker's long backstop reconcile query).
|
|
4827
|
+
*/
|
|
4828
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4829
|
+
/**
|
|
4818
4830
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4819
4831
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4820
4832
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5338,10 +5350,6 @@ function hydrateField(field, values) {
|
|
|
5338
5350
|
};
|
|
5339
5351
|
}
|
|
5340
5352
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5341
|
-
if (field.type === "password") return {
|
|
5342
|
-
...field,
|
|
5343
|
-
value: ""
|
|
5344
|
-
};
|
|
5345
5353
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5346
5354
|
return {
|
|
5347
5355
|
...field,
|
|
@@ -6736,6 +6744,21 @@ function method(input, output, options) {
|
|
|
6736
6744
|
timeoutMs: options?.timeoutMs
|
|
6737
6745
|
};
|
|
6738
6746
|
}
|
|
6747
|
+
/**
|
|
6748
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6749
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6750
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6751
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6752
|
+
*/
|
|
6753
|
+
function systemMethod(input, output, options) {
|
|
6754
|
+
return {
|
|
6755
|
+
...method(input, output, options),
|
|
6756
|
+
systemOnly: true
|
|
6757
|
+
};
|
|
6758
|
+
}
|
|
6759
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6760
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6761
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6739
6762
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6740
6763
|
var VersionOutputSchema = object({ version: string() });
|
|
6741
6764
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6917,6 +6940,36 @@ var ModelFormatsSchema = object({
|
|
|
6917
6940
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6918
6941
|
pt: ModelFormatEntrySchema.optional()
|
|
6919
6942
|
});
|
|
6943
|
+
/**
|
|
6944
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6945
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6946
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6947
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6948
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6949
|
+
* to an `id`.
|
|
6950
|
+
*/
|
|
6951
|
+
var ModelVariantGroupSchema = object({
|
|
6952
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6953
|
+
family: string(),
|
|
6954
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6955
|
+
tier: string(),
|
|
6956
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6957
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6958
|
+
/**
|
|
6959
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6960
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6961
|
+
* future performance variants plug into.
|
|
6962
|
+
*/
|
|
6963
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6964
|
+
/**
|
|
6965
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6966
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6967
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6968
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6969
|
+
* the group so the selector can offer it as a variant axis.
|
|
6970
|
+
*/
|
|
6971
|
+
resolution: number().int().positive().optional()
|
|
6972
|
+
});
|
|
6920
6973
|
var ModelCatalogEntrySchema = object({
|
|
6921
6974
|
id: string(),
|
|
6922
6975
|
name: string(),
|
|
@@ -6946,7 +6999,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6946
6999
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6947
7000
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6948
7001
|
*/
|
|
6949
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7002
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7003
|
+
/**
|
|
7004
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7005
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7006
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7007
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7008
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7009
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7010
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7011
|
+
*/
|
|
7012
|
+
legacy: boolean().optional(),
|
|
7013
|
+
/**
|
|
7014
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7015
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7016
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7017
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7018
|
+
*/
|
|
7019
|
+
metrics: object({
|
|
7020
|
+
map50: number().optional(),
|
|
7021
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7022
|
+
}).optional(),
|
|
7023
|
+
/**
|
|
7024
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7025
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7026
|
+
* the retraining addon and any future commercial distribution.
|
|
7027
|
+
*/
|
|
7028
|
+
license: string().optional(),
|
|
7029
|
+
/**
|
|
7030
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7031
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7032
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7033
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7034
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7035
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7036
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7037
|
+
*/
|
|
7038
|
+
group: ModelVariantGroupSchema.optional()
|
|
6950
7039
|
});
|
|
6951
7040
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6952
7041
|
format: literal("openvino"),
|
|
@@ -7124,8 +7213,8 @@ var RecordingModeSchema = _enum([
|
|
|
7124
7213
|
"onAudioThreshold"
|
|
7125
7214
|
]);
|
|
7126
7215
|
/**
|
|
7127
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7128
|
-
* reads directly (never inferred from `rules`):
|
|
7216
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7217
|
+
* UI reads directly (never inferred from `rules`):
|
|
7129
7218
|
* - `off` — not recording.
|
|
7130
7219
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7131
7220
|
* with pre/post-buffer.
|
|
@@ -8827,26 +8916,13 @@ DeviceType.Light, method(object({
|
|
|
8827
8916
|
percentage: number().min(0).max(100),
|
|
8828
8917
|
lastChangedAt: number()
|
|
8829
8918
|
});
|
|
8919
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8830
8920
|
var StreamFormatSchema = _enum([
|
|
8831
8921
|
"webrtc",
|
|
8832
8922
|
"hls",
|
|
8833
8923
|
"mjpeg",
|
|
8834
8924
|
"rtsp"
|
|
8835
8925
|
]);
|
|
8836
|
-
var StreamInfoSchema = object({
|
|
8837
|
-
streamId: string(),
|
|
8838
|
-
format: StreamFormatSchema,
|
|
8839
|
-
url: string().nullable(),
|
|
8840
|
-
active: boolean()
|
|
8841
|
-
});
|
|
8842
|
-
method(object({
|
|
8843
|
-
streamId: string(),
|
|
8844
|
-
sourceUrl: string(),
|
|
8845
|
-
codec: string().optional()
|
|
8846
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8847
|
-
streamId: string(),
|
|
8848
|
-
format: StreamFormatSchema
|
|
8849
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8850
8926
|
var RtspRestreamEntrySchema = object({
|
|
8851
8927
|
brokerId: string(),
|
|
8852
8928
|
url: string(),
|
|
@@ -9511,7 +9587,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9511
9587
|
})),
|
|
9512
9588
|
lastChangedAt: number()
|
|
9513
9589
|
});
|
|
9514
|
-
|
|
9590
|
+
Object.values(DeviceType), method(object({
|
|
9515
9591
|
deviceId: number().int().nonnegative(),
|
|
9516
9592
|
key: string().min(1)
|
|
9517
9593
|
}), _void(), {
|
|
@@ -10426,7 +10502,7 @@ var BoundingBoxSchema = object({
|
|
|
10426
10502
|
w: number(),
|
|
10427
10503
|
h: number()
|
|
10428
10504
|
});
|
|
10429
|
-
|
|
10505
|
+
object({
|
|
10430
10506
|
class: string(),
|
|
10431
10507
|
originalClass: string(),
|
|
10432
10508
|
score: number(),
|
|
@@ -10561,7 +10637,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10561
10637
|
enabled: boolean(),
|
|
10562
10638
|
modelId: string(),
|
|
10563
10639
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10564
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10565
10640
|
group: string().optional(),
|
|
10566
10641
|
settings: record(string(), unknown()).optional()
|
|
10567
10642
|
}));
|
|
@@ -10586,7 +10661,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10586
10661
|
formats: record(string(), object({
|
|
10587
10662
|
downloaded: boolean(),
|
|
10588
10663
|
sizeMB: number()
|
|
10589
|
-
}))
|
|
10664
|
+
})),
|
|
10665
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10666
|
+
legacy: boolean().optional()
|
|
10590
10667
|
});
|
|
10591
10668
|
var ConfigFieldBridge = custom();
|
|
10592
10669
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10600,6 +10677,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10600
10677
|
defaultModelId: string(),
|
|
10601
10678
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10602
10679
|
enabledByDefault: boolean().optional(),
|
|
10680
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10603
10681
|
defaultConfidence: number(),
|
|
10604
10682
|
group: string().optional(),
|
|
10605
10683
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10616,11 +10694,6 @@ var PipelineSchemaSchema = object({
|
|
|
10616
10694
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10617
10695
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10618
10696
|
});
|
|
10619
|
-
var DetectorOutputSchema = object({
|
|
10620
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10621
|
-
inferenceMs: number(),
|
|
10622
|
-
modelId: string()
|
|
10623
|
-
});
|
|
10624
10697
|
var EngineProvisioningSchema = object({
|
|
10625
10698
|
runtimeId: _enum([
|
|
10626
10699
|
"onnx",
|
|
@@ -10637,15 +10710,42 @@ var EngineProvisioningSchema = object({
|
|
|
10637
10710
|
]),
|
|
10638
10711
|
progress: number().optional(),
|
|
10639
10712
|
error: string().optional(),
|
|
10640
|
-
nextRetryAt: number().optional()
|
|
10713
|
+
nextRetryAt: number().optional(),
|
|
10714
|
+
/**
|
|
10715
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10716
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10717
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10718
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10719
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10720
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10721
|
+
*/
|
|
10722
|
+
configIssues: array(string()).optional()
|
|
10641
10723
|
});
|
|
10642
10724
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10643
10725
|
addonId: string(),
|
|
10644
|
-
modelId: string(),
|
|
10726
|
+
modelId: string().optional(),
|
|
10645
10727
|
enabled: boolean().default(true),
|
|
10646
10728
|
children: array(PipelineStepInputSchema).optional(),
|
|
10647
10729
|
settings: record(string(), unknown()).optional()
|
|
10648
10730
|
}));
|
|
10731
|
+
var ModelSubstitutionSchema = object({
|
|
10732
|
+
addonId: string(),
|
|
10733
|
+
chosen: string(),
|
|
10734
|
+
running: string(),
|
|
10735
|
+
format: string()
|
|
10736
|
+
});
|
|
10737
|
+
var PipelineValidationIssueSchema = object({
|
|
10738
|
+
addonId: string(),
|
|
10739
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10740
|
+
detail: string()
|
|
10741
|
+
});
|
|
10742
|
+
var PipelineValidationResultSchema = object({
|
|
10743
|
+
ok: boolean(),
|
|
10744
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10745
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10746
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10747
|
+
format: string()
|
|
10748
|
+
});
|
|
10649
10749
|
var ReferenceImageEntrySchema = object({
|
|
10650
10750
|
filename: string(),
|
|
10651
10751
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10716,7 +10816,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10716
10816
|
})) }), object({ success: literal(true) }), {
|
|
10717
10817
|
kind: "mutation",
|
|
10718
10818
|
auth: "admin"
|
|
10719
|
-
}), method(
|
|
10819
|
+
}), method(object({ nodeId: string() }), object({
|
|
10820
|
+
success: literal(true),
|
|
10821
|
+
clearedDevices: number()
|
|
10822
|
+
}), {
|
|
10823
|
+
kind: "mutation",
|
|
10824
|
+
auth: "admin"
|
|
10825
|
+
}), 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({
|
|
10720
10826
|
name: string(),
|
|
10721
10827
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10722
10828
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10733,10 +10839,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10733
10839
|
modelId: string(),
|
|
10734
10840
|
format: ModelFormatSchema$1
|
|
10735
10841
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10736
|
-
addonId: string(),
|
|
10737
|
-
frame: FrameInputSchema,
|
|
10738
|
-
config: record(string(), unknown()).optional()
|
|
10739
|
-
}), DetectorOutputSchema), method(object({
|
|
10740
10842
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10741
10843
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10742
10844
|
frame: FrameInputSchema.optional(),
|
|
@@ -10757,7 +10859,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10757
10859
|
image: _instanceof(Uint8Array).optional(),
|
|
10758
10860
|
referenceImage: string().optional(),
|
|
10759
10861
|
deviceId: number().optional(),
|
|
10760
|
-
sessionId: string().optional()
|
|
10862
|
+
sessionId: string().optional(),
|
|
10863
|
+
/**
|
|
10864
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10865
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10866
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10867
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10868
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10869
|
+
*/
|
|
10870
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10761
10871
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10762
10872
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10763
10873
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10882,6 +10992,47 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(ZoneSchema).read
|
|
|
10882
10992
|
auth: "admin"
|
|
10883
10993
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10884
10994
|
/**
|
|
10995
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
10996
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
10997
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
10998
|
+
* dims — no native resolution to plumb.
|
|
10999
|
+
*/
|
|
11000
|
+
var NativeCropBboxSchema = object({
|
|
11001
|
+
x: number(),
|
|
11002
|
+
y: number(),
|
|
11003
|
+
w: number(),
|
|
11004
|
+
h: number()
|
|
11005
|
+
});
|
|
11006
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
11007
|
+
var NativeCropResultSchema = object({
|
|
11008
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
11009
|
+
bytes: _instanceof(Uint8Array),
|
|
11010
|
+
width: number().int().positive(),
|
|
11011
|
+
height: number().int().positive()
|
|
11012
|
+
});
|
|
11013
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11014
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11015
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11016
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11017
|
+
* normalized [0,1] convention). */
|
|
11018
|
+
var DetailParentSchema = object({
|
|
11019
|
+
bbox: NativeCropBboxSchema,
|
|
11020
|
+
className: string()
|
|
11021
|
+
});
|
|
11022
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11023
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11024
|
+
* single tracked detection. */
|
|
11025
|
+
var DetailResultSchema = object({
|
|
11026
|
+
stepId: string(),
|
|
11027
|
+
className: string(),
|
|
11028
|
+
score: number(),
|
|
11029
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11030
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11031
|
+
embedding: string().optional(),
|
|
11032
|
+
label: string().optional(),
|
|
11033
|
+
alignedCropJpeg: string().optional()
|
|
11034
|
+
});
|
|
11035
|
+
/**
|
|
10885
11036
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10886
11037
|
* by both the Zod data schema (validation + default fallback) and
|
|
10887
11038
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -10976,6 +11127,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10976
11127
|
kind: literal("remote-restream"),
|
|
10977
11128
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
10978
11129
|
ownerNodeId: string(),
|
|
11130
|
+
/**
|
|
11131
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
11132
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
11133
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
11134
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
11135
|
+
*/
|
|
11136
|
+
ownerReachableHost: string().optional(),
|
|
10979
11137
|
/** Operator override for the owner host the runner dials. */
|
|
10980
11138
|
hubHostnameOverride: string().optional()
|
|
10981
11139
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -10984,13 +11142,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10984
11142
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
10985
11143
|
* runner needs to subscribe to the local broker and execute inference.
|
|
10986
11144
|
*
|
|
10987
|
-
* Stateless-pipeline model: the
|
|
10988
|
-
*
|
|
10989
|
-
*
|
|
10990
|
-
*
|
|
10991
|
-
*
|
|
10992
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
10993
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
11145
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
11146
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
11147
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
11148
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
11149
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
10994
11150
|
*/
|
|
10995
11151
|
var RunnerCameraConfigSchema = object({
|
|
10996
11152
|
deviceId: number(),
|
|
@@ -11041,14 +11197,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
11041
11197
|
*/
|
|
11042
11198
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
11043
11199
|
pipelineEnabled: boolean().default(true),
|
|
11044
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
11045
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11046
11200
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
11047
11201
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
11048
11202
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
11049
11203
|
audio: object({
|
|
11050
|
-
|
|
11051
|
-
modelId: string(),
|
|
11204
|
+
modelId: string().optional(),
|
|
11052
11205
|
enabled: boolean()
|
|
11053
11206
|
}).nullable().optional(),
|
|
11054
11207
|
/**
|
|
@@ -11135,7 +11288,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
11135
11288
|
avgInferenceTimeMs: number(),
|
|
11136
11289
|
queueDepth: number()
|
|
11137
11290
|
});
|
|
11138
|
-
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())
|
|
11291
|
+
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({
|
|
11292
|
+
handle: FrameHandleSchema,
|
|
11293
|
+
bbox: NativeCropBboxSchema,
|
|
11294
|
+
maxWidth: number().int().positive().optional()
|
|
11295
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11296
|
+
deviceId: number(),
|
|
11297
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11298
|
+
cropJpeg: string().optional(),
|
|
11299
|
+
parent: DetailParentSchema,
|
|
11300
|
+
steps: array(string()).optional()
|
|
11301
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11139
11302
|
object({
|
|
11140
11303
|
detected: boolean(),
|
|
11141
11304
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12429,7 +12592,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12429
12592
|
icon: string(),
|
|
12430
12593
|
path: string(),
|
|
12431
12594
|
remoteName: string(),
|
|
12432
|
-
bundle: string()
|
|
12595
|
+
bundle: string(),
|
|
12596
|
+
section: string().optional(),
|
|
12597
|
+
sectionLabel: string().optional()
|
|
12433
12598
|
});
|
|
12434
12599
|
var AddonPageInfoSchema = object({
|
|
12435
12600
|
addonId: string(),
|
|
@@ -12469,7 +12634,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12469
12634
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12470
12635
|
* without a separate filesystem stat.
|
|
12471
12636
|
*/
|
|
12472
|
-
bundle: string()
|
|
12637
|
+
bundle: string(),
|
|
12638
|
+
/**
|
|
12639
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12640
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12641
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12642
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12643
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12644
|
+
* "Addon Pages" group.
|
|
12645
|
+
*/
|
|
12646
|
+
section: string().optional(),
|
|
12647
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12648
|
+
sectionLabel: string().optional()
|
|
12473
12649
|
});
|
|
12474
12650
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12475
12651
|
var AddonHttpRouteSchema = object({
|
|
@@ -12704,6 +12880,17 @@ var WidgetMetadataSchema = object({
|
|
|
12704
12880
|
deviceContext: boolean().default(false),
|
|
12705
12881
|
integrationContext: boolean().default(false)
|
|
12706
12882
|
}),
|
|
12883
|
+
/**
|
|
12884
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12885
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12886
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12887
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12888
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12889
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12890
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12891
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12892
|
+
*/
|
|
12893
|
+
preAuth: boolean().optional().default(false),
|
|
12707
12894
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12708
12895
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12709
12896
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -13005,6 +13192,66 @@ method(object({
|
|
|
13005
13192
|
password: string()
|
|
13006
13193
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
13007
13194
|
/**
|
|
13195
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13196
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13197
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13198
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13199
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13200
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13201
|
+
*
|
|
13202
|
+
* A contribution is a discriminated union on `kind`:
|
|
13203
|
+
*
|
|
13204
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13205
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13206
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13207
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13208
|
+
* login page needs NO change.
|
|
13209
|
+
*
|
|
13210
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13211
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13212
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13213
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13214
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13215
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13216
|
+
*
|
|
13217
|
+
* Every contribution carries a `stage`:
|
|
13218
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13219
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13220
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13221
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13222
|
+
*
|
|
13223
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13224
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13225
|
+
* tRPC router.
|
|
13226
|
+
*/
|
|
13227
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13228
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13229
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13230
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13231
|
+
kind: literal("redirect"),
|
|
13232
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13233
|
+
id: string(),
|
|
13234
|
+
/** Operator-facing button label. */
|
|
13235
|
+
label: string(),
|
|
13236
|
+
/** lucide-react icon name. */
|
|
13237
|
+
icon: string().optional(),
|
|
13238
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13239
|
+
startUrl: string(),
|
|
13240
|
+
stage: LoginStageEnum
|
|
13241
|
+
}), object({
|
|
13242
|
+
kind: literal("widget"),
|
|
13243
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13244
|
+
id: string(),
|
|
13245
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13246
|
+
addonId: string(),
|
|
13247
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13248
|
+
bundle: string(),
|
|
13249
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13250
|
+
remote: WidgetRemoteSchema,
|
|
13251
|
+
stage: LoginStageEnum
|
|
13252
|
+
})]);
|
|
13253
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13254
|
+
/**
|
|
13008
13255
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
13009
13256
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
13010
13257
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -15160,7 +15407,17 @@ var TrackSchema = object({
|
|
|
15160
15407
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
15161
15408
|
totalDistance: number(),
|
|
15162
15409
|
state: TrackStateSchema,
|
|
15163
|
-
active: boolean()
|
|
15410
|
+
active: boolean(),
|
|
15411
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15412
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15413
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15414
|
+
importance: number().optional(),
|
|
15415
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15416
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15417
|
+
bestEventId: string().optional(),
|
|
15418
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15419
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15420
|
+
importanceReason: string().optional()
|
|
15164
15421
|
});
|
|
15165
15422
|
var BaseEventFields = {
|
|
15166
15423
|
id: string(),
|
|
@@ -15225,8 +15482,18 @@ var ObjectEventSchema = object({
|
|
|
15225
15482
|
frameHeight: number().optional(),
|
|
15226
15483
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
15227
15484
|
mediaKey: string().optional(),
|
|
15485
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15486
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15487
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15488
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15489
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15490
|
+
keyFrameMediaKey: string().optional(),
|
|
15228
15491
|
/** Populated by B5 (recording playback URL for this event). */
|
|
15229
|
-
mediaUrl: string().optional()
|
|
15492
|
+
mediaUrl: string().optional(),
|
|
15493
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15494
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15495
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15496
|
+
importance: number().optional()
|
|
15230
15497
|
});
|
|
15231
15498
|
var AudioEventSchema = object({
|
|
15232
15499
|
...BaseEventFields,
|
|
@@ -15250,7 +15517,8 @@ var MediaFileKindEnum = _enum([
|
|
|
15250
15517
|
"fullFrame",
|
|
15251
15518
|
"fullFrameBoxed",
|
|
15252
15519
|
"faceCrop",
|
|
15253
|
-
"plateCrop"
|
|
15520
|
+
"plateCrop",
|
|
15521
|
+
"keyFrame"
|
|
15254
15522
|
]);
|
|
15255
15523
|
var MediaFileSchema = object({
|
|
15256
15524
|
key: string(),
|
|
@@ -15271,6 +15539,32 @@ var DeviceEventQueryInput = object({
|
|
|
15271
15539
|
projection: _enum(["full", "slim"]).optional()
|
|
15272
15540
|
});
|
|
15273
15541
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15542
|
+
var KeyEventQueryInput = object({
|
|
15543
|
+
deviceId: number(),
|
|
15544
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15545
|
+
since: number(),
|
|
15546
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15547
|
+
until: number(),
|
|
15548
|
+
limit: number().int().min(1).max(200).default(50),
|
|
15549
|
+
/** Drop tracks scoring below this importance. */
|
|
15550
|
+
minImportance: number().min(0).max(1).optional(),
|
|
15551
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15552
|
+
classFilter: string().optional()
|
|
15553
|
+
});
|
|
15554
|
+
var KeyEventSchema = object({
|
|
15555
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15556
|
+
id: string(),
|
|
15557
|
+
trackId: string(),
|
|
15558
|
+
/** Track start time (firstSeen). */
|
|
15559
|
+
timestamp: number(),
|
|
15560
|
+
className: string(),
|
|
15561
|
+
label: string().optional(),
|
|
15562
|
+
importance: number(),
|
|
15563
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15564
|
+
bestEventId: string(),
|
|
15565
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15566
|
+
windowMs: number().optional()
|
|
15567
|
+
});
|
|
15274
15568
|
var TrackedDetectionSchema = object({
|
|
15275
15569
|
trackId: string(),
|
|
15276
15570
|
className: string(),
|
|
@@ -15300,7 +15594,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15300
15594
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
15301
15595
|
kind: "mutation",
|
|
15302
15596
|
auth: "admin"
|
|
15303
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15597
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15304
15598
|
deviceId: number(),
|
|
15305
15599
|
since: number(),
|
|
15306
15600
|
until: number(),
|
|
@@ -15345,11 +15639,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15345
15639
|
timestamp: number()
|
|
15346
15640
|
});
|
|
15347
15641
|
var CameraPipelineConfigSchema = object({
|
|
15348
|
-
engine: PipelineEngineChoiceSchema,
|
|
15642
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15349
15643
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15350
15644
|
audio: object({
|
|
15351
|
-
engine: PipelineEngineChoiceSchema,
|
|
15352
|
-
modelId: string(),
|
|
15645
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15646
|
+
modelId: string().optional(),
|
|
15353
15647
|
enabled: boolean(),
|
|
15354
15648
|
settings: record(string(), unknown()).readonly().optional()
|
|
15355
15649
|
}).nullable().optional()
|
|
@@ -15364,7 +15658,7 @@ var PipelineTemplateSchema = object({
|
|
|
15364
15658
|
});
|
|
15365
15659
|
var AgentAddonConfigSchema = object({
|
|
15366
15660
|
enabled: boolean(),
|
|
15367
|
-
modelId: string(),
|
|
15661
|
+
modelId: string().optional(),
|
|
15368
15662
|
settings: record(string(), unknown()).readonly()
|
|
15369
15663
|
});
|
|
15370
15664
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15374,12 +15668,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15374
15668
|
detectWeight: number().positive().optional(),
|
|
15375
15669
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15376
15670
|
detect: boolean().optional(),
|
|
15377
|
-
/**
|
|
15671
|
+
/**
|
|
15672
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15673
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15674
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15675
|
+
* parse — no code reads it and no write path emits it.
|
|
15676
|
+
*/
|
|
15378
15677
|
decode: boolean().optional(),
|
|
15379
15678
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15380
15679
|
audio: boolean().optional(),
|
|
15381
15680
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15382
|
-
ingest: boolean().optional()
|
|
15681
|
+
ingest: boolean().optional(),
|
|
15682
|
+
/**
|
|
15683
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15684
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15685
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15686
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15687
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15688
|
+
*/
|
|
15689
|
+
reachableHost: string().optional()
|
|
15383
15690
|
});
|
|
15384
15691
|
var CameraPipelineForAgentSchema = object({
|
|
15385
15692
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15427,25 +15734,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15427
15734
|
assignedAt: number()
|
|
15428
15735
|
});
|
|
15429
15736
|
/**
|
|
15430
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15431
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15432
|
-
* → co-located with pipeline → capacity).
|
|
15433
|
-
*/
|
|
15434
|
-
var DecoderAssignmentSchema = object({
|
|
15435
|
-
deviceId: number(),
|
|
15436
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15437
|
-
decoderNodeId: string(),
|
|
15438
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15439
|
-
pinned: boolean(),
|
|
15440
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15441
|
-
reason: _enum([
|
|
15442
|
-
"manual",
|
|
15443
|
-
"co-located",
|
|
15444
|
-
"capacity",
|
|
15445
|
-
"hardware-affinity"
|
|
15446
|
-
])
|
|
15447
|
-
});
|
|
15448
|
-
/**
|
|
15449
15737
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15450
15738
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15451
15739
|
*/
|
|
@@ -15485,6 +15773,15 @@ var GlobalMetricsSchema = object({
|
|
|
15485
15773
|
* capability providers.
|
|
15486
15774
|
*/
|
|
15487
15775
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15776
|
+
/**
|
|
15777
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15778
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15779
|
+
*/
|
|
15780
|
+
var IngestOwnerSchema = object({
|
|
15781
|
+
ownerNodeId: string(),
|
|
15782
|
+
reachableHost: string().optional(),
|
|
15783
|
+
configIssue: string().optional()
|
|
15784
|
+
});
|
|
15488
15785
|
/** Source block — always present; derives from the stream catalog. */
|
|
15489
15786
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15490
15787
|
camStreamId: string(),
|
|
@@ -15499,6 +15796,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15499
15796
|
detectionNodeId: string().nullable(),
|
|
15500
15797
|
decoderNodeId: string().nullable(),
|
|
15501
15798
|
audioNodeId: string().nullable(),
|
|
15799
|
+
/**
|
|
15800
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15801
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15802
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15803
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15804
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15805
|
+
*/
|
|
15806
|
+
sourceNodeId: string().nullable(),
|
|
15502
15807
|
pinned: object({
|
|
15503
15808
|
detection: boolean(),
|
|
15504
15809
|
decoder: boolean(),
|
|
@@ -15631,16 +15936,7 @@ method(object({
|
|
|
15631
15936
|
}), object({ success: literal(true) }), {
|
|
15632
15937
|
kind: "mutation",
|
|
15633
15938
|
auth: "admin"
|
|
15634
|
-
}), method(object({
|
|
15635
|
-
deviceId: number(),
|
|
15636
|
-
nodeId: string()
|
|
15637
|
-
}), _void(), {
|
|
15638
|
-
kind: "mutation",
|
|
15639
|
-
auth: "admin"
|
|
15640
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
15641
|
-
kind: "mutation",
|
|
15642
|
-
auth: "admin"
|
|
15643
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15939
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15644
15940
|
deviceId: number(),
|
|
15645
15941
|
nodeId: string()
|
|
15646
15942
|
}), object({ success: literal(true) }), {
|
|
@@ -15661,10 +15957,7 @@ method(object({
|
|
|
15661
15957
|
nodeId: string(),
|
|
15662
15958
|
pinned: boolean(),
|
|
15663
15959
|
assignedAt: number()
|
|
15664
|
-
}))), method(object({
|
|
15665
|
-
deviceId: number(),
|
|
15666
|
-
pipelineNodeId: string().optional()
|
|
15667
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15960
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15668
15961
|
nodeId: string(),
|
|
15669
15962
|
settings: AgentPipelineSettingsSchema
|
|
15670
15963
|
})).readonly()), method(object({
|
|
@@ -15694,12 +15987,26 @@ method(object({
|
|
|
15694
15987
|
}), method(object({
|
|
15695
15988
|
agentNodeId: string(),
|
|
15696
15989
|
detect: boolean().nullable().optional(),
|
|
15697
|
-
decode: boolean().nullable().optional(),
|
|
15698
15990
|
audio: boolean().nullable().optional(),
|
|
15699
15991
|
ingest: boolean().nullable().optional()
|
|
15700
15992
|
}), object({ success: literal(true) }), {
|
|
15701
15993
|
kind: "mutation",
|
|
15702
15994
|
auth: "admin"
|
|
15995
|
+
}), method(object({
|
|
15996
|
+
agentNodeId: string(),
|
|
15997
|
+
reachableHost: string().nullable()
|
|
15998
|
+
}), object({ success: literal(true) }), {
|
|
15999
|
+
kind: "mutation",
|
|
16000
|
+
auth: "admin"
|
|
16001
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
16002
|
+
success: literal(true),
|
|
16003
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
16004
|
+
effectiveModelId: string().nullable(),
|
|
16005
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
16006
|
+
clearedCameraOverrides: number()
|
|
16007
|
+
}), {
|
|
16008
|
+
kind: "mutation",
|
|
16009
|
+
auth: "admin"
|
|
15703
16010
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15704
16011
|
deviceId: number(),
|
|
15705
16012
|
addonId: string(),
|
|
@@ -15744,22 +16051,131 @@ method(object({
|
|
|
15744
16051
|
kind: "mutation",
|
|
15745
16052
|
auth: "admin"
|
|
15746
16053
|
});
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
|
|
15750
|
-
|
|
15751
|
-
|
|
15752
|
-
|
|
16054
|
+
/**
|
|
16055
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
16056
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
16057
|
+
* agents).
|
|
16058
|
+
*
|
|
16059
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
16060
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
16061
|
+
* version describes the node. Updates install into
|
|
16062
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
16063
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
16064
|
+
*
|
|
16065
|
+
* Providers:
|
|
16066
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
16067
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
16068
|
+
* unpinned calls.
|
|
16069
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
16070
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
16071
|
+
* `$hub.registerNode` manifest.
|
|
16072
|
+
*
|
|
16073
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
16074
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
16075
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
16076
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
16077
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
16078
|
+
*
|
|
16079
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
16080
|
+
*/
|
|
16081
|
+
/**
|
|
16082
|
+
* Where the running hub's code was loaded from:
|
|
16083
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
16084
|
+
* plain resolution and runtime updates are refused.
|
|
16085
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
16086
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
16087
|
+
*/
|
|
16088
|
+
var ServerBootModeSchema = _enum([
|
|
16089
|
+
"workspace",
|
|
16090
|
+
"baked",
|
|
16091
|
+
"data-root"
|
|
16092
|
+
]);
|
|
16093
|
+
/**
|
|
16094
|
+
* Update lifecycle state:
|
|
16095
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
16096
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
16097
|
+
* restarted onto it (still running the OLD version).
|
|
16098
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
16099
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
16100
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
16101
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
16102
|
+
*/
|
|
16103
|
+
var ServerUpdateStateSchema = _enum([
|
|
16104
|
+
"idle",
|
|
16105
|
+
"checking",
|
|
16106
|
+
"staging",
|
|
16107
|
+
"pending-restart",
|
|
16108
|
+
"awaiting-confirmation"
|
|
16109
|
+
]);
|
|
16110
|
+
var ServerRollbackInfoSchema = object({
|
|
16111
|
+
/** The version that failed (or was manually rolled back). */
|
|
16112
|
+
fromVersion: string(),
|
|
16113
|
+
/** The version rolled back to; null = the baked seed. */
|
|
16114
|
+
toVersion: string().nullable(),
|
|
16115
|
+
atMs: number(),
|
|
16116
|
+
reason: string()
|
|
15753
16117
|
});
|
|
15754
|
-
var
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
16118
|
+
var ServerPackageStatusSchema = object({
|
|
16119
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
16120
|
+
packageName: string(),
|
|
16121
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
16122
|
+
runningVersion: string().nullable(),
|
|
16123
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
16124
|
+
nodeRuntimeVersion: string().nullable(),
|
|
16125
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
16126
|
+
activeVersion: string().nullable(),
|
|
16127
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
16128
|
+
previousVersion: string().nullable(),
|
|
16129
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
16130
|
+
seedVersion: string().nullable(),
|
|
16131
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
16132
|
+
latestVersion: string().nullable(),
|
|
16133
|
+
updateAvailable: boolean(),
|
|
16134
|
+
bootMode: ServerBootModeSchema,
|
|
16135
|
+
updateState: ServerUpdateStateSchema,
|
|
16136
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
16137
|
+
pendingVersion: string().nullable(),
|
|
16138
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
16139
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
16140
|
+
/**
|
|
16141
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
16142
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
16143
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
16144
|
+
*/
|
|
16145
|
+
stateFileCorrupt: boolean(),
|
|
16146
|
+
lastCheckedAtMs: number().nullable()
|
|
16147
|
+
});
|
|
16148
|
+
var ServerUpdateCheckResultSchema = object({
|
|
16149
|
+
packageName: string(),
|
|
16150
|
+
runningVersion: string().nullable(),
|
|
16151
|
+
latestVersion: string().nullable(),
|
|
16152
|
+
updateAvailable: boolean(),
|
|
16153
|
+
checkedAtMs: number(),
|
|
16154
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
16155
|
+
error: string().nullable()
|
|
16156
|
+
});
|
|
16157
|
+
var ServerUpdateActionResultSchema = object({
|
|
16158
|
+
accepted: boolean(),
|
|
16159
|
+
targetVersion: string().nullable(),
|
|
16160
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
16161
|
+
restarting: boolean(),
|
|
16162
|
+
message: string()
|
|
16163
|
+
});
|
|
16164
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
16165
|
+
kind: "mutation",
|
|
16166
|
+
auth: "admin"
|
|
16167
|
+
}), method(object({
|
|
16168
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
16169
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
16170
|
+
kind: "mutation",
|
|
16171
|
+
auth: "admin"
|
|
16172
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16173
|
+
kind: "mutation",
|
|
16174
|
+
auth: "admin"
|
|
16175
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16176
|
+
kind: "mutation",
|
|
16177
|
+
auth: "admin"
|
|
15758
16178
|
});
|
|
15759
|
-
method(object({
|
|
15760
|
-
deviceId: number(),
|
|
15761
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15762
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
15763
16179
|
/**
|
|
15764
16180
|
* Query filter for settings-store collections.
|
|
15765
16181
|
*/
|
|
@@ -15912,9 +16328,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
15912
16328
|
/**
|
|
15913
16329
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15914
16330
|
*
|
|
15915
|
-
*
|
|
15916
|
-
*
|
|
15917
|
-
*
|
|
16331
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16332
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16333
|
+
* prebuffer fallback.
|
|
15918
16334
|
*/
|
|
15919
16335
|
var SnapshotImageSchema = object({
|
|
15920
16336
|
base64: string(),
|
|
@@ -15945,11 +16361,12 @@ DeviceType.Camera, method(object({
|
|
|
15945
16361
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
15946
16362
|
kind: "mutation",
|
|
15947
16363
|
auth: "admin"
|
|
15948
|
-
})
|
|
15949
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
16364
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
15950
16365
|
deviceId: number(),
|
|
15951
|
-
|
|
15952
|
-
|
|
16366
|
+
lastCapturedAt: number().nullable(),
|
|
16367
|
+
cacheAgeMs: number().nullable(),
|
|
16368
|
+
etag: string().nullable()
|
|
16369
|
+
})));
|
|
15953
16370
|
/**
|
|
15954
16371
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15955
16372
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -16200,10 +16617,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
16200
16617
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
16201
16618
|
* the assertion, bumps the credential counter, returns ok.
|
|
16202
16619
|
*
|
|
16620
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16621
|
+
* passkey IS the primary factor, no password leg:
|
|
16622
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16623
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16624
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16625
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16626
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16627
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16628
|
+
* resolves the credential by the response's credential id,
|
|
16629
|
+
* verifies the assertion against the stored challenge + that
|
|
16630
|
+
* credential's public key/counter, and returns the OWNING
|
|
16631
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16632
|
+
*
|
|
16203
16633
|
* 3. Management:
|
|
16204
16634
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
16205
16635
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
16206
16636
|
*
|
|
16637
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16638
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16639
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16640
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16641
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16642
|
+
* row ⇒ `enabled: false`).
|
|
16643
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16644
|
+
* the providing addon beside its credentials.
|
|
16645
|
+
*
|
|
16207
16646
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
16208
16647
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
16209
16648
|
* the cap to non-admins.
|
|
@@ -16246,6 +16685,17 @@ method(object({
|
|
|
16246
16685
|
}), object({ verified: boolean() }), {
|
|
16247
16686
|
kind: "mutation",
|
|
16248
16687
|
access: "view"
|
|
16688
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16689
|
+
kind: "mutation",
|
|
16690
|
+
access: "view"
|
|
16691
|
+
}), method(object({
|
|
16692
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16693
|
+
response: record(string(), unknown()) }), object({
|
|
16694
|
+
verified: boolean(),
|
|
16695
|
+
userId: string().nullable()
|
|
16696
|
+
}), {
|
|
16697
|
+
kind: "mutation",
|
|
16698
|
+
access: "view"
|
|
16249
16699
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16250
16700
|
userId: string(),
|
|
16251
16701
|
credentialId: string()
|
|
@@ -16253,6 +16703,13 @@ method(object({
|
|
|
16253
16703
|
kind: "mutation",
|
|
16254
16704
|
auth: "admin",
|
|
16255
16705
|
access: "delete"
|
|
16706
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16707
|
+
userId: string(),
|
|
16708
|
+
enabled: boolean()
|
|
16709
|
+
}), object({ success: literal(true) }), {
|
|
16710
|
+
kind: "mutation",
|
|
16711
|
+
auth: "admin",
|
|
16712
|
+
access: "create"
|
|
16256
16713
|
});
|
|
16257
16714
|
/**
|
|
16258
16715
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16310,9 +16767,10 @@ method(object({
|
|
|
16310
16767
|
auth: "admin"
|
|
16311
16768
|
});
|
|
16312
16769
|
/**
|
|
16313
|
-
* Optional client-side hints sent at session creation to help the
|
|
16314
|
-
*
|
|
16315
|
-
*
|
|
16770
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16771
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16772
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16773
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16316
16774
|
*/
|
|
16317
16775
|
var webrtcClientHintsSchema = object({
|
|
16318
16776
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -16323,22 +16781,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16323
16781
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16324
16782
|
prefersTier: string().optional()
|
|
16325
16783
|
}).partial();
|
|
16326
|
-
method(object({
|
|
16327
|
-
streamId: string(),
|
|
16328
|
-
sdpOffer: string()
|
|
16329
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16330
|
-
streamId: string(),
|
|
16331
|
-
codec: string()
|
|
16332
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16333
|
-
streamId: string(),
|
|
16334
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16335
|
-
}), object({
|
|
16336
|
-
sessionId: string(),
|
|
16337
|
-
sdpOffer: string()
|
|
16338
|
-
}), { kind: "mutation" }), method(object({
|
|
16339
|
-
sessionId: string(),
|
|
16340
|
-
sdpAnswer: string()
|
|
16341
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16342
16784
|
/**
|
|
16343
16785
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16344
16786
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -17069,7 +17511,17 @@ var FaceInfoSchema = object({
|
|
|
17069
17511
|
recognizedIdentityId: string().optional(),
|
|
17070
17512
|
identityName: string().optional(),
|
|
17071
17513
|
assigned: boolean(),
|
|
17072
|
-
base64: string().optional()
|
|
17514
|
+
base64: string().optional(),
|
|
17515
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17516
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17517
|
+
* legacy rows written before design B. */
|
|
17518
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17519
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17520
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17521
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17522
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17523
|
+
* back to the inline `base64` face crop. */
|
|
17524
|
+
keyFrameMediaKey: string().optional()
|
|
17073
17525
|
});
|
|
17074
17526
|
var FaceFilterEnum = _enum([
|
|
17075
17527
|
"unassigned",
|
|
@@ -17766,6 +18218,16 @@ var TopologyCategorySchema = object({
|
|
|
17766
18218
|
healthy: number(),
|
|
17767
18219
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17768
18220
|
});
|
|
18221
|
+
/**
|
|
18222
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18223
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18224
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18225
|
+
* rows and pre-phase-2 nodes report none.
|
|
18226
|
+
*/
|
|
18227
|
+
var TopologyRootPackageSchema = object({
|
|
18228
|
+
name: string(),
|
|
18229
|
+
version: string()
|
|
18230
|
+
});
|
|
17769
18231
|
var TopologyNodeSchema = object({
|
|
17770
18232
|
id: string(),
|
|
17771
18233
|
name: string(),
|
|
@@ -17789,7 +18251,8 @@ var TopologyNodeSchema = object({
|
|
|
17789
18251
|
status: string()
|
|
17790
18252
|
})).readonly(),
|
|
17791
18253
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17792
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18254
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18255
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17793
18256
|
});
|
|
17794
18257
|
var CapUsageEdgeSchema = object({
|
|
17795
18258
|
callerAddonId: string(),
|
|
@@ -20589,6 +21052,12 @@ Object.freeze({
|
|
|
20589
21052
|
addonId: null,
|
|
20590
21053
|
access: "create"
|
|
20591
21054
|
},
|
|
21055
|
+
"loginMethod.getLoginMethods": {
|
|
21056
|
+
capName: "login-method",
|
|
21057
|
+
capScope: "system",
|
|
21058
|
+
addonId: null,
|
|
21059
|
+
access: "view"
|
|
21060
|
+
},
|
|
20592
21061
|
"mediaPlayer.next": {
|
|
20593
21062
|
capName: "media-player",
|
|
20594
21063
|
capScope: "device",
|
|
@@ -21171,6 +21640,12 @@ Object.freeze({
|
|
|
21171
21640
|
addonId: null,
|
|
21172
21641
|
access: "view"
|
|
21173
21642
|
},
|
|
21643
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21644
|
+
capName: "pipeline-analytics",
|
|
21645
|
+
capScope: "device",
|
|
21646
|
+
addonId: null,
|
|
21647
|
+
access: "view"
|
|
21648
|
+
},
|
|
21174
21649
|
"pipelineAnalytics.getMotionEvents": {
|
|
21175
21650
|
capName: "pipeline-analytics",
|
|
21176
21651
|
capScope: "device",
|
|
@@ -21219,23 +21694,23 @@ Object.freeze({
|
|
|
21219
21694
|
addonId: null,
|
|
21220
21695
|
access: "create"
|
|
21221
21696
|
},
|
|
21222
|
-
"pipelineExecutor.
|
|
21697
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
21223
21698
|
capName: "pipeline-executor",
|
|
21224
21699
|
capScope: "system",
|
|
21225
21700
|
addonId: null,
|
|
21226
21701
|
access: "delete"
|
|
21227
21702
|
},
|
|
21228
|
-
"pipelineExecutor.
|
|
21703
|
+
"pipelineExecutor.deleteModel": {
|
|
21229
21704
|
capName: "pipeline-executor",
|
|
21230
21705
|
capScope: "system",
|
|
21231
21706
|
addonId: null,
|
|
21232
21707
|
access: "delete"
|
|
21233
21708
|
},
|
|
21234
|
-
"pipelineExecutor.
|
|
21709
|
+
"pipelineExecutor.deleteTemplate": {
|
|
21235
21710
|
capName: "pipeline-executor",
|
|
21236
21711
|
capScope: "system",
|
|
21237
21712
|
addonId: null,
|
|
21238
|
-
access: "
|
|
21713
|
+
access: "delete"
|
|
21239
21714
|
},
|
|
21240
21715
|
"pipelineExecutor.downloadModel": {
|
|
21241
21716
|
capName: "pipeline-executor",
|
|
@@ -21429,13 +21904,13 @@ Object.freeze({
|
|
|
21429
21904
|
addonId: null,
|
|
21430
21905
|
access: "create"
|
|
21431
21906
|
},
|
|
21432
|
-
"
|
|
21433
|
-
capName: "pipeline-
|
|
21907
|
+
"pipelineExecutor.validatePipeline": {
|
|
21908
|
+
capName: "pipeline-executor",
|
|
21434
21909
|
capScope: "system",
|
|
21435
21910
|
addonId: null,
|
|
21436
|
-
access: "
|
|
21911
|
+
access: "view"
|
|
21437
21912
|
},
|
|
21438
|
-
"pipelineOrchestrator.
|
|
21913
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21439
21914
|
capName: "pipeline-orchestrator",
|
|
21440
21915
|
capScope: "system",
|
|
21441
21916
|
addonId: null,
|
|
@@ -21519,19 +21994,13 @@ Object.freeze({
|
|
|
21519
21994
|
addonId: null,
|
|
21520
21995
|
access: "view"
|
|
21521
21996
|
},
|
|
21522
|
-
"pipelineOrchestrator.
|
|
21997
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21523
21998
|
capName: "pipeline-orchestrator",
|
|
21524
21999
|
capScope: "system",
|
|
21525
22000
|
addonId: null,
|
|
21526
22001
|
access: "view"
|
|
21527
22002
|
},
|
|
21528
|
-
"pipelineOrchestrator.
|
|
21529
|
-
capName: "pipeline-orchestrator",
|
|
21530
|
-
capScope: "system",
|
|
21531
|
-
addonId: null,
|
|
21532
|
-
access: "view"
|
|
21533
|
-
},
|
|
21534
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
22003
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21535
22004
|
capName: "pipeline-orchestrator",
|
|
21536
22005
|
capScope: "system",
|
|
21537
22006
|
addonId: null,
|
|
@@ -21573,6 +22042,12 @@ Object.freeze({
|
|
|
21573
22042
|
addonId: null,
|
|
21574
22043
|
access: "delete"
|
|
21575
22044
|
},
|
|
22045
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
22046
|
+
capName: "pipeline-orchestrator",
|
|
22047
|
+
capScope: "system",
|
|
22048
|
+
addonId: null,
|
|
22049
|
+
access: "delete"
|
|
22050
|
+
},
|
|
21576
22051
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21577
22052
|
capName: "pipeline-orchestrator",
|
|
21578
22053
|
capScope: "system",
|
|
@@ -21609,37 +22084,37 @@ Object.freeze({
|
|
|
21609
22084
|
addonId: null,
|
|
21610
22085
|
access: "create"
|
|
21611
22086
|
},
|
|
21612
|
-
"pipelineOrchestrator.
|
|
22087
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21613
22088
|
capName: "pipeline-orchestrator",
|
|
21614
22089
|
capScope: "system",
|
|
21615
22090
|
addonId: null,
|
|
21616
22091
|
access: "create"
|
|
21617
22092
|
},
|
|
21618
|
-
"pipelineOrchestrator.
|
|
22093
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21619
22094
|
capName: "pipeline-orchestrator",
|
|
21620
22095
|
capScope: "system",
|
|
21621
22096
|
addonId: null,
|
|
21622
22097
|
access: "create"
|
|
21623
22098
|
},
|
|
21624
|
-
"pipelineOrchestrator.
|
|
22099
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21625
22100
|
capName: "pipeline-orchestrator",
|
|
21626
22101
|
capScope: "system",
|
|
21627
22102
|
addonId: null,
|
|
21628
22103
|
access: "create"
|
|
21629
22104
|
},
|
|
21630
|
-
"pipelineOrchestrator.
|
|
22105
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21631
22106
|
capName: "pipeline-orchestrator",
|
|
21632
22107
|
capScope: "system",
|
|
21633
22108
|
addonId: null,
|
|
21634
22109
|
access: "create"
|
|
21635
22110
|
},
|
|
21636
|
-
"pipelineOrchestrator.
|
|
22111
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21637
22112
|
capName: "pipeline-orchestrator",
|
|
21638
22113
|
capScope: "system",
|
|
21639
22114
|
addonId: null,
|
|
21640
22115
|
access: "create"
|
|
21641
22116
|
},
|
|
21642
|
-
"pipelineOrchestrator.
|
|
22117
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21643
22118
|
capName: "pipeline-orchestrator",
|
|
21644
22119
|
capScope: "system",
|
|
21645
22120
|
addonId: null,
|
|
@@ -21699,12 +22174,24 @@ Object.freeze({
|
|
|
21699
22174
|
addonId: null,
|
|
21700
22175
|
access: "view"
|
|
21701
22176
|
},
|
|
22177
|
+
"pipelineRunner.getNativeCrop": {
|
|
22178
|
+
capName: "pipeline-runner",
|
|
22179
|
+
capScope: "system",
|
|
22180
|
+
addonId: null,
|
|
22181
|
+
access: "view"
|
|
22182
|
+
},
|
|
21702
22183
|
"pipelineRunner.reportMotion": {
|
|
21703
22184
|
capName: "pipeline-runner",
|
|
21704
22185
|
capScope: "system",
|
|
21705
22186
|
addonId: null,
|
|
21706
22187
|
access: "create"
|
|
21707
22188
|
},
|
|
22189
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22190
|
+
capName: "pipeline-runner",
|
|
22191
|
+
capScope: "system",
|
|
22192
|
+
addonId: null,
|
|
22193
|
+
access: "create"
|
|
22194
|
+
},
|
|
21708
22195
|
"plateGallery.correctPlateText": {
|
|
21709
22196
|
capName: "plate-gallery",
|
|
21710
22197
|
capScope: "system",
|
|
@@ -21939,33 +22426,45 @@ Object.freeze({
|
|
|
21939
22426
|
addonId: null,
|
|
21940
22427
|
access: "create"
|
|
21941
22428
|
},
|
|
21942
|
-
"
|
|
21943
|
-
capName: "
|
|
22429
|
+
"scriptRunner.run": {
|
|
22430
|
+
capName: "script-runner",
|
|
22431
|
+
capScope: "device",
|
|
22432
|
+
addonId: null,
|
|
22433
|
+
access: "create"
|
|
22434
|
+
},
|
|
22435
|
+
"scriptRunner.stop": {
|
|
22436
|
+
capName: "script-runner",
|
|
22437
|
+
capScope: "device",
|
|
22438
|
+
addonId: null,
|
|
22439
|
+
access: "create"
|
|
22440
|
+
},
|
|
22441
|
+
"serverManagement.applyServerUpdate": {
|
|
22442
|
+
capName: "server-management",
|
|
21944
22443
|
capScope: "system",
|
|
21945
22444
|
addonId: null,
|
|
21946
|
-
access: "
|
|
22445
|
+
access: "create"
|
|
21947
22446
|
},
|
|
21948
|
-
"
|
|
21949
|
-
capName: "
|
|
22447
|
+
"serverManagement.checkServerUpdate": {
|
|
22448
|
+
capName: "server-management",
|
|
21950
22449
|
capScope: "system",
|
|
21951
22450
|
addonId: null,
|
|
21952
22451
|
access: "create"
|
|
21953
22452
|
},
|
|
21954
|
-
"
|
|
21955
|
-
capName: "
|
|
22453
|
+
"serverManagement.getServerPackageStatus": {
|
|
22454
|
+
capName: "server-management",
|
|
21956
22455
|
capScope: "system",
|
|
21957
22456
|
addonId: null,
|
|
21958
|
-
access: "
|
|
22457
|
+
access: "view"
|
|
21959
22458
|
},
|
|
21960
|
-
"
|
|
21961
|
-
capName: "
|
|
21962
|
-
capScope: "
|
|
22459
|
+
"serverManagement.restartServer": {
|
|
22460
|
+
capName: "server-management",
|
|
22461
|
+
capScope: "system",
|
|
21963
22462
|
addonId: null,
|
|
21964
22463
|
access: "create"
|
|
21965
22464
|
},
|
|
21966
|
-
"
|
|
21967
|
-
capName: "
|
|
21968
|
-
capScope: "
|
|
22465
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22466
|
+
capName: "server-management",
|
|
22467
|
+
capScope: "system",
|
|
21969
22468
|
addonId: null,
|
|
21970
22469
|
access: "create"
|
|
21971
22470
|
},
|
|
@@ -22053,23 +22552,17 @@ Object.freeze({
|
|
|
22053
22552
|
addonId: null,
|
|
22054
22553
|
access: "view"
|
|
22055
22554
|
},
|
|
22056
|
-
"snapshot.
|
|
22555
|
+
"snapshot.getSnapshotOverview": {
|
|
22057
22556
|
capName: "snapshot",
|
|
22058
22557
|
capScope: "device",
|
|
22059
22558
|
addonId: null,
|
|
22060
|
-
access: "create"
|
|
22061
|
-
},
|
|
22062
|
-
"snapshotProvider.getSnapshot": {
|
|
22063
|
-
capName: "snapshot-provider",
|
|
22064
|
-
capScope: "system",
|
|
22065
|
-
addonId: null,
|
|
22066
22559
|
access: "view"
|
|
22067
22560
|
},
|
|
22068
|
-
"
|
|
22069
|
-
capName: "snapshot
|
|
22070
|
-
capScope: "
|
|
22561
|
+
"snapshot.invalidateCache": {
|
|
22562
|
+
capName: "snapshot",
|
|
22563
|
+
capScope: "device",
|
|
22071
22564
|
addonId: null,
|
|
22072
|
-
access: "
|
|
22565
|
+
access: "create"
|
|
22073
22566
|
},
|
|
22074
22567
|
"ssoBridge.signBridgeToken": {
|
|
22075
22568
|
capName: "sso-bridge",
|
|
@@ -22497,30 +22990,6 @@ Object.freeze({
|
|
|
22497
22990
|
addonId: null,
|
|
22498
22991
|
access: "view"
|
|
22499
22992
|
},
|
|
22500
|
-
"streamingEngine.getStreamUrl": {
|
|
22501
|
-
capName: "streaming-engine",
|
|
22502
|
-
capScope: "system",
|
|
22503
|
-
addonId: null,
|
|
22504
|
-
access: "view"
|
|
22505
|
-
},
|
|
22506
|
-
"streamingEngine.listStreams": {
|
|
22507
|
-
capName: "streaming-engine",
|
|
22508
|
-
capScope: "system",
|
|
22509
|
-
addonId: null,
|
|
22510
|
-
access: "view"
|
|
22511
|
-
},
|
|
22512
|
-
"streamingEngine.registerStream": {
|
|
22513
|
-
capName: "streaming-engine",
|
|
22514
|
-
capScope: "system",
|
|
22515
|
-
addonId: null,
|
|
22516
|
-
access: "create"
|
|
22517
|
-
},
|
|
22518
|
-
"streamingEngine.unregisterStream": {
|
|
22519
|
-
capName: "streaming-engine",
|
|
22520
|
-
capScope: "system",
|
|
22521
|
-
addonId: null,
|
|
22522
|
-
access: "delete"
|
|
22523
|
-
},
|
|
22524
22993
|
"streamParams.getConfigSchema": {
|
|
22525
22994
|
capName: "stream-params",
|
|
22526
22995
|
capScope: "device",
|
|
@@ -22767,6 +23236,12 @@ Object.freeze({
|
|
|
22767
23236
|
addonId: null,
|
|
22768
23237
|
access: "view"
|
|
22769
23238
|
},
|
|
23239
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
23240
|
+
capName: "user-passkeys",
|
|
23241
|
+
capScope: "system",
|
|
23242
|
+
addonId: null,
|
|
23243
|
+
access: "view"
|
|
23244
|
+
},
|
|
22770
23245
|
"userPasskeys.beginRegistration": {
|
|
22771
23246
|
capName: "user-passkeys",
|
|
22772
23247
|
capScope: "system",
|
|
@@ -22779,12 +23254,24 @@ Object.freeze({
|
|
|
22779
23254
|
addonId: null,
|
|
22780
23255
|
access: "view"
|
|
22781
23256
|
},
|
|
23257
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23258
|
+
capName: "user-passkeys",
|
|
23259
|
+
capScope: "system",
|
|
23260
|
+
addonId: null,
|
|
23261
|
+
access: "view"
|
|
23262
|
+
},
|
|
22782
23263
|
"userPasskeys.finishRegistration": {
|
|
22783
23264
|
capName: "user-passkeys",
|
|
22784
23265
|
capScope: "system",
|
|
22785
23266
|
addonId: null,
|
|
22786
23267
|
access: "create"
|
|
22787
23268
|
},
|
|
23269
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23270
|
+
capName: "user-passkeys",
|
|
23271
|
+
capScope: "system",
|
|
23272
|
+
addonId: null,
|
|
23273
|
+
access: "view"
|
|
23274
|
+
},
|
|
22788
23275
|
"userPasskeys.listPasskeys": {
|
|
22789
23276
|
capName: "user-passkeys",
|
|
22790
23277
|
capScope: "system",
|
|
@@ -22797,6 +23284,12 @@ Object.freeze({
|
|
|
22797
23284
|
addonId: null,
|
|
22798
23285
|
access: "delete"
|
|
22799
23286
|
},
|
|
23287
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23288
|
+
capName: "user-passkeys",
|
|
23289
|
+
capScope: "system",
|
|
23290
|
+
addonId: null,
|
|
23291
|
+
access: "create"
|
|
23292
|
+
},
|
|
22800
23293
|
"vacuumControl.locate": {
|
|
22801
23294
|
capName: "vacuum-control",
|
|
22802
23295
|
capScope: "device",
|
|
@@ -22869,6 +23362,18 @@ Object.freeze({
|
|
|
22869
23362
|
addonId: null,
|
|
22870
23363
|
access: "view"
|
|
22871
23364
|
},
|
|
23365
|
+
"viewerUi.getStaticDir": {
|
|
23366
|
+
capName: "viewer-ui",
|
|
23367
|
+
capScope: "system",
|
|
23368
|
+
addonId: null,
|
|
23369
|
+
access: "view"
|
|
23370
|
+
},
|
|
23371
|
+
"viewerUi.getVersion": {
|
|
23372
|
+
capName: "viewer-ui",
|
|
23373
|
+
capScope: "system",
|
|
23374
|
+
addonId: null,
|
|
23375
|
+
access: "view"
|
|
23376
|
+
},
|
|
22872
23377
|
"waterHeater.setAway": {
|
|
22873
23378
|
capName: "water-heater",
|
|
22874
23379
|
capScope: "device",
|
|
@@ -22887,54 +23392,6 @@ Object.freeze({
|
|
|
22887
23392
|
addonId: null,
|
|
22888
23393
|
access: "create"
|
|
22889
23394
|
},
|
|
22890
|
-
"webrtc.closeSession": {
|
|
22891
|
-
capName: "webrtc",
|
|
22892
|
-
capScope: "system",
|
|
22893
|
-
addonId: null,
|
|
22894
|
-
access: "create"
|
|
22895
|
-
},
|
|
22896
|
-
"webrtc.createSession": {
|
|
22897
|
-
capName: "webrtc",
|
|
22898
|
-
capScope: "system",
|
|
22899
|
-
addonId: null,
|
|
22900
|
-
access: "create"
|
|
22901
|
-
},
|
|
22902
|
-
"webrtc.handleAnswer": {
|
|
22903
|
-
capName: "webrtc",
|
|
22904
|
-
capScope: "system",
|
|
22905
|
-
addonId: null,
|
|
22906
|
-
access: "create"
|
|
22907
|
-
},
|
|
22908
|
-
"webrtc.handleOffer": {
|
|
22909
|
-
capName: "webrtc",
|
|
22910
|
-
capScope: "system",
|
|
22911
|
-
addonId: null,
|
|
22912
|
-
access: "create"
|
|
22913
|
-
},
|
|
22914
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22915
|
-
capName: "webrtc",
|
|
22916
|
-
capScope: "system",
|
|
22917
|
-
addonId: null,
|
|
22918
|
-
access: "view"
|
|
22919
|
-
},
|
|
22920
|
-
"webrtc.registerStream": {
|
|
22921
|
-
capName: "webrtc",
|
|
22922
|
-
capScope: "system",
|
|
22923
|
-
addonId: null,
|
|
22924
|
-
access: "create"
|
|
22925
|
-
},
|
|
22926
|
-
"webrtc.supportsStream": {
|
|
22927
|
-
capName: "webrtc",
|
|
22928
|
-
capScope: "system",
|
|
22929
|
-
addonId: null,
|
|
22930
|
-
access: "view"
|
|
22931
|
-
},
|
|
22932
|
-
"webrtc.unregisterStream": {
|
|
22933
|
-
capName: "webrtc",
|
|
22934
|
-
capScope: "system",
|
|
22935
|
-
addonId: null,
|
|
22936
|
-
access: "delete"
|
|
22937
|
-
},
|
|
22938
23395
|
"webrtcSession.addIceCandidate": {
|
|
22939
23396
|
capName: "webrtc-session",
|
|
22940
23397
|
capScope: "device",
|