@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
|
@@ -4655,7 +4655,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4655
4655
|
return inst;
|
|
4656
4656
|
}
|
|
4657
4657
|
//#endregion
|
|
4658
|
-
//#region ../types/dist/sleep-
|
|
4658
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4659
4659
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4660
4660
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4661
4661
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4841,6 +4841,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4841
4841
|
*/
|
|
4842
4842
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4843
4843
|
/**
|
|
4844
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4845
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4846
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4847
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4848
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4849
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4850
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4851
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4852
|
+
* broker's long backstop reconcile query).
|
|
4853
|
+
*/
|
|
4854
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4855
|
+
/**
|
|
4844
4856
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4845
4857
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4846
4858
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5364,10 +5376,6 @@ function hydrateField(field, values) {
|
|
|
5364
5376
|
};
|
|
5365
5377
|
}
|
|
5366
5378
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5367
|
-
if (field.type === "password") return {
|
|
5368
|
-
...field,
|
|
5369
|
-
value: ""
|
|
5370
|
-
};
|
|
5371
5379
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5372
5380
|
return {
|
|
5373
5381
|
...field,
|
|
@@ -6762,6 +6770,21 @@ function method(input, output, options) {
|
|
|
6762
6770
|
timeoutMs: options?.timeoutMs
|
|
6763
6771
|
};
|
|
6764
6772
|
}
|
|
6773
|
+
/**
|
|
6774
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6775
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6776
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6777
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6778
|
+
*/
|
|
6779
|
+
function systemMethod(input, output, options) {
|
|
6780
|
+
return {
|
|
6781
|
+
...method(input, output, options),
|
|
6782
|
+
systemOnly: true
|
|
6783
|
+
};
|
|
6784
|
+
}
|
|
6785
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6786
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6787
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6765
6788
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6766
6789
|
var VersionOutputSchema = object({ version: string() });
|
|
6767
6790
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6943,6 +6966,36 @@ var ModelFormatsSchema = object({
|
|
|
6943
6966
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6944
6967
|
pt: ModelFormatEntrySchema.optional()
|
|
6945
6968
|
});
|
|
6969
|
+
/**
|
|
6970
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6971
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6972
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6973
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6974
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6975
|
+
* to an `id`.
|
|
6976
|
+
*/
|
|
6977
|
+
var ModelVariantGroupSchema = object({
|
|
6978
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6979
|
+
family: string(),
|
|
6980
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6981
|
+
tier: string(),
|
|
6982
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6983
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6984
|
+
/**
|
|
6985
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6986
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6987
|
+
* future performance variants plug into.
|
|
6988
|
+
*/
|
|
6989
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6990
|
+
/**
|
|
6991
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6992
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6993
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6994
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6995
|
+
* the group so the selector can offer it as a variant axis.
|
|
6996
|
+
*/
|
|
6997
|
+
resolution: number().int().positive().optional()
|
|
6998
|
+
});
|
|
6946
6999
|
var ModelCatalogEntrySchema = object({
|
|
6947
7000
|
id: string(),
|
|
6948
7001
|
name: string(),
|
|
@@ -6972,7 +7025,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6972
7025
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6973
7026
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6974
7027
|
*/
|
|
6975
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7028
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7029
|
+
/**
|
|
7030
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7031
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7032
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7033
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7034
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7035
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7036
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7037
|
+
*/
|
|
7038
|
+
legacy: boolean().optional(),
|
|
7039
|
+
/**
|
|
7040
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7041
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7042
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7043
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7044
|
+
*/
|
|
7045
|
+
metrics: object({
|
|
7046
|
+
map50: number().optional(),
|
|
7047
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7048
|
+
}).optional(),
|
|
7049
|
+
/**
|
|
7050
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7051
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7052
|
+
* the retraining addon and any future commercial distribution.
|
|
7053
|
+
*/
|
|
7054
|
+
license: string().optional(),
|
|
7055
|
+
/**
|
|
7056
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7057
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7058
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7059
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7060
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7061
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7062
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7063
|
+
*/
|
|
7064
|
+
group: ModelVariantGroupSchema.optional()
|
|
6976
7065
|
});
|
|
6977
7066
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6978
7067
|
format: literal("openvino"),
|
|
@@ -7150,8 +7239,8 @@ var RecordingModeSchema = _enum([
|
|
|
7150
7239
|
"onAudioThreshold"
|
|
7151
7240
|
]);
|
|
7152
7241
|
/**
|
|
7153
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7154
|
-
* reads directly (never inferred from `rules`):
|
|
7242
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7243
|
+
* UI reads directly (never inferred from `rules`):
|
|
7155
7244
|
* - `off` — not recording.
|
|
7156
7245
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7157
7246
|
* with pre/post-buffer.
|
|
@@ -8853,26 +8942,13 @@ DeviceType.Light, method(object({
|
|
|
8853
8942
|
percentage: number().min(0).max(100),
|
|
8854
8943
|
lastChangedAt: number()
|
|
8855
8944
|
});
|
|
8945
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8856
8946
|
var StreamFormatSchema = _enum([
|
|
8857
8947
|
"webrtc",
|
|
8858
8948
|
"hls",
|
|
8859
8949
|
"mjpeg",
|
|
8860
8950
|
"rtsp"
|
|
8861
8951
|
]);
|
|
8862
|
-
var StreamInfoSchema = object({
|
|
8863
|
-
streamId: string(),
|
|
8864
|
-
format: StreamFormatSchema,
|
|
8865
|
-
url: string().nullable(),
|
|
8866
|
-
active: boolean()
|
|
8867
|
-
});
|
|
8868
|
-
method(object({
|
|
8869
|
-
streamId: string(),
|
|
8870
|
-
sourceUrl: string(),
|
|
8871
|
-
codec: string().optional()
|
|
8872
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8873
|
-
streamId: string(),
|
|
8874
|
-
format: StreamFormatSchema
|
|
8875
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8876
8952
|
var RtspRestreamEntrySchema = object({
|
|
8877
8953
|
brokerId: string(),
|
|
8878
8954
|
url: string(),
|
|
@@ -9537,7 +9613,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9537
9613
|
})),
|
|
9538
9614
|
lastChangedAt: number()
|
|
9539
9615
|
});
|
|
9540
|
-
|
|
9616
|
+
Object.values(DeviceType), method(object({
|
|
9541
9617
|
deviceId: number().int().nonnegative(),
|
|
9542
9618
|
key: string().min(1)
|
|
9543
9619
|
}), _void(), {
|
|
@@ -10452,7 +10528,7 @@ var BoundingBoxSchema = object({
|
|
|
10452
10528
|
w: number(),
|
|
10453
10529
|
h: number()
|
|
10454
10530
|
});
|
|
10455
|
-
|
|
10531
|
+
object({
|
|
10456
10532
|
class: string(),
|
|
10457
10533
|
originalClass: string(),
|
|
10458
10534
|
score: number(),
|
|
@@ -10587,7 +10663,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10587
10663
|
enabled: boolean(),
|
|
10588
10664
|
modelId: string(),
|
|
10589
10665
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10590
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10591
10666
|
group: string().optional(),
|
|
10592
10667
|
settings: record(string(), unknown()).optional()
|
|
10593
10668
|
}));
|
|
@@ -10612,7 +10687,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10612
10687
|
formats: record(string(), object({
|
|
10613
10688
|
downloaded: boolean(),
|
|
10614
10689
|
sizeMB: number()
|
|
10615
|
-
}))
|
|
10690
|
+
})),
|
|
10691
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10692
|
+
legacy: boolean().optional()
|
|
10616
10693
|
});
|
|
10617
10694
|
var ConfigFieldBridge = custom();
|
|
10618
10695
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10626,6 +10703,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10626
10703
|
defaultModelId: string(),
|
|
10627
10704
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10628
10705
|
enabledByDefault: boolean().optional(),
|
|
10706
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10629
10707
|
defaultConfidence: number(),
|
|
10630
10708
|
group: string().optional(),
|
|
10631
10709
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10642,11 +10720,6 @@ var PipelineSchemaSchema = object({
|
|
|
10642
10720
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10643
10721
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10644
10722
|
});
|
|
10645
|
-
var DetectorOutputSchema = object({
|
|
10646
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10647
|
-
inferenceMs: number(),
|
|
10648
|
-
modelId: string()
|
|
10649
|
-
});
|
|
10650
10723
|
var EngineProvisioningSchema = object({
|
|
10651
10724
|
runtimeId: _enum([
|
|
10652
10725
|
"onnx",
|
|
@@ -10663,15 +10736,42 @@ var EngineProvisioningSchema = object({
|
|
|
10663
10736
|
]),
|
|
10664
10737
|
progress: number().optional(),
|
|
10665
10738
|
error: string().optional(),
|
|
10666
|
-
nextRetryAt: number().optional()
|
|
10739
|
+
nextRetryAt: number().optional(),
|
|
10740
|
+
/**
|
|
10741
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10742
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10743
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10744
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10745
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10746
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10747
|
+
*/
|
|
10748
|
+
configIssues: array(string()).optional()
|
|
10667
10749
|
});
|
|
10668
10750
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10669
10751
|
addonId: string(),
|
|
10670
|
-
modelId: string(),
|
|
10752
|
+
modelId: string().optional(),
|
|
10671
10753
|
enabled: boolean().default(true),
|
|
10672
10754
|
children: array(PipelineStepInputSchema).optional(),
|
|
10673
10755
|
settings: record(string(), unknown()).optional()
|
|
10674
10756
|
}));
|
|
10757
|
+
var ModelSubstitutionSchema = object({
|
|
10758
|
+
addonId: string(),
|
|
10759
|
+
chosen: string(),
|
|
10760
|
+
running: string(),
|
|
10761
|
+
format: string()
|
|
10762
|
+
});
|
|
10763
|
+
var PipelineValidationIssueSchema = object({
|
|
10764
|
+
addonId: string(),
|
|
10765
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10766
|
+
detail: string()
|
|
10767
|
+
});
|
|
10768
|
+
var PipelineValidationResultSchema = object({
|
|
10769
|
+
ok: boolean(),
|
|
10770
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10771
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10772
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10773
|
+
format: string()
|
|
10774
|
+
});
|
|
10675
10775
|
var ReferenceImageEntrySchema = object({
|
|
10676
10776
|
filename: string(),
|
|
10677
10777
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10742,7 +10842,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10742
10842
|
})) }), object({ success: literal(true) }), {
|
|
10743
10843
|
kind: "mutation",
|
|
10744
10844
|
auth: "admin"
|
|
10745
|
-
}), method(
|
|
10845
|
+
}), method(object({ nodeId: string() }), object({
|
|
10846
|
+
success: literal(true),
|
|
10847
|
+
clearedDevices: number()
|
|
10848
|
+
}), {
|
|
10849
|
+
kind: "mutation",
|
|
10850
|
+
auth: "admin"
|
|
10851
|
+
}), 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({
|
|
10746
10852
|
name: string(),
|
|
10747
10853
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10748
10854
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10759,10 +10865,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10759
10865
|
modelId: string(),
|
|
10760
10866
|
format: ModelFormatSchema$1
|
|
10761
10867
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10762
|
-
addonId: string(),
|
|
10763
|
-
frame: FrameInputSchema,
|
|
10764
|
-
config: record(string(), unknown()).optional()
|
|
10765
|
-
}), DetectorOutputSchema), method(object({
|
|
10766
10868
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10767
10869
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10768
10870
|
frame: FrameInputSchema.optional(),
|
|
@@ -10783,7 +10885,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10783
10885
|
image: _instanceof(Uint8Array).optional(),
|
|
10784
10886
|
referenceImage: string().optional(),
|
|
10785
10887
|
deviceId: number().optional(),
|
|
10786
|
-
sessionId: string().optional()
|
|
10888
|
+
sessionId: string().optional(),
|
|
10889
|
+
/**
|
|
10890
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10891
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10892
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10893
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10894
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10895
|
+
*/
|
|
10896
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10787
10897
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10788
10898
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10789
10899
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10908,6 +11018,47 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(ZoneSchema).read
|
|
|
10908
11018
|
auth: "admin"
|
|
10909
11019
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10910
11020
|
/**
|
|
11021
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
11022
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
11023
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
11024
|
+
* dims — no native resolution to plumb.
|
|
11025
|
+
*/
|
|
11026
|
+
var NativeCropBboxSchema = object({
|
|
11027
|
+
x: number(),
|
|
11028
|
+
y: number(),
|
|
11029
|
+
w: number(),
|
|
11030
|
+
h: number()
|
|
11031
|
+
});
|
|
11032
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
11033
|
+
var NativeCropResultSchema = object({
|
|
11034
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
11035
|
+
bytes: _instanceof(Uint8Array),
|
|
11036
|
+
width: number().int().positive(),
|
|
11037
|
+
height: number().int().positive()
|
|
11038
|
+
});
|
|
11039
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11040
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11041
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11042
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11043
|
+
* normalized [0,1] convention). */
|
|
11044
|
+
var DetailParentSchema = object({
|
|
11045
|
+
bbox: NativeCropBboxSchema,
|
|
11046
|
+
className: string()
|
|
11047
|
+
});
|
|
11048
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11049
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11050
|
+
* single tracked detection. */
|
|
11051
|
+
var DetailResultSchema = object({
|
|
11052
|
+
stepId: string(),
|
|
11053
|
+
className: string(),
|
|
11054
|
+
score: number(),
|
|
11055
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11056
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11057
|
+
embedding: string().optional(),
|
|
11058
|
+
label: string().optional(),
|
|
11059
|
+
alignedCropJpeg: string().optional()
|
|
11060
|
+
});
|
|
11061
|
+
/**
|
|
10911
11062
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10912
11063
|
* by both the Zod data schema (validation + default fallback) and
|
|
10913
11064
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -11002,6 +11153,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
11002
11153
|
kind: literal("remote-restream"),
|
|
11003
11154
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
11004
11155
|
ownerNodeId: string(),
|
|
11156
|
+
/**
|
|
11157
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
11158
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
11159
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
11160
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
11161
|
+
*/
|
|
11162
|
+
ownerReachableHost: string().optional(),
|
|
11005
11163
|
/** Operator override for the owner host the runner dials. */
|
|
11006
11164
|
hubHostnameOverride: string().optional()
|
|
11007
11165
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -11010,13 +11168,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
11010
11168
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
11011
11169
|
* runner needs to subscribe to the local broker and execute inference.
|
|
11012
11170
|
*
|
|
11013
|
-
* Stateless-pipeline model: the
|
|
11014
|
-
*
|
|
11015
|
-
*
|
|
11016
|
-
*
|
|
11017
|
-
*
|
|
11018
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
11019
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
11171
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
11172
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
11173
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
11174
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
11175
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
11020
11176
|
*/
|
|
11021
11177
|
var RunnerCameraConfigSchema = object({
|
|
11022
11178
|
deviceId: number(),
|
|
@@ -11067,14 +11223,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
11067
11223
|
*/
|
|
11068
11224
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
11069
11225
|
pipelineEnabled: boolean().default(true),
|
|
11070
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
11071
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11072
11226
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
11073
11227
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
11074
11228
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
11075
11229
|
audio: object({
|
|
11076
|
-
|
|
11077
|
-
modelId: string(),
|
|
11230
|
+
modelId: string().optional(),
|
|
11078
11231
|
enabled: boolean()
|
|
11079
11232
|
}).nullable().optional(),
|
|
11080
11233
|
/**
|
|
@@ -11161,7 +11314,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
11161
11314
|
avgInferenceTimeMs: number(),
|
|
11162
11315
|
queueDepth: number()
|
|
11163
11316
|
});
|
|
11164
|
-
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())
|
|
11317
|
+
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({
|
|
11318
|
+
handle: FrameHandleSchema,
|
|
11319
|
+
bbox: NativeCropBboxSchema,
|
|
11320
|
+
maxWidth: number().int().positive().optional()
|
|
11321
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11322
|
+
deviceId: number(),
|
|
11323
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11324
|
+
cropJpeg: string().optional(),
|
|
11325
|
+
parent: DetailParentSchema,
|
|
11326
|
+
steps: array(string()).optional()
|
|
11327
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11165
11328
|
object({
|
|
11166
11329
|
detected: boolean(),
|
|
11167
11330
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12455,7 +12618,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12455
12618
|
icon: string(),
|
|
12456
12619
|
path: string(),
|
|
12457
12620
|
remoteName: string(),
|
|
12458
|
-
bundle: string()
|
|
12621
|
+
bundle: string(),
|
|
12622
|
+
section: string().optional(),
|
|
12623
|
+
sectionLabel: string().optional()
|
|
12459
12624
|
});
|
|
12460
12625
|
var AddonPageInfoSchema = object({
|
|
12461
12626
|
addonId: string(),
|
|
@@ -12495,7 +12660,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12495
12660
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12496
12661
|
* without a separate filesystem stat.
|
|
12497
12662
|
*/
|
|
12498
|
-
bundle: string()
|
|
12663
|
+
bundle: string(),
|
|
12664
|
+
/**
|
|
12665
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12666
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12667
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12668
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12669
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12670
|
+
* "Addon Pages" group.
|
|
12671
|
+
*/
|
|
12672
|
+
section: string().optional(),
|
|
12673
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12674
|
+
sectionLabel: string().optional()
|
|
12499
12675
|
});
|
|
12500
12676
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12501
12677
|
var AddonHttpRouteSchema = object({
|
|
@@ -12730,6 +12906,17 @@ var WidgetMetadataSchema = object({
|
|
|
12730
12906
|
deviceContext: boolean().default(false),
|
|
12731
12907
|
integrationContext: boolean().default(false)
|
|
12732
12908
|
}),
|
|
12909
|
+
/**
|
|
12910
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12911
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12912
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12913
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12914
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12915
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12916
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12917
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12918
|
+
*/
|
|
12919
|
+
preAuth: boolean().optional().default(false),
|
|
12733
12920
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12734
12921
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12735
12922
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -13031,6 +13218,66 @@ method(object({
|
|
|
13031
13218
|
password: string()
|
|
13032
13219
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
13033
13220
|
/**
|
|
13221
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13222
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13223
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13224
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13225
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13226
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13227
|
+
*
|
|
13228
|
+
* A contribution is a discriminated union on `kind`:
|
|
13229
|
+
*
|
|
13230
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13231
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13232
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13233
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13234
|
+
* login page needs NO change.
|
|
13235
|
+
*
|
|
13236
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13237
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13238
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13239
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13240
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13241
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13242
|
+
*
|
|
13243
|
+
* Every contribution carries a `stage`:
|
|
13244
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13245
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13246
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13247
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13248
|
+
*
|
|
13249
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13250
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13251
|
+
* tRPC router.
|
|
13252
|
+
*/
|
|
13253
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13254
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13255
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13256
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13257
|
+
kind: literal("redirect"),
|
|
13258
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13259
|
+
id: string(),
|
|
13260
|
+
/** Operator-facing button label. */
|
|
13261
|
+
label: string(),
|
|
13262
|
+
/** lucide-react icon name. */
|
|
13263
|
+
icon: string().optional(),
|
|
13264
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13265
|
+
startUrl: string(),
|
|
13266
|
+
stage: LoginStageEnum
|
|
13267
|
+
}), object({
|
|
13268
|
+
kind: literal("widget"),
|
|
13269
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13270
|
+
id: string(),
|
|
13271
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13272
|
+
addonId: string(),
|
|
13273
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13274
|
+
bundle: string(),
|
|
13275
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13276
|
+
remote: WidgetRemoteSchema,
|
|
13277
|
+
stage: LoginStageEnum
|
|
13278
|
+
})]);
|
|
13279
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13280
|
+
/**
|
|
13034
13281
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
13035
13282
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
13036
13283
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -15186,7 +15433,17 @@ var TrackSchema = object({
|
|
|
15186
15433
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
15187
15434
|
totalDistance: number(),
|
|
15188
15435
|
state: TrackStateSchema,
|
|
15189
|
-
active: boolean()
|
|
15436
|
+
active: boolean(),
|
|
15437
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15438
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15439
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15440
|
+
importance: number().optional(),
|
|
15441
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15442
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15443
|
+
bestEventId: string().optional(),
|
|
15444
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15445
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15446
|
+
importanceReason: string().optional()
|
|
15190
15447
|
});
|
|
15191
15448
|
var BaseEventFields = {
|
|
15192
15449
|
id: string(),
|
|
@@ -15251,8 +15508,18 @@ var ObjectEventSchema = object({
|
|
|
15251
15508
|
frameHeight: number().optional(),
|
|
15252
15509
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
15253
15510
|
mediaKey: string().optional(),
|
|
15511
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15512
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15513
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15514
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15515
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15516
|
+
keyFrameMediaKey: string().optional(),
|
|
15254
15517
|
/** Populated by B5 (recording playback URL for this event). */
|
|
15255
|
-
mediaUrl: string().optional()
|
|
15518
|
+
mediaUrl: string().optional(),
|
|
15519
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15520
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15521
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15522
|
+
importance: number().optional()
|
|
15256
15523
|
});
|
|
15257
15524
|
var AudioEventSchema = object({
|
|
15258
15525
|
...BaseEventFields,
|
|
@@ -15276,7 +15543,8 @@ var MediaFileKindEnum = _enum([
|
|
|
15276
15543
|
"fullFrame",
|
|
15277
15544
|
"fullFrameBoxed",
|
|
15278
15545
|
"faceCrop",
|
|
15279
|
-
"plateCrop"
|
|
15546
|
+
"plateCrop",
|
|
15547
|
+
"keyFrame"
|
|
15280
15548
|
]);
|
|
15281
15549
|
var MediaFileSchema = object({
|
|
15282
15550
|
key: string(),
|
|
@@ -15297,6 +15565,32 @@ var DeviceEventQueryInput = object({
|
|
|
15297
15565
|
projection: _enum(["full", "slim"]).optional()
|
|
15298
15566
|
});
|
|
15299
15567
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15568
|
+
var KeyEventQueryInput = object({
|
|
15569
|
+
deviceId: number(),
|
|
15570
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15571
|
+
since: number(),
|
|
15572
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15573
|
+
until: number(),
|
|
15574
|
+
limit: number().int().min(1).max(200).default(50),
|
|
15575
|
+
/** Drop tracks scoring below this importance. */
|
|
15576
|
+
minImportance: number().min(0).max(1).optional(),
|
|
15577
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15578
|
+
classFilter: string().optional()
|
|
15579
|
+
});
|
|
15580
|
+
var KeyEventSchema = object({
|
|
15581
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15582
|
+
id: string(),
|
|
15583
|
+
trackId: string(),
|
|
15584
|
+
/** Track start time (firstSeen). */
|
|
15585
|
+
timestamp: number(),
|
|
15586
|
+
className: string(),
|
|
15587
|
+
label: string().optional(),
|
|
15588
|
+
importance: number(),
|
|
15589
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15590
|
+
bestEventId: string(),
|
|
15591
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15592
|
+
windowMs: number().optional()
|
|
15593
|
+
});
|
|
15300
15594
|
var TrackedDetectionSchema = object({
|
|
15301
15595
|
trackId: string(),
|
|
15302
15596
|
className: string(),
|
|
@@ -15326,7 +15620,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15326
15620
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
15327
15621
|
kind: "mutation",
|
|
15328
15622
|
auth: "admin"
|
|
15329
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15623
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15330
15624
|
deviceId: number(),
|
|
15331
15625
|
since: number(),
|
|
15332
15626
|
until: number(),
|
|
@@ -15371,11 +15665,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15371
15665
|
timestamp: number()
|
|
15372
15666
|
});
|
|
15373
15667
|
var CameraPipelineConfigSchema = object({
|
|
15374
|
-
engine: PipelineEngineChoiceSchema,
|
|
15668
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15375
15669
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15376
15670
|
audio: object({
|
|
15377
|
-
engine: PipelineEngineChoiceSchema,
|
|
15378
|
-
modelId: string(),
|
|
15671
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15672
|
+
modelId: string().optional(),
|
|
15379
15673
|
enabled: boolean(),
|
|
15380
15674
|
settings: record(string(), unknown()).readonly().optional()
|
|
15381
15675
|
}).nullable().optional()
|
|
@@ -15390,7 +15684,7 @@ var PipelineTemplateSchema = object({
|
|
|
15390
15684
|
});
|
|
15391
15685
|
var AgentAddonConfigSchema = object({
|
|
15392
15686
|
enabled: boolean(),
|
|
15393
|
-
modelId: string(),
|
|
15687
|
+
modelId: string().optional(),
|
|
15394
15688
|
settings: record(string(), unknown()).readonly()
|
|
15395
15689
|
});
|
|
15396
15690
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15400,12 +15694,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15400
15694
|
detectWeight: number().positive().optional(),
|
|
15401
15695
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15402
15696
|
detect: boolean().optional(),
|
|
15403
|
-
/**
|
|
15697
|
+
/**
|
|
15698
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15699
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15700
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15701
|
+
* parse — no code reads it and no write path emits it.
|
|
15702
|
+
*/
|
|
15404
15703
|
decode: boolean().optional(),
|
|
15405
15704
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15406
15705
|
audio: boolean().optional(),
|
|
15407
15706
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15408
|
-
ingest: boolean().optional()
|
|
15707
|
+
ingest: boolean().optional(),
|
|
15708
|
+
/**
|
|
15709
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15710
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15711
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15712
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15713
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15714
|
+
*/
|
|
15715
|
+
reachableHost: string().optional()
|
|
15409
15716
|
});
|
|
15410
15717
|
var CameraPipelineForAgentSchema = object({
|
|
15411
15718
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15453,25 +15760,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15453
15760
|
assignedAt: number()
|
|
15454
15761
|
});
|
|
15455
15762
|
/**
|
|
15456
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15457
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15458
|
-
* → co-located with pipeline → capacity).
|
|
15459
|
-
*/
|
|
15460
|
-
var DecoderAssignmentSchema = object({
|
|
15461
|
-
deviceId: number(),
|
|
15462
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15463
|
-
decoderNodeId: string(),
|
|
15464
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15465
|
-
pinned: boolean(),
|
|
15466
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15467
|
-
reason: _enum([
|
|
15468
|
-
"manual",
|
|
15469
|
-
"co-located",
|
|
15470
|
-
"capacity",
|
|
15471
|
-
"hardware-affinity"
|
|
15472
|
-
])
|
|
15473
|
-
});
|
|
15474
|
-
/**
|
|
15475
15763
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15476
15764
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15477
15765
|
*/
|
|
@@ -15511,6 +15799,15 @@ var GlobalMetricsSchema = object({
|
|
|
15511
15799
|
* capability providers.
|
|
15512
15800
|
*/
|
|
15513
15801
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15802
|
+
/**
|
|
15803
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15804
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15805
|
+
*/
|
|
15806
|
+
var IngestOwnerSchema = object({
|
|
15807
|
+
ownerNodeId: string(),
|
|
15808
|
+
reachableHost: string().optional(),
|
|
15809
|
+
configIssue: string().optional()
|
|
15810
|
+
});
|
|
15514
15811
|
/** Source block — always present; derives from the stream catalog. */
|
|
15515
15812
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15516
15813
|
camStreamId: string(),
|
|
@@ -15525,6 +15822,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15525
15822
|
detectionNodeId: string().nullable(),
|
|
15526
15823
|
decoderNodeId: string().nullable(),
|
|
15527
15824
|
audioNodeId: string().nullable(),
|
|
15825
|
+
/**
|
|
15826
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15827
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15828
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15829
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15830
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15831
|
+
*/
|
|
15832
|
+
sourceNodeId: string().nullable(),
|
|
15528
15833
|
pinned: object({
|
|
15529
15834
|
detection: boolean(),
|
|
15530
15835
|
decoder: boolean(),
|
|
@@ -15657,16 +15962,7 @@ method(object({
|
|
|
15657
15962
|
}), object({ success: literal(true) }), {
|
|
15658
15963
|
kind: "mutation",
|
|
15659
15964
|
auth: "admin"
|
|
15660
|
-
}), method(object({
|
|
15661
|
-
deviceId: number(),
|
|
15662
|
-
nodeId: string()
|
|
15663
|
-
}), _void(), {
|
|
15664
|
-
kind: "mutation",
|
|
15665
|
-
auth: "admin"
|
|
15666
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
15667
|
-
kind: "mutation",
|
|
15668
|
-
auth: "admin"
|
|
15669
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15965
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15670
15966
|
deviceId: number(),
|
|
15671
15967
|
nodeId: string()
|
|
15672
15968
|
}), object({ success: literal(true) }), {
|
|
@@ -15687,10 +15983,7 @@ method(object({
|
|
|
15687
15983
|
nodeId: string(),
|
|
15688
15984
|
pinned: boolean(),
|
|
15689
15985
|
assignedAt: number()
|
|
15690
|
-
}))), method(object({
|
|
15691
|
-
deviceId: number(),
|
|
15692
|
-
pipelineNodeId: string().optional()
|
|
15693
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15986
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15694
15987
|
nodeId: string(),
|
|
15695
15988
|
settings: AgentPipelineSettingsSchema
|
|
15696
15989
|
})).readonly()), method(object({
|
|
@@ -15720,12 +16013,26 @@ method(object({
|
|
|
15720
16013
|
}), method(object({
|
|
15721
16014
|
agentNodeId: string(),
|
|
15722
16015
|
detect: boolean().nullable().optional(),
|
|
15723
|
-
decode: boolean().nullable().optional(),
|
|
15724
16016
|
audio: boolean().nullable().optional(),
|
|
15725
16017
|
ingest: boolean().nullable().optional()
|
|
15726
16018
|
}), object({ success: literal(true) }), {
|
|
15727
16019
|
kind: "mutation",
|
|
15728
16020
|
auth: "admin"
|
|
16021
|
+
}), method(object({
|
|
16022
|
+
agentNodeId: string(),
|
|
16023
|
+
reachableHost: string().nullable()
|
|
16024
|
+
}), object({ success: literal(true) }), {
|
|
16025
|
+
kind: "mutation",
|
|
16026
|
+
auth: "admin"
|
|
16027
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
16028
|
+
success: literal(true),
|
|
16029
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
16030
|
+
effectiveModelId: string().nullable(),
|
|
16031
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
16032
|
+
clearedCameraOverrides: number()
|
|
16033
|
+
}), {
|
|
16034
|
+
kind: "mutation",
|
|
16035
|
+
auth: "admin"
|
|
15729
16036
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15730
16037
|
deviceId: number(),
|
|
15731
16038
|
addonId: string(),
|
|
@@ -15770,22 +16077,131 @@ method(object({
|
|
|
15770
16077
|
kind: "mutation",
|
|
15771
16078
|
auth: "admin"
|
|
15772
16079
|
});
|
|
15773
|
-
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15778
|
-
|
|
16080
|
+
/**
|
|
16081
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
16082
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
16083
|
+
* agents).
|
|
16084
|
+
*
|
|
16085
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
16086
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
16087
|
+
* version describes the node. Updates install into
|
|
16088
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
16089
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
16090
|
+
*
|
|
16091
|
+
* Providers:
|
|
16092
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
16093
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
16094
|
+
* unpinned calls.
|
|
16095
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
16096
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
16097
|
+
* `$hub.registerNode` manifest.
|
|
16098
|
+
*
|
|
16099
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
16100
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
16101
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
16102
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
16103
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
16104
|
+
*
|
|
16105
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
16106
|
+
*/
|
|
16107
|
+
/**
|
|
16108
|
+
* Where the running hub's code was loaded from:
|
|
16109
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
16110
|
+
* plain resolution and runtime updates are refused.
|
|
16111
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
16112
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
16113
|
+
*/
|
|
16114
|
+
var ServerBootModeSchema = _enum([
|
|
16115
|
+
"workspace",
|
|
16116
|
+
"baked",
|
|
16117
|
+
"data-root"
|
|
16118
|
+
]);
|
|
16119
|
+
/**
|
|
16120
|
+
* Update lifecycle state:
|
|
16121
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
16122
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
16123
|
+
* restarted onto it (still running the OLD version).
|
|
16124
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
16125
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
16126
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
16127
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
16128
|
+
*/
|
|
16129
|
+
var ServerUpdateStateSchema = _enum([
|
|
16130
|
+
"idle",
|
|
16131
|
+
"checking",
|
|
16132
|
+
"staging",
|
|
16133
|
+
"pending-restart",
|
|
16134
|
+
"awaiting-confirmation"
|
|
16135
|
+
]);
|
|
16136
|
+
var ServerRollbackInfoSchema = object({
|
|
16137
|
+
/** The version that failed (or was manually rolled back). */
|
|
16138
|
+
fromVersion: string(),
|
|
16139
|
+
/** The version rolled back to; null = the baked seed. */
|
|
16140
|
+
toVersion: string().nullable(),
|
|
16141
|
+
atMs: number(),
|
|
16142
|
+
reason: string()
|
|
15779
16143
|
});
|
|
15780
|
-
var
|
|
15781
|
-
|
|
15782
|
-
|
|
15783
|
-
|
|
16144
|
+
var ServerPackageStatusSchema = object({
|
|
16145
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
16146
|
+
packageName: string(),
|
|
16147
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
16148
|
+
runningVersion: string().nullable(),
|
|
16149
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
16150
|
+
nodeRuntimeVersion: string().nullable(),
|
|
16151
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
16152
|
+
activeVersion: string().nullable(),
|
|
16153
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
16154
|
+
previousVersion: string().nullable(),
|
|
16155
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
16156
|
+
seedVersion: string().nullable(),
|
|
16157
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
16158
|
+
latestVersion: string().nullable(),
|
|
16159
|
+
updateAvailable: boolean(),
|
|
16160
|
+
bootMode: ServerBootModeSchema,
|
|
16161
|
+
updateState: ServerUpdateStateSchema,
|
|
16162
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
16163
|
+
pendingVersion: string().nullable(),
|
|
16164
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
16165
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
16166
|
+
/**
|
|
16167
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
16168
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
16169
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
16170
|
+
*/
|
|
16171
|
+
stateFileCorrupt: boolean(),
|
|
16172
|
+
lastCheckedAtMs: number().nullable()
|
|
16173
|
+
});
|
|
16174
|
+
var ServerUpdateCheckResultSchema = object({
|
|
16175
|
+
packageName: string(),
|
|
16176
|
+
runningVersion: string().nullable(),
|
|
16177
|
+
latestVersion: string().nullable(),
|
|
16178
|
+
updateAvailable: boolean(),
|
|
16179
|
+
checkedAtMs: number(),
|
|
16180
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
16181
|
+
error: string().nullable()
|
|
16182
|
+
});
|
|
16183
|
+
var ServerUpdateActionResultSchema = object({
|
|
16184
|
+
accepted: boolean(),
|
|
16185
|
+
targetVersion: string().nullable(),
|
|
16186
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
16187
|
+
restarting: boolean(),
|
|
16188
|
+
message: string()
|
|
16189
|
+
});
|
|
16190
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
16191
|
+
kind: "mutation",
|
|
16192
|
+
auth: "admin"
|
|
16193
|
+
}), method(object({
|
|
16194
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
16195
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
16196
|
+
kind: "mutation",
|
|
16197
|
+
auth: "admin"
|
|
16198
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16199
|
+
kind: "mutation",
|
|
16200
|
+
auth: "admin"
|
|
16201
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16202
|
+
kind: "mutation",
|
|
16203
|
+
auth: "admin"
|
|
15784
16204
|
});
|
|
15785
|
-
method(object({
|
|
15786
|
-
deviceId: number(),
|
|
15787
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15788
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
15789
16205
|
/**
|
|
15790
16206
|
* Query filter for settings-store collections.
|
|
15791
16207
|
*/
|
|
@@ -15938,9 +16354,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
15938
16354
|
/**
|
|
15939
16355
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15940
16356
|
*
|
|
15941
|
-
*
|
|
15942
|
-
*
|
|
15943
|
-
*
|
|
16357
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16358
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16359
|
+
* prebuffer fallback.
|
|
15944
16360
|
*/
|
|
15945
16361
|
var SnapshotImageSchema = object({
|
|
15946
16362
|
base64: string(),
|
|
@@ -15971,11 +16387,12 @@ DeviceType.Camera, method(object({
|
|
|
15971
16387
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
15972
16388
|
kind: "mutation",
|
|
15973
16389
|
auth: "admin"
|
|
15974
|
-
})
|
|
15975
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
16390
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
15976
16391
|
deviceId: number(),
|
|
15977
|
-
|
|
15978
|
-
|
|
16392
|
+
lastCapturedAt: number().nullable(),
|
|
16393
|
+
cacheAgeMs: number().nullable(),
|
|
16394
|
+
etag: string().nullable()
|
|
16395
|
+
})));
|
|
15979
16396
|
/**
|
|
15980
16397
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15981
16398
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -16226,10 +16643,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
16226
16643
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
16227
16644
|
* the assertion, bumps the credential counter, returns ok.
|
|
16228
16645
|
*
|
|
16646
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16647
|
+
* passkey IS the primary factor, no password leg:
|
|
16648
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16649
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16650
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16651
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16652
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16653
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16654
|
+
* resolves the credential by the response's credential id,
|
|
16655
|
+
* verifies the assertion against the stored challenge + that
|
|
16656
|
+
* credential's public key/counter, and returns the OWNING
|
|
16657
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16658
|
+
*
|
|
16229
16659
|
* 3. Management:
|
|
16230
16660
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
16231
16661
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
16232
16662
|
*
|
|
16663
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16664
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16665
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16666
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16667
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16668
|
+
* row ⇒ `enabled: false`).
|
|
16669
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16670
|
+
* the providing addon beside its credentials.
|
|
16671
|
+
*
|
|
16233
16672
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
16234
16673
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
16235
16674
|
* the cap to non-admins.
|
|
@@ -16272,6 +16711,17 @@ method(object({
|
|
|
16272
16711
|
}), object({ verified: boolean() }), {
|
|
16273
16712
|
kind: "mutation",
|
|
16274
16713
|
access: "view"
|
|
16714
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16715
|
+
kind: "mutation",
|
|
16716
|
+
access: "view"
|
|
16717
|
+
}), method(object({
|
|
16718
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16719
|
+
response: record(string(), unknown()) }), object({
|
|
16720
|
+
verified: boolean(),
|
|
16721
|
+
userId: string().nullable()
|
|
16722
|
+
}), {
|
|
16723
|
+
kind: "mutation",
|
|
16724
|
+
access: "view"
|
|
16275
16725
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16276
16726
|
userId: string(),
|
|
16277
16727
|
credentialId: string()
|
|
@@ -16279,6 +16729,13 @@ method(object({
|
|
|
16279
16729
|
kind: "mutation",
|
|
16280
16730
|
auth: "admin",
|
|
16281
16731
|
access: "delete"
|
|
16732
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16733
|
+
userId: string(),
|
|
16734
|
+
enabled: boolean()
|
|
16735
|
+
}), object({ success: literal(true) }), {
|
|
16736
|
+
kind: "mutation",
|
|
16737
|
+
auth: "admin",
|
|
16738
|
+
access: "create"
|
|
16282
16739
|
});
|
|
16283
16740
|
/**
|
|
16284
16741
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16336,9 +16793,10 @@ method(object({
|
|
|
16336
16793
|
auth: "admin"
|
|
16337
16794
|
});
|
|
16338
16795
|
/**
|
|
16339
|
-
* Optional client-side hints sent at session creation to help the
|
|
16340
|
-
*
|
|
16341
|
-
*
|
|
16796
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16797
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16798
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16799
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16342
16800
|
*/
|
|
16343
16801
|
var webrtcClientHintsSchema = object({
|
|
16344
16802
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -16349,22 +16807,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16349
16807
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16350
16808
|
prefersTier: string().optional()
|
|
16351
16809
|
}).partial();
|
|
16352
|
-
method(object({
|
|
16353
|
-
streamId: string(),
|
|
16354
|
-
sdpOffer: string()
|
|
16355
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16356
|
-
streamId: string(),
|
|
16357
|
-
codec: string()
|
|
16358
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16359
|
-
streamId: string(),
|
|
16360
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16361
|
-
}), object({
|
|
16362
|
-
sessionId: string(),
|
|
16363
|
-
sdpOffer: string()
|
|
16364
|
-
}), { kind: "mutation" }), method(object({
|
|
16365
|
-
sessionId: string(),
|
|
16366
|
-
sdpAnswer: string()
|
|
16367
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16368
16810
|
/**
|
|
16369
16811
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16370
16812
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -17095,7 +17537,17 @@ var FaceInfoSchema = object({
|
|
|
17095
17537
|
recognizedIdentityId: string().optional(),
|
|
17096
17538
|
identityName: string().optional(),
|
|
17097
17539
|
assigned: boolean(),
|
|
17098
|
-
base64: string().optional()
|
|
17540
|
+
base64: string().optional(),
|
|
17541
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17542
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17543
|
+
* legacy rows written before design B. */
|
|
17544
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17545
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17546
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17547
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17548
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17549
|
+
* back to the inline `base64` face crop. */
|
|
17550
|
+
keyFrameMediaKey: string().optional()
|
|
17099
17551
|
});
|
|
17100
17552
|
var FaceFilterEnum = _enum([
|
|
17101
17553
|
"unassigned",
|
|
@@ -17792,6 +18244,16 @@ var TopologyCategorySchema = object({
|
|
|
17792
18244
|
healthy: number(),
|
|
17793
18245
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17794
18246
|
});
|
|
18247
|
+
/**
|
|
18248
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18249
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18250
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18251
|
+
* rows and pre-phase-2 nodes report none.
|
|
18252
|
+
*/
|
|
18253
|
+
var TopologyRootPackageSchema = object({
|
|
18254
|
+
name: string(),
|
|
18255
|
+
version: string()
|
|
18256
|
+
});
|
|
17795
18257
|
var TopologyNodeSchema = object({
|
|
17796
18258
|
id: string(),
|
|
17797
18259
|
name: string(),
|
|
@@ -17815,7 +18277,8 @@ var TopologyNodeSchema = object({
|
|
|
17815
18277
|
status: string()
|
|
17816
18278
|
})).readonly(),
|
|
17817
18279
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17818
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18280
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18281
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17819
18282
|
});
|
|
17820
18283
|
var CapUsageEdgeSchema = object({
|
|
17821
18284
|
callerAddonId: string(),
|
|
@@ -20615,6 +21078,12 @@ Object.freeze({
|
|
|
20615
21078
|
addonId: null,
|
|
20616
21079
|
access: "create"
|
|
20617
21080
|
},
|
|
21081
|
+
"loginMethod.getLoginMethods": {
|
|
21082
|
+
capName: "login-method",
|
|
21083
|
+
capScope: "system",
|
|
21084
|
+
addonId: null,
|
|
21085
|
+
access: "view"
|
|
21086
|
+
},
|
|
20618
21087
|
"mediaPlayer.next": {
|
|
20619
21088
|
capName: "media-player",
|
|
20620
21089
|
capScope: "device",
|
|
@@ -21197,6 +21666,12 @@ Object.freeze({
|
|
|
21197
21666
|
addonId: null,
|
|
21198
21667
|
access: "view"
|
|
21199
21668
|
},
|
|
21669
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21670
|
+
capName: "pipeline-analytics",
|
|
21671
|
+
capScope: "device",
|
|
21672
|
+
addonId: null,
|
|
21673
|
+
access: "view"
|
|
21674
|
+
},
|
|
21200
21675
|
"pipelineAnalytics.getMotionEvents": {
|
|
21201
21676
|
capName: "pipeline-analytics",
|
|
21202
21677
|
capScope: "device",
|
|
@@ -21245,23 +21720,23 @@ Object.freeze({
|
|
|
21245
21720
|
addonId: null,
|
|
21246
21721
|
access: "create"
|
|
21247
21722
|
},
|
|
21248
|
-
"pipelineExecutor.
|
|
21723
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
21249
21724
|
capName: "pipeline-executor",
|
|
21250
21725
|
capScope: "system",
|
|
21251
21726
|
addonId: null,
|
|
21252
21727
|
access: "delete"
|
|
21253
21728
|
},
|
|
21254
|
-
"pipelineExecutor.
|
|
21729
|
+
"pipelineExecutor.deleteModel": {
|
|
21255
21730
|
capName: "pipeline-executor",
|
|
21256
21731
|
capScope: "system",
|
|
21257
21732
|
addonId: null,
|
|
21258
21733
|
access: "delete"
|
|
21259
21734
|
},
|
|
21260
|
-
"pipelineExecutor.
|
|
21735
|
+
"pipelineExecutor.deleteTemplate": {
|
|
21261
21736
|
capName: "pipeline-executor",
|
|
21262
21737
|
capScope: "system",
|
|
21263
21738
|
addonId: null,
|
|
21264
|
-
access: "
|
|
21739
|
+
access: "delete"
|
|
21265
21740
|
},
|
|
21266
21741
|
"pipelineExecutor.downloadModel": {
|
|
21267
21742
|
capName: "pipeline-executor",
|
|
@@ -21455,13 +21930,13 @@ Object.freeze({
|
|
|
21455
21930
|
addonId: null,
|
|
21456
21931
|
access: "create"
|
|
21457
21932
|
},
|
|
21458
|
-
"
|
|
21459
|
-
capName: "pipeline-
|
|
21933
|
+
"pipelineExecutor.validatePipeline": {
|
|
21934
|
+
capName: "pipeline-executor",
|
|
21460
21935
|
capScope: "system",
|
|
21461
21936
|
addonId: null,
|
|
21462
|
-
access: "
|
|
21937
|
+
access: "view"
|
|
21463
21938
|
},
|
|
21464
|
-
"pipelineOrchestrator.
|
|
21939
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21465
21940
|
capName: "pipeline-orchestrator",
|
|
21466
21941
|
capScope: "system",
|
|
21467
21942
|
addonId: null,
|
|
@@ -21545,19 +22020,13 @@ Object.freeze({
|
|
|
21545
22020
|
addonId: null,
|
|
21546
22021
|
access: "view"
|
|
21547
22022
|
},
|
|
21548
|
-
"pipelineOrchestrator.
|
|
22023
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21549
22024
|
capName: "pipeline-orchestrator",
|
|
21550
22025
|
capScope: "system",
|
|
21551
22026
|
addonId: null,
|
|
21552
22027
|
access: "view"
|
|
21553
22028
|
},
|
|
21554
|
-
"pipelineOrchestrator.
|
|
21555
|
-
capName: "pipeline-orchestrator",
|
|
21556
|
-
capScope: "system",
|
|
21557
|
-
addonId: null,
|
|
21558
|
-
access: "view"
|
|
21559
|
-
},
|
|
21560
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
22029
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21561
22030
|
capName: "pipeline-orchestrator",
|
|
21562
22031
|
capScope: "system",
|
|
21563
22032
|
addonId: null,
|
|
@@ -21599,6 +22068,12 @@ Object.freeze({
|
|
|
21599
22068
|
addonId: null,
|
|
21600
22069
|
access: "delete"
|
|
21601
22070
|
},
|
|
22071
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
22072
|
+
capName: "pipeline-orchestrator",
|
|
22073
|
+
capScope: "system",
|
|
22074
|
+
addonId: null,
|
|
22075
|
+
access: "delete"
|
|
22076
|
+
},
|
|
21602
22077
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21603
22078
|
capName: "pipeline-orchestrator",
|
|
21604
22079
|
capScope: "system",
|
|
@@ -21635,37 +22110,37 @@ Object.freeze({
|
|
|
21635
22110
|
addonId: null,
|
|
21636
22111
|
access: "create"
|
|
21637
22112
|
},
|
|
21638
|
-
"pipelineOrchestrator.
|
|
22113
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21639
22114
|
capName: "pipeline-orchestrator",
|
|
21640
22115
|
capScope: "system",
|
|
21641
22116
|
addonId: null,
|
|
21642
22117
|
access: "create"
|
|
21643
22118
|
},
|
|
21644
|
-
"pipelineOrchestrator.
|
|
22119
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21645
22120
|
capName: "pipeline-orchestrator",
|
|
21646
22121
|
capScope: "system",
|
|
21647
22122
|
addonId: null,
|
|
21648
22123
|
access: "create"
|
|
21649
22124
|
},
|
|
21650
|
-
"pipelineOrchestrator.
|
|
22125
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21651
22126
|
capName: "pipeline-orchestrator",
|
|
21652
22127
|
capScope: "system",
|
|
21653
22128
|
addonId: null,
|
|
21654
22129
|
access: "create"
|
|
21655
22130
|
},
|
|
21656
|
-
"pipelineOrchestrator.
|
|
22131
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21657
22132
|
capName: "pipeline-orchestrator",
|
|
21658
22133
|
capScope: "system",
|
|
21659
22134
|
addonId: null,
|
|
21660
22135
|
access: "create"
|
|
21661
22136
|
},
|
|
21662
|
-
"pipelineOrchestrator.
|
|
22137
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21663
22138
|
capName: "pipeline-orchestrator",
|
|
21664
22139
|
capScope: "system",
|
|
21665
22140
|
addonId: null,
|
|
21666
22141
|
access: "create"
|
|
21667
22142
|
},
|
|
21668
|
-
"pipelineOrchestrator.
|
|
22143
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21669
22144
|
capName: "pipeline-orchestrator",
|
|
21670
22145
|
capScope: "system",
|
|
21671
22146
|
addonId: null,
|
|
@@ -21725,12 +22200,24 @@ Object.freeze({
|
|
|
21725
22200
|
addonId: null,
|
|
21726
22201
|
access: "view"
|
|
21727
22202
|
},
|
|
22203
|
+
"pipelineRunner.getNativeCrop": {
|
|
22204
|
+
capName: "pipeline-runner",
|
|
22205
|
+
capScope: "system",
|
|
22206
|
+
addonId: null,
|
|
22207
|
+
access: "view"
|
|
22208
|
+
},
|
|
21728
22209
|
"pipelineRunner.reportMotion": {
|
|
21729
22210
|
capName: "pipeline-runner",
|
|
21730
22211
|
capScope: "system",
|
|
21731
22212
|
addonId: null,
|
|
21732
22213
|
access: "create"
|
|
21733
22214
|
},
|
|
22215
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22216
|
+
capName: "pipeline-runner",
|
|
22217
|
+
capScope: "system",
|
|
22218
|
+
addonId: null,
|
|
22219
|
+
access: "create"
|
|
22220
|
+
},
|
|
21734
22221
|
"plateGallery.correctPlateText": {
|
|
21735
22222
|
capName: "plate-gallery",
|
|
21736
22223
|
capScope: "system",
|
|
@@ -21965,33 +22452,45 @@ Object.freeze({
|
|
|
21965
22452
|
addonId: null,
|
|
21966
22453
|
access: "create"
|
|
21967
22454
|
},
|
|
21968
|
-
"
|
|
21969
|
-
capName: "
|
|
22455
|
+
"scriptRunner.run": {
|
|
22456
|
+
capName: "script-runner",
|
|
22457
|
+
capScope: "device",
|
|
22458
|
+
addonId: null,
|
|
22459
|
+
access: "create"
|
|
22460
|
+
},
|
|
22461
|
+
"scriptRunner.stop": {
|
|
22462
|
+
capName: "script-runner",
|
|
22463
|
+
capScope: "device",
|
|
22464
|
+
addonId: null,
|
|
22465
|
+
access: "create"
|
|
22466
|
+
},
|
|
22467
|
+
"serverManagement.applyServerUpdate": {
|
|
22468
|
+
capName: "server-management",
|
|
21970
22469
|
capScope: "system",
|
|
21971
22470
|
addonId: null,
|
|
21972
|
-
access: "
|
|
22471
|
+
access: "create"
|
|
21973
22472
|
},
|
|
21974
|
-
"
|
|
21975
|
-
capName: "
|
|
22473
|
+
"serverManagement.checkServerUpdate": {
|
|
22474
|
+
capName: "server-management",
|
|
21976
22475
|
capScope: "system",
|
|
21977
22476
|
addonId: null,
|
|
21978
22477
|
access: "create"
|
|
21979
22478
|
},
|
|
21980
|
-
"
|
|
21981
|
-
capName: "
|
|
22479
|
+
"serverManagement.getServerPackageStatus": {
|
|
22480
|
+
capName: "server-management",
|
|
21982
22481
|
capScope: "system",
|
|
21983
22482
|
addonId: null,
|
|
21984
|
-
access: "
|
|
22483
|
+
access: "view"
|
|
21985
22484
|
},
|
|
21986
|
-
"
|
|
21987
|
-
capName: "
|
|
21988
|
-
capScope: "
|
|
22485
|
+
"serverManagement.restartServer": {
|
|
22486
|
+
capName: "server-management",
|
|
22487
|
+
capScope: "system",
|
|
21989
22488
|
addonId: null,
|
|
21990
22489
|
access: "create"
|
|
21991
22490
|
},
|
|
21992
|
-
"
|
|
21993
|
-
capName: "
|
|
21994
|
-
capScope: "
|
|
22491
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22492
|
+
capName: "server-management",
|
|
22493
|
+
capScope: "system",
|
|
21995
22494
|
addonId: null,
|
|
21996
22495
|
access: "create"
|
|
21997
22496
|
},
|
|
@@ -22079,23 +22578,17 @@ Object.freeze({
|
|
|
22079
22578
|
addonId: null,
|
|
22080
22579
|
access: "view"
|
|
22081
22580
|
},
|
|
22082
|
-
"snapshot.
|
|
22581
|
+
"snapshot.getSnapshotOverview": {
|
|
22083
22582
|
capName: "snapshot",
|
|
22084
22583
|
capScope: "device",
|
|
22085
22584
|
addonId: null,
|
|
22086
|
-
access: "create"
|
|
22087
|
-
},
|
|
22088
|
-
"snapshotProvider.getSnapshot": {
|
|
22089
|
-
capName: "snapshot-provider",
|
|
22090
|
-
capScope: "system",
|
|
22091
|
-
addonId: null,
|
|
22092
22585
|
access: "view"
|
|
22093
22586
|
},
|
|
22094
|
-
"
|
|
22095
|
-
capName: "snapshot
|
|
22096
|
-
capScope: "
|
|
22587
|
+
"snapshot.invalidateCache": {
|
|
22588
|
+
capName: "snapshot",
|
|
22589
|
+
capScope: "device",
|
|
22097
22590
|
addonId: null,
|
|
22098
|
-
access: "
|
|
22591
|
+
access: "create"
|
|
22099
22592
|
},
|
|
22100
22593
|
"ssoBridge.signBridgeToken": {
|
|
22101
22594
|
capName: "sso-bridge",
|
|
@@ -22523,30 +23016,6 @@ Object.freeze({
|
|
|
22523
23016
|
addonId: null,
|
|
22524
23017
|
access: "view"
|
|
22525
23018
|
},
|
|
22526
|
-
"streamingEngine.getStreamUrl": {
|
|
22527
|
-
capName: "streaming-engine",
|
|
22528
|
-
capScope: "system",
|
|
22529
|
-
addonId: null,
|
|
22530
|
-
access: "view"
|
|
22531
|
-
},
|
|
22532
|
-
"streamingEngine.listStreams": {
|
|
22533
|
-
capName: "streaming-engine",
|
|
22534
|
-
capScope: "system",
|
|
22535
|
-
addonId: null,
|
|
22536
|
-
access: "view"
|
|
22537
|
-
},
|
|
22538
|
-
"streamingEngine.registerStream": {
|
|
22539
|
-
capName: "streaming-engine",
|
|
22540
|
-
capScope: "system",
|
|
22541
|
-
addonId: null,
|
|
22542
|
-
access: "create"
|
|
22543
|
-
},
|
|
22544
|
-
"streamingEngine.unregisterStream": {
|
|
22545
|
-
capName: "streaming-engine",
|
|
22546
|
-
capScope: "system",
|
|
22547
|
-
addonId: null,
|
|
22548
|
-
access: "delete"
|
|
22549
|
-
},
|
|
22550
23019
|
"streamParams.getConfigSchema": {
|
|
22551
23020
|
capName: "stream-params",
|
|
22552
23021
|
capScope: "device",
|
|
@@ -22793,6 +23262,12 @@ Object.freeze({
|
|
|
22793
23262
|
addonId: null,
|
|
22794
23263
|
access: "view"
|
|
22795
23264
|
},
|
|
23265
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
23266
|
+
capName: "user-passkeys",
|
|
23267
|
+
capScope: "system",
|
|
23268
|
+
addonId: null,
|
|
23269
|
+
access: "view"
|
|
23270
|
+
},
|
|
22796
23271
|
"userPasskeys.beginRegistration": {
|
|
22797
23272
|
capName: "user-passkeys",
|
|
22798
23273
|
capScope: "system",
|
|
@@ -22805,12 +23280,24 @@ Object.freeze({
|
|
|
22805
23280
|
addonId: null,
|
|
22806
23281
|
access: "view"
|
|
22807
23282
|
},
|
|
23283
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23284
|
+
capName: "user-passkeys",
|
|
23285
|
+
capScope: "system",
|
|
23286
|
+
addonId: null,
|
|
23287
|
+
access: "view"
|
|
23288
|
+
},
|
|
22808
23289
|
"userPasskeys.finishRegistration": {
|
|
22809
23290
|
capName: "user-passkeys",
|
|
22810
23291
|
capScope: "system",
|
|
22811
23292
|
addonId: null,
|
|
22812
23293
|
access: "create"
|
|
22813
23294
|
},
|
|
23295
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23296
|
+
capName: "user-passkeys",
|
|
23297
|
+
capScope: "system",
|
|
23298
|
+
addonId: null,
|
|
23299
|
+
access: "view"
|
|
23300
|
+
},
|
|
22814
23301
|
"userPasskeys.listPasskeys": {
|
|
22815
23302
|
capName: "user-passkeys",
|
|
22816
23303
|
capScope: "system",
|
|
@@ -22823,6 +23310,12 @@ Object.freeze({
|
|
|
22823
23310
|
addonId: null,
|
|
22824
23311
|
access: "delete"
|
|
22825
23312
|
},
|
|
23313
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23314
|
+
capName: "user-passkeys",
|
|
23315
|
+
capScope: "system",
|
|
23316
|
+
addonId: null,
|
|
23317
|
+
access: "create"
|
|
23318
|
+
},
|
|
22826
23319
|
"vacuumControl.locate": {
|
|
22827
23320
|
capName: "vacuum-control",
|
|
22828
23321
|
capScope: "device",
|
|
@@ -22895,6 +23388,18 @@ Object.freeze({
|
|
|
22895
23388
|
addonId: null,
|
|
22896
23389
|
access: "view"
|
|
22897
23390
|
},
|
|
23391
|
+
"viewerUi.getStaticDir": {
|
|
23392
|
+
capName: "viewer-ui",
|
|
23393
|
+
capScope: "system",
|
|
23394
|
+
addonId: null,
|
|
23395
|
+
access: "view"
|
|
23396
|
+
},
|
|
23397
|
+
"viewerUi.getVersion": {
|
|
23398
|
+
capName: "viewer-ui",
|
|
23399
|
+
capScope: "system",
|
|
23400
|
+
addonId: null,
|
|
23401
|
+
access: "view"
|
|
23402
|
+
},
|
|
22898
23403
|
"waterHeater.setAway": {
|
|
22899
23404
|
capName: "water-heater",
|
|
22900
23405
|
capScope: "device",
|
|
@@ -22913,54 +23418,6 @@ Object.freeze({
|
|
|
22913
23418
|
addonId: null,
|
|
22914
23419
|
access: "create"
|
|
22915
23420
|
},
|
|
22916
|
-
"webrtc.closeSession": {
|
|
22917
|
-
capName: "webrtc",
|
|
22918
|
-
capScope: "system",
|
|
22919
|
-
addonId: null,
|
|
22920
|
-
access: "create"
|
|
22921
|
-
},
|
|
22922
|
-
"webrtc.createSession": {
|
|
22923
|
-
capName: "webrtc",
|
|
22924
|
-
capScope: "system",
|
|
22925
|
-
addonId: null,
|
|
22926
|
-
access: "create"
|
|
22927
|
-
},
|
|
22928
|
-
"webrtc.handleAnswer": {
|
|
22929
|
-
capName: "webrtc",
|
|
22930
|
-
capScope: "system",
|
|
22931
|
-
addonId: null,
|
|
22932
|
-
access: "create"
|
|
22933
|
-
},
|
|
22934
|
-
"webrtc.handleOffer": {
|
|
22935
|
-
capName: "webrtc",
|
|
22936
|
-
capScope: "system",
|
|
22937
|
-
addonId: null,
|
|
22938
|
-
access: "create"
|
|
22939
|
-
},
|
|
22940
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22941
|
-
capName: "webrtc",
|
|
22942
|
-
capScope: "system",
|
|
22943
|
-
addonId: null,
|
|
22944
|
-
access: "view"
|
|
22945
|
-
},
|
|
22946
|
-
"webrtc.registerStream": {
|
|
22947
|
-
capName: "webrtc",
|
|
22948
|
-
capScope: "system",
|
|
22949
|
-
addonId: null,
|
|
22950
|
-
access: "create"
|
|
22951
|
-
},
|
|
22952
|
-
"webrtc.supportsStream": {
|
|
22953
|
-
capName: "webrtc",
|
|
22954
|
-
capScope: "system",
|
|
22955
|
-
addonId: null,
|
|
22956
|
-
access: "view"
|
|
22957
|
-
},
|
|
22958
|
-
"webrtc.unregisterStream": {
|
|
22959
|
-
capName: "webrtc",
|
|
22960
|
-
capScope: "system",
|
|
22961
|
-
addonId: null,
|
|
22962
|
-
access: "delete"
|
|
22963
|
-
},
|
|
22964
23421
|
"webrtcSession.addIceCandidate": {
|
|
22965
23422
|
capName: "webrtc-session",
|
|
22966
23423
|
capScope: "device",
|