@camstack/addon-smtp-nodemailer 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/smtp.addon.js +715 -258
- package/dist/smtp.addon.mjs +715 -258
- package/package.json +1 -1
package/dist/smtp.addon.mjs
CHANGED
|
@@ -4663,7 +4663,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4663
4663
|
return inst;
|
|
4664
4664
|
}
|
|
4665
4665
|
//#endregion
|
|
4666
|
-
//#region ../types/dist/sleep-
|
|
4666
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4667
4667
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4668
4668
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4669
4669
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4849,6 +4849,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4849
4849
|
*/
|
|
4850
4850
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4851
4851
|
/**
|
|
4852
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4853
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4854
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4855
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4856
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4857
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4858
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4859
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4860
|
+
* broker's long backstop reconcile query).
|
|
4861
|
+
*/
|
|
4862
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4863
|
+
/**
|
|
4852
4864
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4853
4865
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4854
4866
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5372,10 +5384,6 @@ function hydrateField(field, values) {
|
|
|
5372
5384
|
};
|
|
5373
5385
|
}
|
|
5374
5386
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5375
|
-
if (field.type === "password") return {
|
|
5376
|
-
...field,
|
|
5377
|
-
value: ""
|
|
5378
|
-
};
|
|
5379
5387
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5380
5388
|
return {
|
|
5381
5389
|
...field,
|
|
@@ -6759,6 +6767,21 @@ function method(input, output, options) {
|
|
|
6759
6767
|
timeoutMs: options?.timeoutMs
|
|
6760
6768
|
};
|
|
6761
6769
|
}
|
|
6770
|
+
/**
|
|
6771
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6772
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6773
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6774
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6775
|
+
*/
|
|
6776
|
+
function systemMethod(input, output, options) {
|
|
6777
|
+
return {
|
|
6778
|
+
...method(input, output, options),
|
|
6779
|
+
systemOnly: true
|
|
6780
|
+
};
|
|
6781
|
+
}
|
|
6782
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6783
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6784
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6762
6785
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6763
6786
|
var VersionOutputSchema = object({ version: string() });
|
|
6764
6787
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6928,6 +6951,36 @@ var ModelFormatsSchema = object({
|
|
|
6928
6951
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6929
6952
|
pt: ModelFormatEntrySchema.optional()
|
|
6930
6953
|
});
|
|
6954
|
+
/**
|
|
6955
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6956
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6957
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6958
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6959
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6960
|
+
* to an `id`.
|
|
6961
|
+
*/
|
|
6962
|
+
var ModelVariantGroupSchema = object({
|
|
6963
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6964
|
+
family: string(),
|
|
6965
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6966
|
+
tier: string(),
|
|
6967
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6968
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6969
|
+
/**
|
|
6970
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6971
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6972
|
+
* future performance variants plug into.
|
|
6973
|
+
*/
|
|
6974
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6975
|
+
/**
|
|
6976
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6977
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6978
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6979
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6980
|
+
* the group so the selector can offer it as a variant axis.
|
|
6981
|
+
*/
|
|
6982
|
+
resolution: number().int().positive().optional()
|
|
6983
|
+
});
|
|
6931
6984
|
var ModelCatalogEntrySchema = object({
|
|
6932
6985
|
id: string(),
|
|
6933
6986
|
name: string(),
|
|
@@ -6957,7 +7010,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6957
7010
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6958
7011
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6959
7012
|
*/
|
|
6960
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7013
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7014
|
+
/**
|
|
7015
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7016
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7017
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7018
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7019
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7020
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7021
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7022
|
+
*/
|
|
7023
|
+
legacy: boolean().optional(),
|
|
7024
|
+
/**
|
|
7025
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7026
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7027
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7028
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7029
|
+
*/
|
|
7030
|
+
metrics: object({
|
|
7031
|
+
map50: number().optional(),
|
|
7032
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7033
|
+
}).optional(),
|
|
7034
|
+
/**
|
|
7035
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7036
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7037
|
+
* the retraining addon and any future commercial distribution.
|
|
7038
|
+
*/
|
|
7039
|
+
license: string().optional(),
|
|
7040
|
+
/**
|
|
7041
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7042
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7043
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7044
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7045
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7046
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7047
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7048
|
+
*/
|
|
7049
|
+
group: ModelVariantGroupSchema.optional()
|
|
6961
7050
|
});
|
|
6962
7051
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6963
7052
|
format: literal("openvino"),
|
|
@@ -7018,8 +7107,8 @@ var RecordingModeSchema = _enum([
|
|
|
7018
7107
|
"onAudioThreshold"
|
|
7019
7108
|
]);
|
|
7020
7109
|
/**
|
|
7021
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7022
|
-
* reads directly (never inferred from `rules`):
|
|
7110
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7111
|
+
* UI reads directly (never inferred from `rules`):
|
|
7023
7112
|
* - `off` — not recording.
|
|
7024
7113
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7025
7114
|
* with pre/post-buffer.
|
|
@@ -8667,26 +8756,13 @@ DeviceType.Light, method(object({
|
|
|
8667
8756
|
percentage: number().min(0).max(100),
|
|
8668
8757
|
lastChangedAt: number()
|
|
8669
8758
|
});
|
|
8759
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8670
8760
|
var StreamFormatSchema = _enum([
|
|
8671
8761
|
"webrtc",
|
|
8672
8762
|
"hls",
|
|
8673
8763
|
"mjpeg",
|
|
8674
8764
|
"rtsp"
|
|
8675
8765
|
]);
|
|
8676
|
-
var StreamInfoSchema = object({
|
|
8677
|
-
streamId: string(),
|
|
8678
|
-
format: StreamFormatSchema,
|
|
8679
|
-
url: string().nullable(),
|
|
8680
|
-
active: boolean()
|
|
8681
|
-
});
|
|
8682
|
-
method(object({
|
|
8683
|
-
streamId: string(),
|
|
8684
|
-
sourceUrl: string(),
|
|
8685
|
-
codec: string().optional()
|
|
8686
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8687
|
-
streamId: string(),
|
|
8688
|
-
format: StreamFormatSchema
|
|
8689
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8690
8766
|
var RtspRestreamEntrySchema = object({
|
|
8691
8767
|
brokerId: string(),
|
|
8692
8768
|
url: string(),
|
|
@@ -9351,7 +9427,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9351
9427
|
})),
|
|
9352
9428
|
lastChangedAt: number()
|
|
9353
9429
|
});
|
|
9354
|
-
|
|
9430
|
+
Object.values(DeviceType), method(object({
|
|
9355
9431
|
deviceId: number().int().nonnegative(),
|
|
9356
9432
|
key: string().min(1)
|
|
9357
9433
|
}), _void(), {
|
|
@@ -10266,7 +10342,7 @@ var BoundingBoxSchema = object({
|
|
|
10266
10342
|
w: number(),
|
|
10267
10343
|
h: number()
|
|
10268
10344
|
});
|
|
10269
|
-
|
|
10345
|
+
object({
|
|
10270
10346
|
class: string(),
|
|
10271
10347
|
originalClass: string(),
|
|
10272
10348
|
score: number(),
|
|
@@ -10401,7 +10477,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10401
10477
|
enabled: boolean(),
|
|
10402
10478
|
modelId: string(),
|
|
10403
10479
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10404
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10405
10480
|
group: string().optional(),
|
|
10406
10481
|
settings: record(string(), unknown()).optional()
|
|
10407
10482
|
}));
|
|
@@ -10426,7 +10501,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10426
10501
|
formats: record(string(), object({
|
|
10427
10502
|
downloaded: boolean(),
|
|
10428
10503
|
sizeMB: number()
|
|
10429
|
-
}))
|
|
10504
|
+
})),
|
|
10505
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10506
|
+
legacy: boolean().optional()
|
|
10430
10507
|
});
|
|
10431
10508
|
var ConfigFieldBridge = custom();
|
|
10432
10509
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10440,6 +10517,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10440
10517
|
defaultModelId: string(),
|
|
10441
10518
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10442
10519
|
enabledByDefault: boolean().optional(),
|
|
10520
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10443
10521
|
defaultConfidence: number(),
|
|
10444
10522
|
group: string().optional(),
|
|
10445
10523
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10456,11 +10534,6 @@ var PipelineSchemaSchema = object({
|
|
|
10456
10534
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10457
10535
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10458
10536
|
});
|
|
10459
|
-
var DetectorOutputSchema = object({
|
|
10460
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10461
|
-
inferenceMs: number(),
|
|
10462
|
-
modelId: string()
|
|
10463
|
-
});
|
|
10464
10537
|
var EngineProvisioningSchema = object({
|
|
10465
10538
|
runtimeId: _enum([
|
|
10466
10539
|
"onnx",
|
|
@@ -10477,15 +10550,42 @@ var EngineProvisioningSchema = object({
|
|
|
10477
10550
|
]),
|
|
10478
10551
|
progress: number().optional(),
|
|
10479
10552
|
error: string().optional(),
|
|
10480
|
-
nextRetryAt: number().optional()
|
|
10553
|
+
nextRetryAt: number().optional(),
|
|
10554
|
+
/**
|
|
10555
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10556
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10557
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10558
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10559
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10560
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10561
|
+
*/
|
|
10562
|
+
configIssues: array(string()).optional()
|
|
10481
10563
|
});
|
|
10482
10564
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10483
10565
|
addonId: string(),
|
|
10484
|
-
modelId: string(),
|
|
10566
|
+
modelId: string().optional(),
|
|
10485
10567
|
enabled: boolean().default(true),
|
|
10486
10568
|
children: array(PipelineStepInputSchema).optional(),
|
|
10487
10569
|
settings: record(string(), unknown()).optional()
|
|
10488
10570
|
}));
|
|
10571
|
+
var ModelSubstitutionSchema = object({
|
|
10572
|
+
addonId: string(),
|
|
10573
|
+
chosen: string(),
|
|
10574
|
+
running: string(),
|
|
10575
|
+
format: string()
|
|
10576
|
+
});
|
|
10577
|
+
var PipelineValidationIssueSchema = object({
|
|
10578
|
+
addonId: string(),
|
|
10579
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10580
|
+
detail: string()
|
|
10581
|
+
});
|
|
10582
|
+
var PipelineValidationResultSchema = object({
|
|
10583
|
+
ok: boolean(),
|
|
10584
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10585
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10586
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10587
|
+
format: string()
|
|
10588
|
+
});
|
|
10489
10589
|
var ReferenceImageEntrySchema = object({
|
|
10490
10590
|
filename: string(),
|
|
10491
10591
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10556,7 +10656,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10556
10656
|
})) }), object({ success: literal(true) }), {
|
|
10557
10657
|
kind: "mutation",
|
|
10558
10658
|
auth: "admin"
|
|
10559
|
-
}), method(
|
|
10659
|
+
}), method(object({ nodeId: string() }), object({
|
|
10660
|
+
success: literal(true),
|
|
10661
|
+
clearedDevices: number()
|
|
10662
|
+
}), {
|
|
10663
|
+
kind: "mutation",
|
|
10664
|
+
auth: "admin"
|
|
10665
|
+
}), 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({
|
|
10560
10666
|
name: string(),
|
|
10561
10667
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10562
10668
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10573,10 +10679,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10573
10679
|
modelId: string(),
|
|
10574
10680
|
format: ModelFormatSchema$1
|
|
10575
10681
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10576
|
-
addonId: string(),
|
|
10577
|
-
frame: FrameInputSchema,
|
|
10578
|
-
config: record(string(), unknown()).optional()
|
|
10579
|
-
}), DetectorOutputSchema), method(object({
|
|
10580
10682
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10581
10683
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10582
10684
|
frame: FrameInputSchema.optional(),
|
|
@@ -10597,7 +10699,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10597
10699
|
image: _instanceof(Uint8Array).optional(),
|
|
10598
10700
|
referenceImage: string().optional(),
|
|
10599
10701
|
deviceId: number().optional(),
|
|
10600
|
-
sessionId: string().optional()
|
|
10702
|
+
sessionId: string().optional(),
|
|
10703
|
+
/**
|
|
10704
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10705
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10706
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10707
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10708
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10709
|
+
*/
|
|
10710
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10601
10711
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10602
10712
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10603
10713
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10722,6 +10832,47 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(ZoneSchema).read
|
|
|
10722
10832
|
auth: "admin"
|
|
10723
10833
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10724
10834
|
/**
|
|
10835
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
10836
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
10837
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
10838
|
+
* dims — no native resolution to plumb.
|
|
10839
|
+
*/
|
|
10840
|
+
var NativeCropBboxSchema = object({
|
|
10841
|
+
x: number(),
|
|
10842
|
+
y: number(),
|
|
10843
|
+
w: number(),
|
|
10844
|
+
h: number()
|
|
10845
|
+
});
|
|
10846
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
10847
|
+
var NativeCropResultSchema = object({
|
|
10848
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
10849
|
+
bytes: _instanceof(Uint8Array),
|
|
10850
|
+
width: number().int().positive(),
|
|
10851
|
+
height: number().int().positive()
|
|
10852
|
+
});
|
|
10853
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10854
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10855
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10856
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10857
|
+
* normalized [0,1] convention). */
|
|
10858
|
+
var DetailParentSchema = object({
|
|
10859
|
+
bbox: NativeCropBboxSchema,
|
|
10860
|
+
className: string()
|
|
10861
|
+
});
|
|
10862
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10863
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10864
|
+
* single tracked detection. */
|
|
10865
|
+
var DetailResultSchema = object({
|
|
10866
|
+
stepId: string(),
|
|
10867
|
+
className: string(),
|
|
10868
|
+
score: number(),
|
|
10869
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10870
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10871
|
+
embedding: string().optional(),
|
|
10872
|
+
label: string().optional(),
|
|
10873
|
+
alignedCropJpeg: string().optional()
|
|
10874
|
+
});
|
|
10875
|
+
/**
|
|
10725
10876
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10726
10877
|
* by both the Zod data schema (validation + default fallback) and
|
|
10727
10878
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -10816,6 +10967,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10816
10967
|
kind: literal("remote-restream"),
|
|
10817
10968
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
10818
10969
|
ownerNodeId: string(),
|
|
10970
|
+
/**
|
|
10971
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
10972
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
10973
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
10974
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
10975
|
+
*/
|
|
10976
|
+
ownerReachableHost: string().optional(),
|
|
10819
10977
|
/** Operator override for the owner host the runner dials. */
|
|
10820
10978
|
hubHostnameOverride: string().optional()
|
|
10821
10979
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -10824,13 +10982,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10824
10982
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
10825
10983
|
* runner needs to subscribe to the local broker and execute inference.
|
|
10826
10984
|
*
|
|
10827
|
-
* Stateless-pipeline model: the
|
|
10828
|
-
*
|
|
10829
|
-
*
|
|
10830
|
-
*
|
|
10831
|
-
*
|
|
10832
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
10833
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
10985
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
10986
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
10987
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
10988
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
10989
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
10834
10990
|
*/
|
|
10835
10991
|
var RunnerCameraConfigSchema = object({
|
|
10836
10992
|
deviceId: number(),
|
|
@@ -10881,14 +11037,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
10881
11037
|
*/
|
|
10882
11038
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
10883
11039
|
pipelineEnabled: boolean().default(true),
|
|
10884
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
10885
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10886
11040
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
10887
11041
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
10888
11042
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
10889
11043
|
audio: object({
|
|
10890
|
-
|
|
10891
|
-
modelId: string(),
|
|
11044
|
+
modelId: string().optional(),
|
|
10892
11045
|
enabled: boolean()
|
|
10893
11046
|
}).nullable().optional(),
|
|
10894
11047
|
/**
|
|
@@ -10975,7 +11128,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
10975
11128
|
avgInferenceTimeMs: number(),
|
|
10976
11129
|
queueDepth: number()
|
|
10977
11130
|
});
|
|
10978
|
-
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())
|
|
11131
|
+
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({
|
|
11132
|
+
handle: FrameHandleSchema,
|
|
11133
|
+
bbox: NativeCropBboxSchema,
|
|
11134
|
+
maxWidth: number().int().positive().optional()
|
|
11135
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11136
|
+
deviceId: number(),
|
|
11137
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11138
|
+
cropJpeg: string().optional(),
|
|
11139
|
+
parent: DetailParentSchema,
|
|
11140
|
+
steps: array(string()).optional()
|
|
11141
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
10979
11142
|
object({
|
|
10980
11143
|
detected: boolean(),
|
|
10981
11144
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12269,7 +12432,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12269
12432
|
icon: string(),
|
|
12270
12433
|
path: string(),
|
|
12271
12434
|
remoteName: string(),
|
|
12272
|
-
bundle: string()
|
|
12435
|
+
bundle: string(),
|
|
12436
|
+
section: string().optional(),
|
|
12437
|
+
sectionLabel: string().optional()
|
|
12273
12438
|
});
|
|
12274
12439
|
var AddonPageInfoSchema = object({
|
|
12275
12440
|
addonId: string(),
|
|
@@ -12309,7 +12474,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12309
12474
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12310
12475
|
* without a separate filesystem stat.
|
|
12311
12476
|
*/
|
|
12312
|
-
bundle: string()
|
|
12477
|
+
bundle: string(),
|
|
12478
|
+
/**
|
|
12479
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12480
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12481
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12482
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12483
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12484
|
+
* "Addon Pages" group.
|
|
12485
|
+
*/
|
|
12486
|
+
section: string().optional(),
|
|
12487
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12488
|
+
sectionLabel: string().optional()
|
|
12313
12489
|
});
|
|
12314
12490
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12315
12491
|
var AddonHttpRouteSchema = object({
|
|
@@ -12525,6 +12701,17 @@ var WidgetMetadataSchema = object({
|
|
|
12525
12701
|
deviceContext: boolean().default(false),
|
|
12526
12702
|
integrationContext: boolean().default(false)
|
|
12527
12703
|
}),
|
|
12704
|
+
/**
|
|
12705
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12706
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12707
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12708
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12709
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12710
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12711
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12712
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12713
|
+
*/
|
|
12714
|
+
preAuth: boolean().optional().default(false),
|
|
12528
12715
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12529
12716
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12530
12717
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -12826,6 +13013,66 @@ method(object({
|
|
|
12826
13013
|
password: string()
|
|
12827
13014
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
12828
13015
|
/**
|
|
13016
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13017
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13018
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13019
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13020
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13021
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13022
|
+
*
|
|
13023
|
+
* A contribution is a discriminated union on `kind`:
|
|
13024
|
+
*
|
|
13025
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13026
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13027
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13028
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13029
|
+
* login page needs NO change.
|
|
13030
|
+
*
|
|
13031
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13032
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13033
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13034
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13035
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13036
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13037
|
+
*
|
|
13038
|
+
* Every contribution carries a `stage`:
|
|
13039
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13040
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13041
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13042
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13043
|
+
*
|
|
13044
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13045
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13046
|
+
* tRPC router.
|
|
13047
|
+
*/
|
|
13048
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13049
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13050
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13051
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13052
|
+
kind: literal("redirect"),
|
|
13053
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13054
|
+
id: string(),
|
|
13055
|
+
/** Operator-facing button label. */
|
|
13056
|
+
label: string(),
|
|
13057
|
+
/** lucide-react icon name. */
|
|
13058
|
+
icon: string().optional(),
|
|
13059
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13060
|
+
startUrl: string(),
|
|
13061
|
+
stage: LoginStageEnum
|
|
13062
|
+
}), object({
|
|
13063
|
+
kind: literal("widget"),
|
|
13064
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13065
|
+
id: string(),
|
|
13066
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13067
|
+
addonId: string(),
|
|
13068
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13069
|
+
bundle: string(),
|
|
13070
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13071
|
+
remote: WidgetRemoteSchema,
|
|
13072
|
+
stage: LoginStageEnum
|
|
13073
|
+
})]);
|
|
13074
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13075
|
+
/**
|
|
12829
13076
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
12830
13077
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
12831
13078
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -14929,7 +15176,17 @@ var TrackSchema = object({
|
|
|
14929
15176
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
14930
15177
|
totalDistance: number(),
|
|
14931
15178
|
state: TrackStateSchema,
|
|
14932
|
-
active: boolean()
|
|
15179
|
+
active: boolean(),
|
|
15180
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15181
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15182
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15183
|
+
importance: number().optional(),
|
|
15184
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15185
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15186
|
+
bestEventId: string().optional(),
|
|
15187
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15188
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15189
|
+
importanceReason: string().optional()
|
|
14933
15190
|
});
|
|
14934
15191
|
var BaseEventFields = {
|
|
14935
15192
|
id: string(),
|
|
@@ -14994,8 +15251,18 @@ var ObjectEventSchema = object({
|
|
|
14994
15251
|
frameHeight: number().optional(),
|
|
14995
15252
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
14996
15253
|
mediaKey: string().optional(),
|
|
15254
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15255
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15256
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15257
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15258
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15259
|
+
keyFrameMediaKey: string().optional(),
|
|
14997
15260
|
/** Populated by B5 (recording playback URL for this event). */
|
|
14998
|
-
mediaUrl: string().optional()
|
|
15261
|
+
mediaUrl: string().optional(),
|
|
15262
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15263
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15264
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15265
|
+
importance: number().optional()
|
|
14999
15266
|
});
|
|
15000
15267
|
var AudioEventSchema = object({
|
|
15001
15268
|
...BaseEventFields,
|
|
@@ -15019,7 +15286,8 @@ var MediaFileKindEnum = _enum([
|
|
|
15019
15286
|
"fullFrame",
|
|
15020
15287
|
"fullFrameBoxed",
|
|
15021
15288
|
"faceCrop",
|
|
15022
|
-
"plateCrop"
|
|
15289
|
+
"plateCrop",
|
|
15290
|
+
"keyFrame"
|
|
15023
15291
|
]);
|
|
15024
15292
|
var MediaFileSchema = object({
|
|
15025
15293
|
key: string(),
|
|
@@ -15040,6 +15308,32 @@ var DeviceEventQueryInput = object({
|
|
|
15040
15308
|
projection: _enum(["full", "slim"]).optional()
|
|
15041
15309
|
});
|
|
15042
15310
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15311
|
+
var KeyEventQueryInput = object({
|
|
15312
|
+
deviceId: number(),
|
|
15313
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15314
|
+
since: number(),
|
|
15315
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15316
|
+
until: number(),
|
|
15317
|
+
limit: number().int().min(1).max(200).default(50),
|
|
15318
|
+
/** Drop tracks scoring below this importance. */
|
|
15319
|
+
minImportance: number().min(0).max(1).optional(),
|
|
15320
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15321
|
+
classFilter: string().optional()
|
|
15322
|
+
});
|
|
15323
|
+
var KeyEventSchema = object({
|
|
15324
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15325
|
+
id: string(),
|
|
15326
|
+
trackId: string(),
|
|
15327
|
+
/** Track start time (firstSeen). */
|
|
15328
|
+
timestamp: number(),
|
|
15329
|
+
className: string(),
|
|
15330
|
+
label: string().optional(),
|
|
15331
|
+
importance: number(),
|
|
15332
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15333
|
+
bestEventId: string(),
|
|
15334
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15335
|
+
windowMs: number().optional()
|
|
15336
|
+
});
|
|
15043
15337
|
var TrackedDetectionSchema = object({
|
|
15044
15338
|
trackId: string(),
|
|
15045
15339
|
className: string(),
|
|
@@ -15069,7 +15363,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15069
15363
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
15070
15364
|
kind: "mutation",
|
|
15071
15365
|
auth: "admin"
|
|
15072
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15366
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15073
15367
|
deviceId: number(),
|
|
15074
15368
|
since: number(),
|
|
15075
15369
|
until: number(),
|
|
@@ -15114,11 +15408,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15114
15408
|
timestamp: number()
|
|
15115
15409
|
});
|
|
15116
15410
|
var CameraPipelineConfigSchema = object({
|
|
15117
|
-
engine: PipelineEngineChoiceSchema,
|
|
15411
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15118
15412
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15119
15413
|
audio: object({
|
|
15120
|
-
engine: PipelineEngineChoiceSchema,
|
|
15121
|
-
modelId: string(),
|
|
15414
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15415
|
+
modelId: string().optional(),
|
|
15122
15416
|
enabled: boolean(),
|
|
15123
15417
|
settings: record(string(), unknown()).readonly().optional()
|
|
15124
15418
|
}).nullable().optional()
|
|
@@ -15133,7 +15427,7 @@ var PipelineTemplateSchema = object({
|
|
|
15133
15427
|
});
|
|
15134
15428
|
var AgentAddonConfigSchema = object({
|
|
15135
15429
|
enabled: boolean(),
|
|
15136
|
-
modelId: string(),
|
|
15430
|
+
modelId: string().optional(),
|
|
15137
15431
|
settings: record(string(), unknown()).readonly()
|
|
15138
15432
|
});
|
|
15139
15433
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15143,12 +15437,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15143
15437
|
detectWeight: number().positive().optional(),
|
|
15144
15438
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15145
15439
|
detect: boolean().optional(),
|
|
15146
|
-
/**
|
|
15440
|
+
/**
|
|
15441
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15442
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15443
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15444
|
+
* parse — no code reads it and no write path emits it.
|
|
15445
|
+
*/
|
|
15147
15446
|
decode: boolean().optional(),
|
|
15148
15447
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15149
15448
|
audio: boolean().optional(),
|
|
15150
15449
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15151
|
-
ingest: boolean().optional()
|
|
15450
|
+
ingest: boolean().optional(),
|
|
15451
|
+
/**
|
|
15452
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15453
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15454
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15455
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15456
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15457
|
+
*/
|
|
15458
|
+
reachableHost: string().optional()
|
|
15152
15459
|
});
|
|
15153
15460
|
var CameraPipelineForAgentSchema = object({
|
|
15154
15461
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15196,25 +15503,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15196
15503
|
assignedAt: number()
|
|
15197
15504
|
});
|
|
15198
15505
|
/**
|
|
15199
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15200
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15201
|
-
* → co-located with pipeline → capacity).
|
|
15202
|
-
*/
|
|
15203
|
-
var DecoderAssignmentSchema = object({
|
|
15204
|
-
deviceId: number(),
|
|
15205
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15206
|
-
decoderNodeId: string(),
|
|
15207
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15208
|
-
pinned: boolean(),
|
|
15209
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15210
|
-
reason: _enum([
|
|
15211
|
-
"manual",
|
|
15212
|
-
"co-located",
|
|
15213
|
-
"capacity",
|
|
15214
|
-
"hardware-affinity"
|
|
15215
|
-
])
|
|
15216
|
-
});
|
|
15217
|
-
/**
|
|
15218
15506
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15219
15507
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15220
15508
|
*/
|
|
@@ -15254,6 +15542,15 @@ var GlobalMetricsSchema = object({
|
|
|
15254
15542
|
* capability providers.
|
|
15255
15543
|
*/
|
|
15256
15544
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15545
|
+
/**
|
|
15546
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15547
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15548
|
+
*/
|
|
15549
|
+
var IngestOwnerSchema = object({
|
|
15550
|
+
ownerNodeId: string(),
|
|
15551
|
+
reachableHost: string().optional(),
|
|
15552
|
+
configIssue: string().optional()
|
|
15553
|
+
});
|
|
15257
15554
|
/** Source block — always present; derives from the stream catalog. */
|
|
15258
15555
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15259
15556
|
camStreamId: string(),
|
|
@@ -15268,6 +15565,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15268
15565
|
detectionNodeId: string().nullable(),
|
|
15269
15566
|
decoderNodeId: string().nullable(),
|
|
15270
15567
|
audioNodeId: string().nullable(),
|
|
15568
|
+
/**
|
|
15569
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15570
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15571
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15572
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15573
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15574
|
+
*/
|
|
15575
|
+
sourceNodeId: string().nullable(),
|
|
15271
15576
|
pinned: object({
|
|
15272
15577
|
detection: boolean(),
|
|
15273
15578
|
decoder: boolean(),
|
|
@@ -15400,16 +15705,7 @@ method(object({
|
|
|
15400
15705
|
}), object({ success: literal(true) }), {
|
|
15401
15706
|
kind: "mutation",
|
|
15402
15707
|
auth: "admin"
|
|
15403
|
-
}), method(object({
|
|
15404
|
-
deviceId: number(),
|
|
15405
|
-
nodeId: string()
|
|
15406
|
-
}), _void(), {
|
|
15407
|
-
kind: "mutation",
|
|
15408
|
-
auth: "admin"
|
|
15409
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
15410
|
-
kind: "mutation",
|
|
15411
|
-
auth: "admin"
|
|
15412
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15708
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15413
15709
|
deviceId: number(),
|
|
15414
15710
|
nodeId: string()
|
|
15415
15711
|
}), object({ success: literal(true) }), {
|
|
@@ -15430,10 +15726,7 @@ method(object({
|
|
|
15430
15726
|
nodeId: string(),
|
|
15431
15727
|
pinned: boolean(),
|
|
15432
15728
|
assignedAt: number()
|
|
15433
|
-
}))), method(object({
|
|
15434
|
-
deviceId: number(),
|
|
15435
|
-
pipelineNodeId: string().optional()
|
|
15436
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15729
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15437
15730
|
nodeId: string(),
|
|
15438
15731
|
settings: AgentPipelineSettingsSchema
|
|
15439
15732
|
})).readonly()), method(object({
|
|
@@ -15463,12 +15756,26 @@ method(object({
|
|
|
15463
15756
|
}), method(object({
|
|
15464
15757
|
agentNodeId: string(),
|
|
15465
15758
|
detect: boolean().nullable().optional(),
|
|
15466
|
-
decode: boolean().nullable().optional(),
|
|
15467
15759
|
audio: boolean().nullable().optional(),
|
|
15468
15760
|
ingest: boolean().nullable().optional()
|
|
15469
15761
|
}), object({ success: literal(true) }), {
|
|
15470
15762
|
kind: "mutation",
|
|
15471
15763
|
auth: "admin"
|
|
15764
|
+
}), method(object({
|
|
15765
|
+
agentNodeId: string(),
|
|
15766
|
+
reachableHost: string().nullable()
|
|
15767
|
+
}), object({ success: literal(true) }), {
|
|
15768
|
+
kind: "mutation",
|
|
15769
|
+
auth: "admin"
|
|
15770
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
15771
|
+
success: literal(true),
|
|
15772
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
15773
|
+
effectiveModelId: string().nullable(),
|
|
15774
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
15775
|
+
clearedCameraOverrides: number()
|
|
15776
|
+
}), {
|
|
15777
|
+
kind: "mutation",
|
|
15778
|
+
auth: "admin"
|
|
15472
15779
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15473
15780
|
deviceId: number(),
|
|
15474
15781
|
addonId: string(),
|
|
@@ -15513,22 +15820,131 @@ method(object({
|
|
|
15513
15820
|
kind: "mutation",
|
|
15514
15821
|
auth: "admin"
|
|
15515
15822
|
});
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
|
|
15521
|
-
|
|
15823
|
+
/**
|
|
15824
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
15825
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
15826
|
+
* agents).
|
|
15827
|
+
*
|
|
15828
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
15829
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
15830
|
+
* version describes the node. Updates install into
|
|
15831
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
15832
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
15833
|
+
*
|
|
15834
|
+
* Providers:
|
|
15835
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
15836
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
15837
|
+
* unpinned calls.
|
|
15838
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
15839
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
15840
|
+
* `$hub.registerNode` manifest.
|
|
15841
|
+
*
|
|
15842
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
15843
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
15844
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
15845
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
15846
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
15847
|
+
*
|
|
15848
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
15849
|
+
*/
|
|
15850
|
+
/**
|
|
15851
|
+
* Where the running hub's code was loaded from:
|
|
15852
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
15853
|
+
* plain resolution and runtime updates are refused.
|
|
15854
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
15855
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
15856
|
+
*/
|
|
15857
|
+
var ServerBootModeSchema = _enum([
|
|
15858
|
+
"workspace",
|
|
15859
|
+
"baked",
|
|
15860
|
+
"data-root"
|
|
15861
|
+
]);
|
|
15862
|
+
/**
|
|
15863
|
+
* Update lifecycle state:
|
|
15864
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
15865
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
15866
|
+
* restarted onto it (still running the OLD version).
|
|
15867
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
15868
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
15869
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
15870
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
15871
|
+
*/
|
|
15872
|
+
var ServerUpdateStateSchema = _enum([
|
|
15873
|
+
"idle",
|
|
15874
|
+
"checking",
|
|
15875
|
+
"staging",
|
|
15876
|
+
"pending-restart",
|
|
15877
|
+
"awaiting-confirmation"
|
|
15878
|
+
]);
|
|
15879
|
+
var ServerRollbackInfoSchema = object({
|
|
15880
|
+
/** The version that failed (or was manually rolled back). */
|
|
15881
|
+
fromVersion: string(),
|
|
15882
|
+
/** The version rolled back to; null = the baked seed. */
|
|
15883
|
+
toVersion: string().nullable(),
|
|
15884
|
+
atMs: number(),
|
|
15885
|
+
reason: string()
|
|
15522
15886
|
});
|
|
15523
|
-
var
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
|
|
15887
|
+
var ServerPackageStatusSchema = object({
|
|
15888
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
15889
|
+
packageName: string(),
|
|
15890
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
15891
|
+
runningVersion: string().nullable(),
|
|
15892
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
15893
|
+
nodeRuntimeVersion: string().nullable(),
|
|
15894
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
15895
|
+
activeVersion: string().nullable(),
|
|
15896
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
15897
|
+
previousVersion: string().nullable(),
|
|
15898
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
15899
|
+
seedVersion: string().nullable(),
|
|
15900
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
15901
|
+
latestVersion: string().nullable(),
|
|
15902
|
+
updateAvailable: boolean(),
|
|
15903
|
+
bootMode: ServerBootModeSchema,
|
|
15904
|
+
updateState: ServerUpdateStateSchema,
|
|
15905
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
15906
|
+
pendingVersion: string().nullable(),
|
|
15907
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
15908
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
15909
|
+
/**
|
|
15910
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
15911
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
15912
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
15913
|
+
*/
|
|
15914
|
+
stateFileCorrupt: boolean(),
|
|
15915
|
+
lastCheckedAtMs: number().nullable()
|
|
15916
|
+
});
|
|
15917
|
+
var ServerUpdateCheckResultSchema = object({
|
|
15918
|
+
packageName: string(),
|
|
15919
|
+
runningVersion: string().nullable(),
|
|
15920
|
+
latestVersion: string().nullable(),
|
|
15921
|
+
updateAvailable: boolean(),
|
|
15922
|
+
checkedAtMs: number(),
|
|
15923
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
15924
|
+
error: string().nullable()
|
|
15925
|
+
});
|
|
15926
|
+
var ServerUpdateActionResultSchema = object({
|
|
15927
|
+
accepted: boolean(),
|
|
15928
|
+
targetVersion: string().nullable(),
|
|
15929
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
15930
|
+
restarting: boolean(),
|
|
15931
|
+
message: string()
|
|
15932
|
+
});
|
|
15933
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
15934
|
+
kind: "mutation",
|
|
15935
|
+
auth: "admin"
|
|
15936
|
+
}), method(object({
|
|
15937
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
15938
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
15939
|
+
kind: "mutation",
|
|
15940
|
+
auth: "admin"
|
|
15941
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
15942
|
+
kind: "mutation",
|
|
15943
|
+
auth: "admin"
|
|
15944
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
15945
|
+
kind: "mutation",
|
|
15946
|
+
auth: "admin"
|
|
15527
15947
|
});
|
|
15528
|
-
method(object({
|
|
15529
|
-
deviceId: number(),
|
|
15530
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15531
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
15532
15948
|
/**
|
|
15533
15949
|
* Query filter for settings-store collections.
|
|
15534
15950
|
*/
|
|
@@ -15694,9 +16110,9 @@ var smtpProviderCapability = {
|
|
|
15694
16110
|
/**
|
|
15695
16111
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15696
16112
|
*
|
|
15697
|
-
*
|
|
15698
|
-
*
|
|
15699
|
-
*
|
|
16113
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16114
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16115
|
+
* prebuffer fallback.
|
|
15700
16116
|
*/
|
|
15701
16117
|
var SnapshotImageSchema = object({
|
|
15702
16118
|
base64: string(),
|
|
@@ -15727,11 +16143,12 @@ DeviceType.Camera, method(object({
|
|
|
15727
16143
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
15728
16144
|
kind: "mutation",
|
|
15729
16145
|
auth: "admin"
|
|
15730
|
-
})
|
|
15731
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
16146
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
15732
16147
|
deviceId: number(),
|
|
15733
|
-
|
|
15734
|
-
|
|
16148
|
+
lastCapturedAt: number().nullable(),
|
|
16149
|
+
cacheAgeMs: number().nullable(),
|
|
16150
|
+
etag: string().nullable()
|
|
16151
|
+
})));
|
|
15735
16152
|
/**
|
|
15736
16153
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15737
16154
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -15982,10 +16399,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
15982
16399
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
15983
16400
|
* the assertion, bumps the credential counter, returns ok.
|
|
15984
16401
|
*
|
|
16402
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16403
|
+
* passkey IS the primary factor, no password leg:
|
|
16404
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16405
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16406
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16407
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16408
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16409
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16410
|
+
* resolves the credential by the response's credential id,
|
|
16411
|
+
* verifies the assertion against the stored challenge + that
|
|
16412
|
+
* credential's public key/counter, and returns the OWNING
|
|
16413
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16414
|
+
*
|
|
15985
16415
|
* 3. Management:
|
|
15986
16416
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
15987
16417
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
15988
16418
|
*
|
|
16419
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16420
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16421
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16422
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16423
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16424
|
+
* row ⇒ `enabled: false`).
|
|
16425
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16426
|
+
* the providing addon beside its credentials.
|
|
16427
|
+
*
|
|
15989
16428
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
15990
16429
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
15991
16430
|
* the cap to non-admins.
|
|
@@ -16028,6 +16467,17 @@ method(object({
|
|
|
16028
16467
|
}), object({ verified: boolean() }), {
|
|
16029
16468
|
kind: "mutation",
|
|
16030
16469
|
access: "view"
|
|
16470
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16471
|
+
kind: "mutation",
|
|
16472
|
+
access: "view"
|
|
16473
|
+
}), method(object({
|
|
16474
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16475
|
+
response: record(string(), unknown()) }), object({
|
|
16476
|
+
verified: boolean(),
|
|
16477
|
+
userId: string().nullable()
|
|
16478
|
+
}), {
|
|
16479
|
+
kind: "mutation",
|
|
16480
|
+
access: "view"
|
|
16031
16481
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16032
16482
|
userId: string(),
|
|
16033
16483
|
credentialId: string()
|
|
@@ -16035,6 +16485,13 @@ method(object({
|
|
|
16035
16485
|
kind: "mutation",
|
|
16036
16486
|
auth: "admin",
|
|
16037
16487
|
access: "delete"
|
|
16488
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16489
|
+
userId: string(),
|
|
16490
|
+
enabled: boolean()
|
|
16491
|
+
}), object({ success: literal(true) }), {
|
|
16492
|
+
kind: "mutation",
|
|
16493
|
+
auth: "admin",
|
|
16494
|
+
access: "create"
|
|
16038
16495
|
});
|
|
16039
16496
|
/**
|
|
16040
16497
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16092,9 +16549,10 @@ method(object({
|
|
|
16092
16549
|
auth: "admin"
|
|
16093
16550
|
});
|
|
16094
16551
|
/**
|
|
16095
|
-
* Optional client-side hints sent at session creation to help the
|
|
16096
|
-
*
|
|
16097
|
-
*
|
|
16552
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16553
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16554
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16555
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16098
16556
|
*/
|
|
16099
16557
|
var webrtcClientHintsSchema = object({
|
|
16100
16558
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -16105,22 +16563,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16105
16563
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16106
16564
|
prefersTier: string().optional()
|
|
16107
16565
|
}).partial();
|
|
16108
|
-
method(object({
|
|
16109
|
-
streamId: string(),
|
|
16110
|
-
sdpOffer: string()
|
|
16111
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16112
|
-
streamId: string(),
|
|
16113
|
-
codec: string()
|
|
16114
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16115
|
-
streamId: string(),
|
|
16116
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16117
|
-
}), object({
|
|
16118
|
-
sessionId: string(),
|
|
16119
|
-
sdpOffer: string()
|
|
16120
|
-
}), { kind: "mutation" }), method(object({
|
|
16121
|
-
sessionId: string(),
|
|
16122
|
-
sdpAnswer: string()
|
|
16123
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16124
16566
|
/**
|
|
16125
16567
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16126
16568
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -16851,7 +17293,17 @@ var FaceInfoSchema = object({
|
|
|
16851
17293
|
recognizedIdentityId: string().optional(),
|
|
16852
17294
|
identityName: string().optional(),
|
|
16853
17295
|
assigned: boolean(),
|
|
16854
|
-
base64: string().optional()
|
|
17296
|
+
base64: string().optional(),
|
|
17297
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17298
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17299
|
+
* legacy rows written before design B. */
|
|
17300
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17301
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17302
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17303
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17304
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17305
|
+
* back to the inline `base64` face crop. */
|
|
17306
|
+
keyFrameMediaKey: string().optional()
|
|
16855
17307
|
});
|
|
16856
17308
|
var FaceFilterEnum = _enum([
|
|
16857
17309
|
"unassigned",
|
|
@@ -17548,6 +18000,16 @@ var TopologyCategorySchema = object({
|
|
|
17548
18000
|
healthy: number(),
|
|
17549
18001
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17550
18002
|
});
|
|
18003
|
+
/**
|
|
18004
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18005
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18006
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18007
|
+
* rows and pre-phase-2 nodes report none.
|
|
18008
|
+
*/
|
|
18009
|
+
var TopologyRootPackageSchema = object({
|
|
18010
|
+
name: string(),
|
|
18011
|
+
version: string()
|
|
18012
|
+
});
|
|
17551
18013
|
var TopologyNodeSchema = object({
|
|
17552
18014
|
id: string(),
|
|
17553
18015
|
name: string(),
|
|
@@ -17571,7 +18033,8 @@ var TopologyNodeSchema = object({
|
|
|
17571
18033
|
status: string()
|
|
17572
18034
|
})).readonly(),
|
|
17573
18035
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17574
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18036
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18037
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17575
18038
|
});
|
|
17576
18039
|
var CapUsageEdgeSchema = object({
|
|
17577
18040
|
callerAddonId: string(),
|
|
@@ -20371,6 +20834,12 @@ Object.freeze({
|
|
|
20371
20834
|
addonId: null,
|
|
20372
20835
|
access: "create"
|
|
20373
20836
|
},
|
|
20837
|
+
"loginMethod.getLoginMethods": {
|
|
20838
|
+
capName: "login-method",
|
|
20839
|
+
capScope: "system",
|
|
20840
|
+
addonId: null,
|
|
20841
|
+
access: "view"
|
|
20842
|
+
},
|
|
20374
20843
|
"mediaPlayer.next": {
|
|
20375
20844
|
capName: "media-player",
|
|
20376
20845
|
capScope: "device",
|
|
@@ -20953,6 +21422,12 @@ Object.freeze({
|
|
|
20953
21422
|
addonId: null,
|
|
20954
21423
|
access: "view"
|
|
20955
21424
|
},
|
|
21425
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21426
|
+
capName: "pipeline-analytics",
|
|
21427
|
+
capScope: "device",
|
|
21428
|
+
addonId: null,
|
|
21429
|
+
access: "view"
|
|
21430
|
+
},
|
|
20956
21431
|
"pipelineAnalytics.getMotionEvents": {
|
|
20957
21432
|
capName: "pipeline-analytics",
|
|
20958
21433
|
capScope: "device",
|
|
@@ -21001,23 +21476,23 @@ Object.freeze({
|
|
|
21001
21476
|
addonId: null,
|
|
21002
21477
|
access: "create"
|
|
21003
21478
|
},
|
|
21004
|
-
"pipelineExecutor.
|
|
21479
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
21005
21480
|
capName: "pipeline-executor",
|
|
21006
21481
|
capScope: "system",
|
|
21007
21482
|
addonId: null,
|
|
21008
21483
|
access: "delete"
|
|
21009
21484
|
},
|
|
21010
|
-
"pipelineExecutor.
|
|
21485
|
+
"pipelineExecutor.deleteModel": {
|
|
21011
21486
|
capName: "pipeline-executor",
|
|
21012
21487
|
capScope: "system",
|
|
21013
21488
|
addonId: null,
|
|
21014
21489
|
access: "delete"
|
|
21015
21490
|
},
|
|
21016
|
-
"pipelineExecutor.
|
|
21491
|
+
"pipelineExecutor.deleteTemplate": {
|
|
21017
21492
|
capName: "pipeline-executor",
|
|
21018
21493
|
capScope: "system",
|
|
21019
21494
|
addonId: null,
|
|
21020
|
-
access: "
|
|
21495
|
+
access: "delete"
|
|
21021
21496
|
},
|
|
21022
21497
|
"pipelineExecutor.downloadModel": {
|
|
21023
21498
|
capName: "pipeline-executor",
|
|
@@ -21211,13 +21686,13 @@ Object.freeze({
|
|
|
21211
21686
|
addonId: null,
|
|
21212
21687
|
access: "create"
|
|
21213
21688
|
},
|
|
21214
|
-
"
|
|
21215
|
-
capName: "pipeline-
|
|
21689
|
+
"pipelineExecutor.validatePipeline": {
|
|
21690
|
+
capName: "pipeline-executor",
|
|
21216
21691
|
capScope: "system",
|
|
21217
21692
|
addonId: null,
|
|
21218
|
-
access: "
|
|
21693
|
+
access: "view"
|
|
21219
21694
|
},
|
|
21220
|
-
"pipelineOrchestrator.
|
|
21695
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21221
21696
|
capName: "pipeline-orchestrator",
|
|
21222
21697
|
capScope: "system",
|
|
21223
21698
|
addonId: null,
|
|
@@ -21301,19 +21776,13 @@ Object.freeze({
|
|
|
21301
21776
|
addonId: null,
|
|
21302
21777
|
access: "view"
|
|
21303
21778
|
},
|
|
21304
|
-
"pipelineOrchestrator.
|
|
21779
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21305
21780
|
capName: "pipeline-orchestrator",
|
|
21306
21781
|
capScope: "system",
|
|
21307
21782
|
addonId: null,
|
|
21308
21783
|
access: "view"
|
|
21309
21784
|
},
|
|
21310
|
-
"pipelineOrchestrator.
|
|
21311
|
-
capName: "pipeline-orchestrator",
|
|
21312
|
-
capScope: "system",
|
|
21313
|
-
addonId: null,
|
|
21314
|
-
access: "view"
|
|
21315
|
-
},
|
|
21316
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21785
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21317
21786
|
capName: "pipeline-orchestrator",
|
|
21318
21787
|
capScope: "system",
|
|
21319
21788
|
addonId: null,
|
|
@@ -21355,6 +21824,12 @@ Object.freeze({
|
|
|
21355
21824
|
addonId: null,
|
|
21356
21825
|
access: "delete"
|
|
21357
21826
|
},
|
|
21827
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
21828
|
+
capName: "pipeline-orchestrator",
|
|
21829
|
+
capScope: "system",
|
|
21830
|
+
addonId: null,
|
|
21831
|
+
access: "delete"
|
|
21832
|
+
},
|
|
21358
21833
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21359
21834
|
capName: "pipeline-orchestrator",
|
|
21360
21835
|
capScope: "system",
|
|
@@ -21391,37 +21866,37 @@ Object.freeze({
|
|
|
21391
21866
|
addonId: null,
|
|
21392
21867
|
access: "create"
|
|
21393
21868
|
},
|
|
21394
|
-
"pipelineOrchestrator.
|
|
21869
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21395
21870
|
capName: "pipeline-orchestrator",
|
|
21396
21871
|
capScope: "system",
|
|
21397
21872
|
addonId: null,
|
|
21398
21873
|
access: "create"
|
|
21399
21874
|
},
|
|
21400
|
-
"pipelineOrchestrator.
|
|
21875
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21401
21876
|
capName: "pipeline-orchestrator",
|
|
21402
21877
|
capScope: "system",
|
|
21403
21878
|
addonId: null,
|
|
21404
21879
|
access: "create"
|
|
21405
21880
|
},
|
|
21406
|
-
"pipelineOrchestrator.
|
|
21881
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21407
21882
|
capName: "pipeline-orchestrator",
|
|
21408
21883
|
capScope: "system",
|
|
21409
21884
|
addonId: null,
|
|
21410
21885
|
access: "create"
|
|
21411
21886
|
},
|
|
21412
|
-
"pipelineOrchestrator.
|
|
21887
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21413
21888
|
capName: "pipeline-orchestrator",
|
|
21414
21889
|
capScope: "system",
|
|
21415
21890
|
addonId: null,
|
|
21416
21891
|
access: "create"
|
|
21417
21892
|
},
|
|
21418
|
-
"pipelineOrchestrator.
|
|
21893
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21419
21894
|
capName: "pipeline-orchestrator",
|
|
21420
21895
|
capScope: "system",
|
|
21421
21896
|
addonId: null,
|
|
21422
21897
|
access: "create"
|
|
21423
21898
|
},
|
|
21424
|
-
"pipelineOrchestrator.
|
|
21899
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21425
21900
|
capName: "pipeline-orchestrator",
|
|
21426
21901
|
capScope: "system",
|
|
21427
21902
|
addonId: null,
|
|
@@ -21481,12 +21956,24 @@ Object.freeze({
|
|
|
21481
21956
|
addonId: null,
|
|
21482
21957
|
access: "view"
|
|
21483
21958
|
},
|
|
21959
|
+
"pipelineRunner.getNativeCrop": {
|
|
21960
|
+
capName: "pipeline-runner",
|
|
21961
|
+
capScope: "system",
|
|
21962
|
+
addonId: null,
|
|
21963
|
+
access: "view"
|
|
21964
|
+
},
|
|
21484
21965
|
"pipelineRunner.reportMotion": {
|
|
21485
21966
|
capName: "pipeline-runner",
|
|
21486
21967
|
capScope: "system",
|
|
21487
21968
|
addonId: null,
|
|
21488
21969
|
access: "create"
|
|
21489
21970
|
},
|
|
21971
|
+
"pipelineRunner.runDetailSubtree": {
|
|
21972
|
+
capName: "pipeline-runner",
|
|
21973
|
+
capScope: "system",
|
|
21974
|
+
addonId: null,
|
|
21975
|
+
access: "create"
|
|
21976
|
+
},
|
|
21490
21977
|
"plateGallery.correctPlateText": {
|
|
21491
21978
|
capName: "plate-gallery",
|
|
21492
21979
|
capScope: "system",
|
|
@@ -21721,33 +22208,45 @@ Object.freeze({
|
|
|
21721
22208
|
addonId: null,
|
|
21722
22209
|
access: "create"
|
|
21723
22210
|
},
|
|
21724
|
-
"
|
|
21725
|
-
capName: "
|
|
22211
|
+
"scriptRunner.run": {
|
|
22212
|
+
capName: "script-runner",
|
|
22213
|
+
capScope: "device",
|
|
22214
|
+
addonId: null,
|
|
22215
|
+
access: "create"
|
|
22216
|
+
},
|
|
22217
|
+
"scriptRunner.stop": {
|
|
22218
|
+
capName: "script-runner",
|
|
22219
|
+
capScope: "device",
|
|
22220
|
+
addonId: null,
|
|
22221
|
+
access: "create"
|
|
22222
|
+
},
|
|
22223
|
+
"serverManagement.applyServerUpdate": {
|
|
22224
|
+
capName: "server-management",
|
|
21726
22225
|
capScope: "system",
|
|
21727
22226
|
addonId: null,
|
|
21728
|
-
access: "
|
|
22227
|
+
access: "create"
|
|
21729
22228
|
},
|
|
21730
|
-
"
|
|
21731
|
-
capName: "
|
|
22229
|
+
"serverManagement.checkServerUpdate": {
|
|
22230
|
+
capName: "server-management",
|
|
21732
22231
|
capScope: "system",
|
|
21733
22232
|
addonId: null,
|
|
21734
22233
|
access: "create"
|
|
21735
22234
|
},
|
|
21736
|
-
"
|
|
21737
|
-
capName: "
|
|
22235
|
+
"serverManagement.getServerPackageStatus": {
|
|
22236
|
+
capName: "server-management",
|
|
21738
22237
|
capScope: "system",
|
|
21739
22238
|
addonId: null,
|
|
21740
|
-
access: "
|
|
22239
|
+
access: "view"
|
|
21741
22240
|
},
|
|
21742
|
-
"
|
|
21743
|
-
capName: "
|
|
21744
|
-
capScope: "
|
|
22241
|
+
"serverManagement.restartServer": {
|
|
22242
|
+
capName: "server-management",
|
|
22243
|
+
capScope: "system",
|
|
21745
22244
|
addonId: null,
|
|
21746
22245
|
access: "create"
|
|
21747
22246
|
},
|
|
21748
|
-
"
|
|
21749
|
-
capName: "
|
|
21750
|
-
capScope: "
|
|
22247
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22248
|
+
capName: "server-management",
|
|
22249
|
+
capScope: "system",
|
|
21751
22250
|
addonId: null,
|
|
21752
22251
|
access: "create"
|
|
21753
22252
|
},
|
|
@@ -21835,23 +22334,17 @@ Object.freeze({
|
|
|
21835
22334
|
addonId: null,
|
|
21836
22335
|
access: "view"
|
|
21837
22336
|
},
|
|
21838
|
-
"snapshot.
|
|
22337
|
+
"snapshot.getSnapshotOverview": {
|
|
21839
22338
|
capName: "snapshot",
|
|
21840
22339
|
capScope: "device",
|
|
21841
22340
|
addonId: null,
|
|
21842
|
-
access: "create"
|
|
21843
|
-
},
|
|
21844
|
-
"snapshotProvider.getSnapshot": {
|
|
21845
|
-
capName: "snapshot-provider",
|
|
21846
|
-
capScope: "system",
|
|
21847
|
-
addonId: null,
|
|
21848
22341
|
access: "view"
|
|
21849
22342
|
},
|
|
21850
|
-
"
|
|
21851
|
-
capName: "snapshot
|
|
21852
|
-
capScope: "
|
|
22343
|
+
"snapshot.invalidateCache": {
|
|
22344
|
+
capName: "snapshot",
|
|
22345
|
+
capScope: "device",
|
|
21853
22346
|
addonId: null,
|
|
21854
|
-
access: "
|
|
22347
|
+
access: "create"
|
|
21855
22348
|
},
|
|
21856
22349
|
"ssoBridge.signBridgeToken": {
|
|
21857
22350
|
capName: "sso-bridge",
|
|
@@ -22279,30 +22772,6 @@ Object.freeze({
|
|
|
22279
22772
|
addonId: null,
|
|
22280
22773
|
access: "view"
|
|
22281
22774
|
},
|
|
22282
|
-
"streamingEngine.getStreamUrl": {
|
|
22283
|
-
capName: "streaming-engine",
|
|
22284
|
-
capScope: "system",
|
|
22285
|
-
addonId: null,
|
|
22286
|
-
access: "view"
|
|
22287
|
-
},
|
|
22288
|
-
"streamingEngine.listStreams": {
|
|
22289
|
-
capName: "streaming-engine",
|
|
22290
|
-
capScope: "system",
|
|
22291
|
-
addonId: null,
|
|
22292
|
-
access: "view"
|
|
22293
|
-
},
|
|
22294
|
-
"streamingEngine.registerStream": {
|
|
22295
|
-
capName: "streaming-engine",
|
|
22296
|
-
capScope: "system",
|
|
22297
|
-
addonId: null,
|
|
22298
|
-
access: "create"
|
|
22299
|
-
},
|
|
22300
|
-
"streamingEngine.unregisterStream": {
|
|
22301
|
-
capName: "streaming-engine",
|
|
22302
|
-
capScope: "system",
|
|
22303
|
-
addonId: null,
|
|
22304
|
-
access: "delete"
|
|
22305
|
-
},
|
|
22306
22775
|
"streamParams.getConfigSchema": {
|
|
22307
22776
|
capName: "stream-params",
|
|
22308
22777
|
capScope: "device",
|
|
@@ -22549,6 +23018,12 @@ Object.freeze({
|
|
|
22549
23018
|
addonId: null,
|
|
22550
23019
|
access: "view"
|
|
22551
23020
|
},
|
|
23021
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
23022
|
+
capName: "user-passkeys",
|
|
23023
|
+
capScope: "system",
|
|
23024
|
+
addonId: null,
|
|
23025
|
+
access: "view"
|
|
23026
|
+
},
|
|
22552
23027
|
"userPasskeys.beginRegistration": {
|
|
22553
23028
|
capName: "user-passkeys",
|
|
22554
23029
|
capScope: "system",
|
|
@@ -22561,12 +23036,24 @@ Object.freeze({
|
|
|
22561
23036
|
addonId: null,
|
|
22562
23037
|
access: "view"
|
|
22563
23038
|
},
|
|
23039
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23040
|
+
capName: "user-passkeys",
|
|
23041
|
+
capScope: "system",
|
|
23042
|
+
addonId: null,
|
|
23043
|
+
access: "view"
|
|
23044
|
+
},
|
|
22564
23045
|
"userPasskeys.finishRegistration": {
|
|
22565
23046
|
capName: "user-passkeys",
|
|
22566
23047
|
capScope: "system",
|
|
22567
23048
|
addonId: null,
|
|
22568
23049
|
access: "create"
|
|
22569
23050
|
},
|
|
23051
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23052
|
+
capName: "user-passkeys",
|
|
23053
|
+
capScope: "system",
|
|
23054
|
+
addonId: null,
|
|
23055
|
+
access: "view"
|
|
23056
|
+
},
|
|
22570
23057
|
"userPasskeys.listPasskeys": {
|
|
22571
23058
|
capName: "user-passkeys",
|
|
22572
23059
|
capScope: "system",
|
|
@@ -22579,6 +23066,12 @@ Object.freeze({
|
|
|
22579
23066
|
addonId: null,
|
|
22580
23067
|
access: "delete"
|
|
22581
23068
|
},
|
|
23069
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23070
|
+
capName: "user-passkeys",
|
|
23071
|
+
capScope: "system",
|
|
23072
|
+
addonId: null,
|
|
23073
|
+
access: "create"
|
|
23074
|
+
},
|
|
22582
23075
|
"vacuumControl.locate": {
|
|
22583
23076
|
capName: "vacuum-control",
|
|
22584
23077
|
capScope: "device",
|
|
@@ -22651,6 +23144,18 @@ Object.freeze({
|
|
|
22651
23144
|
addonId: null,
|
|
22652
23145
|
access: "view"
|
|
22653
23146
|
},
|
|
23147
|
+
"viewerUi.getStaticDir": {
|
|
23148
|
+
capName: "viewer-ui",
|
|
23149
|
+
capScope: "system",
|
|
23150
|
+
addonId: null,
|
|
23151
|
+
access: "view"
|
|
23152
|
+
},
|
|
23153
|
+
"viewerUi.getVersion": {
|
|
23154
|
+
capName: "viewer-ui",
|
|
23155
|
+
capScope: "system",
|
|
23156
|
+
addonId: null,
|
|
23157
|
+
access: "view"
|
|
23158
|
+
},
|
|
22654
23159
|
"waterHeater.setAway": {
|
|
22655
23160
|
capName: "water-heater",
|
|
22656
23161
|
capScope: "device",
|
|
@@ -22669,54 +23174,6 @@ Object.freeze({
|
|
|
22669
23174
|
addonId: null,
|
|
22670
23175
|
access: "create"
|
|
22671
23176
|
},
|
|
22672
|
-
"webrtc.closeSession": {
|
|
22673
|
-
capName: "webrtc",
|
|
22674
|
-
capScope: "system",
|
|
22675
|
-
addonId: null,
|
|
22676
|
-
access: "create"
|
|
22677
|
-
},
|
|
22678
|
-
"webrtc.createSession": {
|
|
22679
|
-
capName: "webrtc",
|
|
22680
|
-
capScope: "system",
|
|
22681
|
-
addonId: null,
|
|
22682
|
-
access: "create"
|
|
22683
|
-
},
|
|
22684
|
-
"webrtc.handleAnswer": {
|
|
22685
|
-
capName: "webrtc",
|
|
22686
|
-
capScope: "system",
|
|
22687
|
-
addonId: null,
|
|
22688
|
-
access: "create"
|
|
22689
|
-
},
|
|
22690
|
-
"webrtc.handleOffer": {
|
|
22691
|
-
capName: "webrtc",
|
|
22692
|
-
capScope: "system",
|
|
22693
|
-
addonId: null,
|
|
22694
|
-
access: "create"
|
|
22695
|
-
},
|
|
22696
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22697
|
-
capName: "webrtc",
|
|
22698
|
-
capScope: "system",
|
|
22699
|
-
addonId: null,
|
|
22700
|
-
access: "view"
|
|
22701
|
-
},
|
|
22702
|
-
"webrtc.registerStream": {
|
|
22703
|
-
capName: "webrtc",
|
|
22704
|
-
capScope: "system",
|
|
22705
|
-
addonId: null,
|
|
22706
|
-
access: "create"
|
|
22707
|
-
},
|
|
22708
|
-
"webrtc.supportsStream": {
|
|
22709
|
-
capName: "webrtc",
|
|
22710
|
-
capScope: "system",
|
|
22711
|
-
addonId: null,
|
|
22712
|
-
access: "view"
|
|
22713
|
-
},
|
|
22714
|
-
"webrtc.unregisterStream": {
|
|
22715
|
-
capName: "webrtc",
|
|
22716
|
-
capScope: "system",
|
|
22717
|
-
addonId: null,
|
|
22718
|
-
access: "delete"
|
|
22719
|
-
},
|
|
22720
23177
|
"webrtcSession.addIceCandidate": {
|
|
22721
23178
|
capName: "webrtc-session",
|
|
22722
23179
|
capScope: "device",
|