@camstack/addon-export-ha-mqtt 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-ha-mqtt.addon.js +715 -258
- package/dist/export-ha-mqtt.addon.mjs +715 -258
- package/package.json +1 -1
|
@@ -4679,7 +4679,7 @@ function number(params) {
|
|
|
4679
4679
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
4680
4680
|
}
|
|
4681
4681
|
//#endregion
|
|
4682
|
-
//#region ../types/dist/sleep-
|
|
4682
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4683
4683
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4684
4684
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4685
4685
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4865,6 +4865,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4865
4865
|
*/
|
|
4866
4866
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4867
4867
|
/**
|
|
4868
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4869
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4870
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4871
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4872
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4873
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4874
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4875
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4876
|
+
* broker's long backstop reconcile query).
|
|
4877
|
+
*/
|
|
4878
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4879
|
+
/**
|
|
4868
4880
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4869
4881
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4870
4882
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5388,10 +5400,6 @@ function hydrateField(field, values) {
|
|
|
5388
5400
|
};
|
|
5389
5401
|
}
|
|
5390
5402
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5391
|
-
if (field.type === "password") return {
|
|
5392
|
-
...field,
|
|
5393
|
-
value: ""
|
|
5394
|
-
};
|
|
5395
5403
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5396
5404
|
return {
|
|
5397
5405
|
...field,
|
|
@@ -6775,6 +6783,21 @@ function method(input, output, options) {
|
|
|
6775
6783
|
timeoutMs: options?.timeoutMs
|
|
6776
6784
|
};
|
|
6777
6785
|
}
|
|
6786
|
+
/**
|
|
6787
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6788
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6789
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6790
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6791
|
+
*/
|
|
6792
|
+
function systemMethod(input, output, options) {
|
|
6793
|
+
return {
|
|
6794
|
+
...method(input, output, options),
|
|
6795
|
+
systemOnly: true
|
|
6796
|
+
};
|
|
6797
|
+
}
|
|
6798
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6799
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6800
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6778
6801
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6779
6802
|
var VersionOutputSchema = object({ version: string() });
|
|
6780
6803
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6944,6 +6967,36 @@ var ModelFormatsSchema = object({
|
|
|
6944
6967
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6945
6968
|
pt: ModelFormatEntrySchema.optional()
|
|
6946
6969
|
});
|
|
6970
|
+
/**
|
|
6971
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6972
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6973
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6974
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6975
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6976
|
+
* to an `id`.
|
|
6977
|
+
*/
|
|
6978
|
+
var ModelVariantGroupSchema = object({
|
|
6979
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6980
|
+
family: string(),
|
|
6981
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6982
|
+
tier: string(),
|
|
6983
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6984
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6985
|
+
/**
|
|
6986
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6987
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6988
|
+
* future performance variants plug into.
|
|
6989
|
+
*/
|
|
6990
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6991
|
+
/**
|
|
6992
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6993
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6994
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6995
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6996
|
+
* the group so the selector can offer it as a variant axis.
|
|
6997
|
+
*/
|
|
6998
|
+
resolution: number$1().int().positive().optional()
|
|
6999
|
+
});
|
|
6947
7000
|
var ModelCatalogEntrySchema = object({
|
|
6948
7001
|
id: string(),
|
|
6949
7002
|
name: string(),
|
|
@@ -6973,7 +7026,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6973
7026
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6974
7027
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6975
7028
|
*/
|
|
6976
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7029
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7030
|
+
/**
|
|
7031
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7032
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7033
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7034
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7035
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7036
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7037
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7038
|
+
*/
|
|
7039
|
+
legacy: boolean().optional(),
|
|
7040
|
+
/**
|
|
7041
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7042
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7043
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7044
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7045
|
+
*/
|
|
7046
|
+
metrics: object({
|
|
7047
|
+
map50: number$1().optional(),
|
|
7048
|
+
p95LatencyMs: record(string(), number$1()).optional()
|
|
7049
|
+
}).optional(),
|
|
7050
|
+
/**
|
|
7051
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7052
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7053
|
+
* the retraining addon and any future commercial distribution.
|
|
7054
|
+
*/
|
|
7055
|
+
license: string().optional(),
|
|
7056
|
+
/**
|
|
7057
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7058
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7059
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7060
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7061
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7062
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7063
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7064
|
+
*/
|
|
7065
|
+
group: ModelVariantGroupSchema.optional()
|
|
6977
7066
|
});
|
|
6978
7067
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6979
7068
|
format: literal("openvino"),
|
|
@@ -7034,8 +7123,8 @@ var RecordingModeSchema = _enum([
|
|
|
7034
7123
|
"onAudioThreshold"
|
|
7035
7124
|
]);
|
|
7036
7125
|
/**
|
|
7037
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7038
|
-
* reads directly (never inferred from `rules`):
|
|
7126
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7127
|
+
* UI reads directly (never inferred from `rules`):
|
|
7039
7128
|
* - `off` — not recording.
|
|
7040
7129
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7041
7130
|
* with pre/post-buffer.
|
|
@@ -8683,26 +8772,13 @@ DeviceType.Light, method(object({
|
|
|
8683
8772
|
percentage: number$1().min(0).max(100),
|
|
8684
8773
|
lastChangedAt: number$1()
|
|
8685
8774
|
});
|
|
8775
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
8686
8776
|
var StreamFormatSchema = _enum([
|
|
8687
8777
|
"webrtc",
|
|
8688
8778
|
"hls",
|
|
8689
8779
|
"mjpeg",
|
|
8690
8780
|
"rtsp"
|
|
8691
8781
|
]);
|
|
8692
|
-
var StreamInfoSchema = object({
|
|
8693
|
-
streamId: string(),
|
|
8694
|
-
format: StreamFormatSchema,
|
|
8695
|
-
url: string().nullable(),
|
|
8696
|
-
active: boolean()
|
|
8697
|
-
});
|
|
8698
|
-
method(object({
|
|
8699
|
-
streamId: string(),
|
|
8700
|
-
sourceUrl: string(),
|
|
8701
|
-
codec: string().optional()
|
|
8702
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
8703
|
-
streamId: string(),
|
|
8704
|
-
format: StreamFormatSchema
|
|
8705
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
8706
8782
|
var RtspRestreamEntrySchema = object({
|
|
8707
8783
|
brokerId: string(),
|
|
8708
8784
|
url: string(),
|
|
@@ -9367,7 +9443,7 @@ var ConsumablesStatusSchema = object({
|
|
|
9367
9443
|
})),
|
|
9368
9444
|
lastChangedAt: number$1()
|
|
9369
9445
|
});
|
|
9370
|
-
|
|
9446
|
+
Object.values(DeviceType), method(object({
|
|
9371
9447
|
deviceId: number$1().int().nonnegative(),
|
|
9372
9448
|
key: string().min(1)
|
|
9373
9449
|
}), _void(), {
|
|
@@ -10282,7 +10358,7 @@ var BoundingBoxSchema = object({
|
|
|
10282
10358
|
w: number$1(),
|
|
10283
10359
|
h: number$1()
|
|
10284
10360
|
});
|
|
10285
|
-
|
|
10361
|
+
object({
|
|
10286
10362
|
class: string(),
|
|
10287
10363
|
originalClass: string(),
|
|
10288
10364
|
score: number$1(),
|
|
@@ -10417,7 +10493,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
10417
10493
|
enabled: boolean(),
|
|
10418
10494
|
modelId: string(),
|
|
10419
10495
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
10420
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10421
10496
|
group: string().optional(),
|
|
10422
10497
|
settings: record(string(), unknown()).optional()
|
|
10423
10498
|
}));
|
|
@@ -10442,7 +10517,9 @@ var PipelineModelOptionSchema = object({
|
|
|
10442
10517
|
formats: record(string(), object({
|
|
10443
10518
|
downloaded: boolean(),
|
|
10444
10519
|
sizeMB: number$1()
|
|
10445
|
-
}))
|
|
10520
|
+
})),
|
|
10521
|
+
group: ModelVariantGroupSchema.optional(),
|
|
10522
|
+
legacy: boolean().optional()
|
|
10446
10523
|
});
|
|
10447
10524
|
var ConfigFieldBridge = custom();
|
|
10448
10525
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10456,6 +10533,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
10456
10533
|
defaultModelId: string(),
|
|
10457
10534
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
10458
10535
|
enabledByDefault: boolean().optional(),
|
|
10536
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
10459
10537
|
defaultConfidence: number$1(),
|
|
10460
10538
|
group: string().optional(),
|
|
10461
10539
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -10472,11 +10550,6 @@ var PipelineSchemaSchema = object({
|
|
|
10472
10550
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
10473
10551
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
10474
10552
|
});
|
|
10475
|
-
var DetectorOutputSchema = object({
|
|
10476
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
10477
|
-
inferenceMs: number$1(),
|
|
10478
|
-
modelId: string()
|
|
10479
|
-
});
|
|
10480
10553
|
var EngineProvisioningSchema = object({
|
|
10481
10554
|
runtimeId: _enum([
|
|
10482
10555
|
"onnx",
|
|
@@ -10493,15 +10566,42 @@ var EngineProvisioningSchema = object({
|
|
|
10493
10566
|
]),
|
|
10494
10567
|
progress: number$1().optional(),
|
|
10495
10568
|
error: string().optional(),
|
|
10496
|
-
nextRetryAt: number$1().optional()
|
|
10569
|
+
nextRetryAt: number$1().optional(),
|
|
10570
|
+
/**
|
|
10571
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
10572
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
10573
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
10574
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
10575
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
10576
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
10577
|
+
*/
|
|
10578
|
+
configIssues: array(string()).optional()
|
|
10497
10579
|
});
|
|
10498
10580
|
var PipelineStepInputSchema = lazy(() => object({
|
|
10499
10581
|
addonId: string(),
|
|
10500
|
-
modelId: string(),
|
|
10582
|
+
modelId: string().optional(),
|
|
10501
10583
|
enabled: boolean().default(true),
|
|
10502
10584
|
children: array(PipelineStepInputSchema).optional(),
|
|
10503
10585
|
settings: record(string(), unknown()).optional()
|
|
10504
10586
|
}));
|
|
10587
|
+
var ModelSubstitutionSchema = object({
|
|
10588
|
+
addonId: string(),
|
|
10589
|
+
chosen: string(),
|
|
10590
|
+
running: string(),
|
|
10591
|
+
format: string()
|
|
10592
|
+
});
|
|
10593
|
+
var PipelineValidationIssueSchema = object({
|
|
10594
|
+
addonId: string(),
|
|
10595
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
10596
|
+
detail: string()
|
|
10597
|
+
});
|
|
10598
|
+
var PipelineValidationResultSchema = object({
|
|
10599
|
+
ok: boolean(),
|
|
10600
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
10601
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
10602
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
10603
|
+
format: string()
|
|
10604
|
+
});
|
|
10505
10605
|
var ReferenceImageEntrySchema = object({
|
|
10506
10606
|
filename: string(),
|
|
10507
10607
|
stepIds: array(string()).readonly().optional()
|
|
@@ -10572,7 +10672,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10572
10672
|
})) }), object({ success: literal(true) }), {
|
|
10573
10673
|
kind: "mutation",
|
|
10574
10674
|
auth: "admin"
|
|
10575
|
-
}), method(
|
|
10675
|
+
}), method(object({ nodeId: string() }), object({
|
|
10676
|
+
success: literal(true),
|
|
10677
|
+
clearedDevices: number$1()
|
|
10678
|
+
}), {
|
|
10679
|
+
kind: "mutation",
|
|
10680
|
+
auth: "admin"
|
|
10681
|
+
}), 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({
|
|
10576
10682
|
name: string(),
|
|
10577
10683
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
10578
10684
|
engine: PipelineEngineChoiceSchema
|
|
@@ -10589,10 +10695,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10589
10695
|
modelId: string(),
|
|
10590
10696
|
format: ModelFormatSchema$1
|
|
10591
10697
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
10592
|
-
addonId: string(),
|
|
10593
|
-
frame: FrameInputSchema,
|
|
10594
|
-
config: record(string(), unknown()).optional()
|
|
10595
|
-
}), DetectorOutputSchema), method(object({
|
|
10596
10698
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10597
10699
|
steps: array(PipelineStepInputSchema).min(1),
|
|
10598
10700
|
frame: FrameInputSchema.optional(),
|
|
@@ -10613,7 +10715,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10613
10715
|
image: _instanceof(Uint8Array).optional(),
|
|
10614
10716
|
referenceImage: string().optional(),
|
|
10615
10717
|
deviceId: number$1().optional(),
|
|
10616
|
-
sessionId: string().optional()
|
|
10718
|
+
sessionId: string().optional(),
|
|
10719
|
+
/**
|
|
10720
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10721
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10722
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10723
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10724
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10725
|
+
*/
|
|
10726
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10617
10727
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10618
10728
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10619
10729
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10738,6 +10848,47 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(ZoneSchema).re
|
|
|
10738
10848
|
auth: "admin"
|
|
10739
10849
|
}), object({ zones: array(ZoneSchema).readonly() });
|
|
10740
10850
|
/**
|
|
10851
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
10852
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
10853
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
10854
|
+
* dims — no native resolution to plumb.
|
|
10855
|
+
*/
|
|
10856
|
+
var NativeCropBboxSchema = object({
|
|
10857
|
+
x: number$1(),
|
|
10858
|
+
y: number$1(),
|
|
10859
|
+
w: number$1(),
|
|
10860
|
+
h: number$1()
|
|
10861
|
+
});
|
|
10862
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
10863
|
+
var NativeCropResultSchema = object({
|
|
10864
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
10865
|
+
bytes: _instanceof(Uint8Array),
|
|
10866
|
+
width: number$1().int().positive(),
|
|
10867
|
+
height: number$1().int().positive()
|
|
10868
|
+
});
|
|
10869
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10870
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10871
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10872
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10873
|
+
* normalized [0,1] convention). */
|
|
10874
|
+
var DetailParentSchema = object({
|
|
10875
|
+
bbox: NativeCropBboxSchema,
|
|
10876
|
+
className: string()
|
|
10877
|
+
});
|
|
10878
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10879
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10880
|
+
* single tracked detection. */
|
|
10881
|
+
var DetailResultSchema = object({
|
|
10882
|
+
stepId: string(),
|
|
10883
|
+
className: string(),
|
|
10884
|
+
score: number$1(),
|
|
10885
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10886
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10887
|
+
embedding: string().optional(),
|
|
10888
|
+
label: string().optional(),
|
|
10889
|
+
alignedCropJpeg: string().optional()
|
|
10890
|
+
});
|
|
10891
|
+
/**
|
|
10741
10892
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10742
10893
|
* by both the Zod data schema (validation + default fallback) and
|
|
10743
10894
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -10832,6 +10983,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10832
10983
|
kind: literal("remote-restream"),
|
|
10833
10984
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
10834
10985
|
ownerNodeId: string(),
|
|
10986
|
+
/**
|
|
10987
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
10988
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
10989
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
10990
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
10991
|
+
*/
|
|
10992
|
+
ownerReachableHost: string().optional(),
|
|
10835
10993
|
/** Operator override for the owner host the runner dials. */
|
|
10836
10994
|
hubHostnameOverride: string().optional()
|
|
10837
10995
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -10840,13 +10998,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
10840
10998
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
10841
10999
|
* runner needs to subscribe to the local broker and execute inference.
|
|
10842
11000
|
*
|
|
10843
|
-
* Stateless-pipeline model: the
|
|
10844
|
-
*
|
|
10845
|
-
*
|
|
10846
|
-
*
|
|
10847
|
-
*
|
|
10848
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
10849
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
11001
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
11002
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
11003
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
11004
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
11005
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
10850
11006
|
*/
|
|
10851
11007
|
var RunnerCameraConfigSchema = object({
|
|
10852
11008
|
deviceId: number$1(),
|
|
@@ -10897,14 +11053,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
10897
11053
|
*/
|
|
10898
11054
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
10899
11055
|
pipelineEnabled: boolean().default(true),
|
|
10900
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
10901
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
10902
11056
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
10903
11057
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
10904
11058
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
10905
11059
|
audio: object({
|
|
10906
|
-
|
|
10907
|
-
modelId: string(),
|
|
11060
|
+
modelId: string().optional(),
|
|
10908
11061
|
enabled: boolean()
|
|
10909
11062
|
}).nullable().optional(),
|
|
10910
11063
|
/**
|
|
@@ -10991,7 +11144,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
10991
11144
|
avgInferenceTimeMs: number$1(),
|
|
10992
11145
|
queueDepth: number$1()
|
|
10993
11146
|
});
|
|
10994
|
-
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number$1() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number$1() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number$1()).readonly())
|
|
11147
|
+
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number$1() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number$1() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number$1()).readonly()), method(object({
|
|
11148
|
+
handle: FrameHandleSchema,
|
|
11149
|
+
bbox: NativeCropBboxSchema,
|
|
11150
|
+
maxWidth: number$1().int().positive().optional()
|
|
11151
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11152
|
+
deviceId: number$1(),
|
|
11153
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11154
|
+
cropJpeg: string().optional(),
|
|
11155
|
+
parent: DetailParentSchema,
|
|
11156
|
+
steps: array(string()).optional()
|
|
11157
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
10995
11158
|
object({
|
|
10996
11159
|
detected: boolean(),
|
|
10997
11160
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -12285,7 +12448,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
12285
12448
|
icon: string(),
|
|
12286
12449
|
path: string(),
|
|
12287
12450
|
remoteName: string(),
|
|
12288
|
-
bundle: string()
|
|
12451
|
+
bundle: string(),
|
|
12452
|
+
section: string().optional(),
|
|
12453
|
+
sectionLabel: string().optional()
|
|
12289
12454
|
});
|
|
12290
12455
|
var AddonPageInfoSchema = object({
|
|
12291
12456
|
addonId: string(),
|
|
@@ -12325,7 +12490,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
12325
12490
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
12326
12491
|
* without a separate filesystem stat.
|
|
12327
12492
|
*/
|
|
12328
|
-
bundle: string()
|
|
12493
|
+
bundle: string(),
|
|
12494
|
+
/**
|
|
12495
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
12496
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
12497
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
12498
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
12499
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
12500
|
+
* "Addon Pages" group.
|
|
12501
|
+
*/
|
|
12502
|
+
section: string().optional(),
|
|
12503
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
12504
|
+
sectionLabel: string().optional()
|
|
12329
12505
|
});
|
|
12330
12506
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
12331
12507
|
var AddonHttpRouteSchema = object({
|
|
@@ -12541,6 +12717,17 @@ var WidgetMetadataSchema = object({
|
|
|
12541
12717
|
deviceContext: boolean().default(false),
|
|
12542
12718
|
integrationContext: boolean().default(false)
|
|
12543
12719
|
}),
|
|
12720
|
+
/**
|
|
12721
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
12722
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
12723
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
12724
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
12725
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
12726
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
12727
|
+
* than the authenticated registry, and its bundle is served by the
|
|
12728
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
12729
|
+
*/
|
|
12730
|
+
preAuth: boolean().optional().default(false),
|
|
12544
12731
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
12545
12732
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
12546
12733
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -12842,6 +13029,66 @@ method(object({
|
|
|
12842
13029
|
password: string()
|
|
12843
13030
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
12844
13031
|
/**
|
|
13032
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13033
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13034
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13035
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13036
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13037
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13038
|
+
*
|
|
13039
|
+
* A contribution is a discriminated union on `kind`:
|
|
13040
|
+
*
|
|
13041
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13042
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13043
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13044
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13045
|
+
* login page needs NO change.
|
|
13046
|
+
*
|
|
13047
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13048
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13049
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13050
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13051
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13052
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13053
|
+
*
|
|
13054
|
+
* Every contribution carries a `stage`:
|
|
13055
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13056
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13057
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13058
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13059
|
+
*
|
|
13060
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13061
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13062
|
+
* tRPC router.
|
|
13063
|
+
*/
|
|
13064
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13065
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13066
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13067
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13068
|
+
kind: literal("redirect"),
|
|
13069
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13070
|
+
id: string(),
|
|
13071
|
+
/** Operator-facing button label. */
|
|
13072
|
+
label: string(),
|
|
13073
|
+
/** lucide-react icon name. */
|
|
13074
|
+
icon: string().optional(),
|
|
13075
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13076
|
+
startUrl: string(),
|
|
13077
|
+
stage: LoginStageEnum
|
|
13078
|
+
}), object({
|
|
13079
|
+
kind: literal("widget"),
|
|
13080
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13081
|
+
id: string(),
|
|
13082
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13083
|
+
addonId: string(),
|
|
13084
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13085
|
+
bundle: string(),
|
|
13086
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13087
|
+
remote: WidgetRemoteSchema,
|
|
13088
|
+
stage: LoginStageEnum
|
|
13089
|
+
})]);
|
|
13090
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13091
|
+
/**
|
|
12845
13092
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
12846
13093
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
12847
13094
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -14970,7 +15217,17 @@ var TrackSchema = object({
|
|
|
14970
15217
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
14971
15218
|
totalDistance: number$1(),
|
|
14972
15219
|
state: TrackStateSchema,
|
|
14973
|
-
active: boolean()
|
|
15220
|
+
active: boolean(),
|
|
15221
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
15222
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
15223
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
15224
|
+
importance: number$1().optional(),
|
|
15225
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
15226
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
15227
|
+
bestEventId: string().optional(),
|
|
15228
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
15229
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
15230
|
+
importanceReason: string().optional()
|
|
14974
15231
|
});
|
|
14975
15232
|
var BaseEventFields = {
|
|
14976
15233
|
id: string(),
|
|
@@ -15035,8 +15292,18 @@ var ObjectEventSchema = object({
|
|
|
15035
15292
|
frameHeight: number$1().optional(),
|
|
15036
15293
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
15037
15294
|
mediaKey: string().optional(),
|
|
15295
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
15296
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
15297
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
15298
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
15299
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
15300
|
+
keyFrameMediaKey: string().optional(),
|
|
15038
15301
|
/** Populated by B5 (recording playback URL for this event). */
|
|
15039
|
-
mediaUrl: string().optional()
|
|
15302
|
+
mediaUrl: string().optional(),
|
|
15303
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
15304
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
15305
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
15306
|
+
importance: number$1().optional()
|
|
15040
15307
|
});
|
|
15041
15308
|
var AudioEventSchema = object({
|
|
15042
15309
|
...BaseEventFields,
|
|
@@ -15060,7 +15327,8 @@ var MediaFileKindEnum = _enum([
|
|
|
15060
15327
|
"fullFrame",
|
|
15061
15328
|
"fullFrameBoxed",
|
|
15062
15329
|
"faceCrop",
|
|
15063
|
-
"plateCrop"
|
|
15330
|
+
"plateCrop",
|
|
15331
|
+
"keyFrame"
|
|
15064
15332
|
]);
|
|
15065
15333
|
var MediaFileSchema = object({
|
|
15066
15334
|
key: string(),
|
|
@@ -15081,6 +15349,32 @@ var DeviceEventQueryInput = object({
|
|
|
15081
15349
|
projection: _enum(["full", "slim"]).optional()
|
|
15082
15350
|
});
|
|
15083
15351
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15352
|
+
var KeyEventQueryInput = object({
|
|
15353
|
+
deviceId: number$1(),
|
|
15354
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
15355
|
+
since: number$1(),
|
|
15356
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
15357
|
+
until: number$1(),
|
|
15358
|
+
limit: number$1().int().min(1).max(200).default(50),
|
|
15359
|
+
/** Drop tracks scoring below this importance. */
|
|
15360
|
+
minImportance: number$1().min(0).max(1).optional(),
|
|
15361
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
15362
|
+
classFilter: string().optional()
|
|
15363
|
+
});
|
|
15364
|
+
var KeyEventSchema = object({
|
|
15365
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
15366
|
+
id: string(),
|
|
15367
|
+
trackId: string(),
|
|
15368
|
+
/** Track start time (firstSeen). */
|
|
15369
|
+
timestamp: number$1(),
|
|
15370
|
+
className: string(),
|
|
15371
|
+
label: string().optional(),
|
|
15372
|
+
importance: number$1(),
|
|
15373
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
15374
|
+
bestEventId: string(),
|
|
15375
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
15376
|
+
windowMs: number$1().optional()
|
|
15377
|
+
});
|
|
15084
15378
|
var TrackedDetectionSchema = object({
|
|
15085
15379
|
trackId: string(),
|
|
15086
15380
|
className: string(),
|
|
@@ -15110,7 +15404,7 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
|
|
|
15110
15404
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number$1() }), _void(), {
|
|
15111
15405
|
kind: "mutation",
|
|
15112
15406
|
auth: "admin"
|
|
15113
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
15407
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15114
15408
|
deviceId: number$1(),
|
|
15115
15409
|
since: number$1(),
|
|
15116
15410
|
until: number$1(),
|
|
@@ -15155,11 +15449,11 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
|
|
|
15155
15449
|
timestamp: number$1()
|
|
15156
15450
|
});
|
|
15157
15451
|
var CameraPipelineConfigSchema = object({
|
|
15158
|
-
engine: PipelineEngineChoiceSchema,
|
|
15452
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15159
15453
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
15160
15454
|
audio: object({
|
|
15161
|
-
engine: PipelineEngineChoiceSchema,
|
|
15162
|
-
modelId: string(),
|
|
15455
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
15456
|
+
modelId: string().optional(),
|
|
15163
15457
|
enabled: boolean(),
|
|
15164
15458
|
settings: record(string(), unknown()).readonly().optional()
|
|
15165
15459
|
}).nullable().optional()
|
|
@@ -15174,7 +15468,7 @@ var PipelineTemplateSchema = object({
|
|
|
15174
15468
|
});
|
|
15175
15469
|
var AgentAddonConfigSchema = object({
|
|
15176
15470
|
enabled: boolean(),
|
|
15177
|
-
modelId: string(),
|
|
15471
|
+
modelId: string().optional(),
|
|
15178
15472
|
settings: record(string(), unknown()).readonly()
|
|
15179
15473
|
});
|
|
15180
15474
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -15184,12 +15478,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
15184
15478
|
detectWeight: number$1().positive().optional(),
|
|
15185
15479
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15186
15480
|
detect: boolean().optional(),
|
|
15187
|
-
/**
|
|
15481
|
+
/**
|
|
15482
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
15483
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
15484
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
15485
|
+
* parse — no code reads it and no write path emits it.
|
|
15486
|
+
*/
|
|
15188
15487
|
decode: boolean().optional(),
|
|
15189
15488
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
15190
15489
|
audio: boolean().optional(),
|
|
15191
15490
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15192
|
-
ingest: boolean().optional()
|
|
15491
|
+
ingest: boolean().optional(),
|
|
15492
|
+
/**
|
|
15493
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
15494
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
15495
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
15496
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
15497
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
15498
|
+
*/
|
|
15499
|
+
reachableHost: string().optional()
|
|
15193
15500
|
});
|
|
15194
15501
|
var CameraPipelineForAgentSchema = object({
|
|
15195
15502
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15237,25 +15544,6 @@ var PipelineAssignmentSchema = object({
|
|
|
15237
15544
|
assignedAt: number$1()
|
|
15238
15545
|
});
|
|
15239
15546
|
/**
|
|
15240
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
15241
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
15242
|
-
* → co-located with pipeline → capacity).
|
|
15243
|
-
*/
|
|
15244
|
-
var DecoderAssignmentSchema = object({
|
|
15245
|
-
deviceId: number$1(),
|
|
15246
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
15247
|
-
decoderNodeId: string(),
|
|
15248
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
15249
|
-
pinned: boolean(),
|
|
15250
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
15251
|
-
reason: _enum([
|
|
15252
|
-
"manual",
|
|
15253
|
-
"co-located",
|
|
15254
|
-
"capacity",
|
|
15255
|
-
"hardware-affinity"
|
|
15256
|
-
])
|
|
15257
|
-
});
|
|
15258
|
-
/**
|
|
15259
15547
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
15260
15548
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
15261
15549
|
*/
|
|
@@ -15295,6 +15583,15 @@ var GlobalMetricsSchema = object({
|
|
|
15295
15583
|
* capability providers.
|
|
15296
15584
|
*/
|
|
15297
15585
|
var CapabilityBindingsSchema = record(string(), string());
|
|
15586
|
+
/**
|
|
15587
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
15588
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
15589
|
+
*/
|
|
15590
|
+
var IngestOwnerSchema = object({
|
|
15591
|
+
ownerNodeId: string(),
|
|
15592
|
+
reachableHost: string().optional(),
|
|
15593
|
+
configIssue: string().optional()
|
|
15594
|
+
});
|
|
15298
15595
|
/** Source block — always present; derives from the stream catalog. */
|
|
15299
15596
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
15300
15597
|
camStreamId: string(),
|
|
@@ -15309,6 +15606,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
15309
15606
|
detectionNodeId: string().nullable(),
|
|
15310
15607
|
decoderNodeId: string().nullable(),
|
|
15311
15608
|
audioNodeId: string().nullable(),
|
|
15609
|
+
/**
|
|
15610
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
15611
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
15612
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
15613
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
15614
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
15615
|
+
*/
|
|
15616
|
+
sourceNodeId: string().nullable(),
|
|
15312
15617
|
pinned: object({
|
|
15313
15618
|
detection: boolean(),
|
|
15314
15619
|
decoder: boolean(),
|
|
@@ -15441,16 +15746,7 @@ method(object({
|
|
|
15441
15746
|
}), object({ success: literal(true) }), {
|
|
15442
15747
|
kind: "mutation",
|
|
15443
15748
|
auth: "admin"
|
|
15444
|
-
}), method(object({
|
|
15445
|
-
deviceId: number$1(),
|
|
15446
|
-
nodeId: string()
|
|
15447
|
-
}), _void(), {
|
|
15448
|
-
kind: "mutation",
|
|
15449
|
-
auth: "admin"
|
|
15450
|
-
}), method(object({ deviceId: number$1() }), _void(), {
|
|
15451
|
-
kind: "mutation",
|
|
15452
|
-
auth: "admin"
|
|
15453
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
15749
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
15454
15750
|
deviceId: number$1(),
|
|
15455
15751
|
nodeId: string()
|
|
15456
15752
|
}), object({ success: literal(true) }), {
|
|
@@ -15471,10 +15767,7 @@ method(object({
|
|
|
15471
15767
|
nodeId: string(),
|
|
15472
15768
|
pinned: boolean(),
|
|
15473
15769
|
assignedAt: number$1()
|
|
15474
|
-
}))), method(object({
|
|
15475
|
-
deviceId: number$1(),
|
|
15476
|
-
pipelineNodeId: string().optional()
|
|
15477
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15770
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
15478
15771
|
nodeId: string(),
|
|
15479
15772
|
settings: AgentPipelineSettingsSchema
|
|
15480
15773
|
})).readonly()), method(object({
|
|
@@ -15504,12 +15797,26 @@ method(object({
|
|
|
15504
15797
|
}), method(object({
|
|
15505
15798
|
agentNodeId: string(),
|
|
15506
15799
|
detect: boolean().nullable().optional(),
|
|
15507
|
-
decode: boolean().nullable().optional(),
|
|
15508
15800
|
audio: boolean().nullable().optional(),
|
|
15509
15801
|
ingest: boolean().nullable().optional()
|
|
15510
15802
|
}), object({ success: literal(true) }), {
|
|
15511
15803
|
kind: "mutation",
|
|
15512
15804
|
auth: "admin"
|
|
15805
|
+
}), method(object({
|
|
15806
|
+
agentNodeId: string(),
|
|
15807
|
+
reachableHost: string().nullable()
|
|
15808
|
+
}), object({ success: literal(true) }), {
|
|
15809
|
+
kind: "mutation",
|
|
15810
|
+
auth: "admin"
|
|
15811
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
15812
|
+
success: literal(true),
|
|
15813
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
15814
|
+
effectiveModelId: string().nullable(),
|
|
15815
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
15816
|
+
clearedCameraOverrides: number$1()
|
|
15817
|
+
}), {
|
|
15818
|
+
kind: "mutation",
|
|
15819
|
+
auth: "admin"
|
|
15513
15820
|
}), method(object({ deviceId: number$1() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15514
15821
|
deviceId: number$1(),
|
|
15515
15822
|
addonId: string(),
|
|
@@ -15554,22 +15861,131 @@ method(object({
|
|
|
15554
15861
|
kind: "mutation",
|
|
15555
15862
|
auth: "admin"
|
|
15556
15863
|
});
|
|
15557
|
-
|
|
15558
|
-
|
|
15559
|
-
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15864
|
+
/**
|
|
15865
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
15866
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
15867
|
+
* agents).
|
|
15868
|
+
*
|
|
15869
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
15870
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
15871
|
+
* version describes the node. Updates install into
|
|
15872
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
15873
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
15874
|
+
*
|
|
15875
|
+
* Providers:
|
|
15876
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
15877
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
15878
|
+
* unpinned calls.
|
|
15879
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
15880
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
15881
|
+
* `$hub.registerNode` manifest.
|
|
15882
|
+
*
|
|
15883
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
15884
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
15885
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
15886
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
15887
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
15888
|
+
*
|
|
15889
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
15890
|
+
*/
|
|
15891
|
+
/**
|
|
15892
|
+
* Where the running hub's code was loaded from:
|
|
15893
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
15894
|
+
* plain resolution and runtime updates are refused.
|
|
15895
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
15896
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
15897
|
+
*/
|
|
15898
|
+
var ServerBootModeSchema = _enum([
|
|
15899
|
+
"workspace",
|
|
15900
|
+
"baked",
|
|
15901
|
+
"data-root"
|
|
15902
|
+
]);
|
|
15903
|
+
/**
|
|
15904
|
+
* Update lifecycle state:
|
|
15905
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
15906
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
15907
|
+
* restarted onto it (still running the OLD version).
|
|
15908
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
15909
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
15910
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
15911
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
15912
|
+
*/
|
|
15913
|
+
var ServerUpdateStateSchema = _enum([
|
|
15914
|
+
"idle",
|
|
15915
|
+
"checking",
|
|
15916
|
+
"staging",
|
|
15917
|
+
"pending-restart",
|
|
15918
|
+
"awaiting-confirmation"
|
|
15919
|
+
]);
|
|
15920
|
+
var ServerRollbackInfoSchema = object({
|
|
15921
|
+
/** The version that failed (or was manually rolled back). */
|
|
15922
|
+
fromVersion: string(),
|
|
15923
|
+
/** The version rolled back to; null = the baked seed. */
|
|
15924
|
+
toVersion: string().nullable(),
|
|
15925
|
+
atMs: number$1(),
|
|
15926
|
+
reason: string()
|
|
15563
15927
|
});
|
|
15564
|
-
var
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
|
|
15928
|
+
var ServerPackageStatusSchema = object({
|
|
15929
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
15930
|
+
packageName: string(),
|
|
15931
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
15932
|
+
runningVersion: string().nullable(),
|
|
15933
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
15934
|
+
nodeRuntimeVersion: string().nullable(),
|
|
15935
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
15936
|
+
activeVersion: string().nullable(),
|
|
15937
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
15938
|
+
previousVersion: string().nullable(),
|
|
15939
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
15940
|
+
seedVersion: string().nullable(),
|
|
15941
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
15942
|
+
latestVersion: string().nullable(),
|
|
15943
|
+
updateAvailable: boolean(),
|
|
15944
|
+
bootMode: ServerBootModeSchema,
|
|
15945
|
+
updateState: ServerUpdateStateSchema,
|
|
15946
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
15947
|
+
pendingVersion: string().nullable(),
|
|
15948
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
15949
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
15950
|
+
/**
|
|
15951
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
15952
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
15953
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
15954
|
+
*/
|
|
15955
|
+
stateFileCorrupt: boolean(),
|
|
15956
|
+
lastCheckedAtMs: number$1().nullable()
|
|
15957
|
+
});
|
|
15958
|
+
var ServerUpdateCheckResultSchema = object({
|
|
15959
|
+
packageName: string(),
|
|
15960
|
+
runningVersion: string().nullable(),
|
|
15961
|
+
latestVersion: string().nullable(),
|
|
15962
|
+
updateAvailable: boolean(),
|
|
15963
|
+
checkedAtMs: number$1(),
|
|
15964
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
15965
|
+
error: string().nullable()
|
|
15966
|
+
});
|
|
15967
|
+
var ServerUpdateActionResultSchema = object({
|
|
15968
|
+
accepted: boolean(),
|
|
15969
|
+
targetVersion: string().nullable(),
|
|
15970
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
15971
|
+
restarting: boolean(),
|
|
15972
|
+
message: string()
|
|
15973
|
+
});
|
|
15974
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
15975
|
+
kind: "mutation",
|
|
15976
|
+
auth: "admin"
|
|
15977
|
+
}), method(object({
|
|
15978
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
15979
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
15980
|
+
kind: "mutation",
|
|
15981
|
+
auth: "admin"
|
|
15982
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
15983
|
+
kind: "mutation",
|
|
15984
|
+
auth: "admin"
|
|
15985
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
15986
|
+
kind: "mutation",
|
|
15987
|
+
auth: "admin"
|
|
15568
15988
|
});
|
|
15569
|
-
method(object({
|
|
15570
|
-
deviceId: number$1(),
|
|
15571
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
15572
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number$1() }), _void(), { kind: "mutation" }), method(object({ deviceId: number$1() }), array(ExposedResourceSchema).readonly());
|
|
15573
15989
|
/**
|
|
15574
15990
|
* Query filter for settings-store collections.
|
|
15575
15991
|
*/
|
|
@@ -15722,9 +16138,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
15722
16138
|
/**
|
|
15723
16139
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
15724
16140
|
*
|
|
15725
|
-
*
|
|
15726
|
-
*
|
|
15727
|
-
*
|
|
16141
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
16142
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
16143
|
+
* prebuffer fallback.
|
|
15728
16144
|
*/
|
|
15729
16145
|
var SnapshotImageSchema = object({
|
|
15730
16146
|
base64: string(),
|
|
@@ -15755,11 +16171,12 @@ DeviceType.Camera, method(object({
|
|
|
15755
16171
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number$1() }), _void(), {
|
|
15756
16172
|
kind: "mutation",
|
|
15757
16173
|
auth: "admin"
|
|
15758
|
-
})
|
|
15759
|
-
method(object({ deviceId: number$1() }), boolean()), method(object({
|
|
16174
|
+
}), systemMethod(object({ deviceIds: array(number$1()).min(1).max(200) }), array(object({
|
|
15760
16175
|
deviceId: number$1(),
|
|
15761
|
-
|
|
15762
|
-
|
|
16176
|
+
lastCapturedAt: number$1().nullable(),
|
|
16177
|
+
cacheAgeMs: number$1().nullable(),
|
|
16178
|
+
etag: string().nullable()
|
|
16179
|
+
})));
|
|
15763
16180
|
/**
|
|
15764
16181
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
15765
16182
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -16010,10 +16427,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
16010
16427
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
16011
16428
|
* the assertion, bumps the credential counter, returns ok.
|
|
16012
16429
|
*
|
|
16430
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
16431
|
+
* passkey IS the primary factor, no password leg:
|
|
16432
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
16433
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
16434
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
16435
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
16436
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
16437
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
16438
|
+
* resolves the credential by the response's credential id,
|
|
16439
|
+
* verifies the assertion against the stored challenge + that
|
|
16440
|
+
* credential's public key/counter, and returns the OWNING
|
|
16441
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
16442
|
+
*
|
|
16013
16443
|
* 3. Management:
|
|
16014
16444
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
16015
16445
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
16016
16446
|
*
|
|
16447
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
16448
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
16449
|
+
* demanded as a second factor after a password login ONLY when the
|
|
16450
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
16451
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
16452
|
+
* row ⇒ `enabled: false`).
|
|
16453
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
16454
|
+
* the providing addon beside its credentials.
|
|
16455
|
+
*
|
|
16017
16456
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
16018
16457
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
16019
16458
|
* the cap to non-admins.
|
|
@@ -16056,6 +16495,17 @@ method(object({
|
|
|
16056
16495
|
}), object({ verified: boolean() }), {
|
|
16057
16496
|
kind: "mutation",
|
|
16058
16497
|
access: "view"
|
|
16498
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
16499
|
+
kind: "mutation",
|
|
16500
|
+
access: "view"
|
|
16501
|
+
}), method(object({
|
|
16502
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
16503
|
+
response: record(string(), unknown()) }), object({
|
|
16504
|
+
verified: boolean(),
|
|
16505
|
+
userId: string().nullable()
|
|
16506
|
+
}), {
|
|
16507
|
+
kind: "mutation",
|
|
16508
|
+
access: "view"
|
|
16059
16509
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
16060
16510
|
userId: string(),
|
|
16061
16511
|
credentialId: string()
|
|
@@ -16063,6 +16513,13 @@ method(object({
|
|
|
16063
16513
|
kind: "mutation",
|
|
16064
16514
|
auth: "admin",
|
|
16065
16515
|
access: "delete"
|
|
16516
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
16517
|
+
userId: string(),
|
|
16518
|
+
enabled: boolean()
|
|
16519
|
+
}), object({ success: literal(true) }), {
|
|
16520
|
+
kind: "mutation",
|
|
16521
|
+
auth: "admin",
|
|
16522
|
+
access: "create"
|
|
16066
16523
|
});
|
|
16067
16524
|
/**
|
|
16068
16525
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -16120,9 +16577,10 @@ method(object({
|
|
|
16120
16577
|
auth: "admin"
|
|
16121
16578
|
});
|
|
16122
16579
|
/**
|
|
16123
|
-
* Optional client-side hints sent at session creation to help the
|
|
16124
|
-
*
|
|
16125
|
-
*
|
|
16580
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
16581
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
16582
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
16583
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
16126
16584
|
*/
|
|
16127
16585
|
var webrtcClientHintsSchema = object({
|
|
16128
16586
|
viewportWidth: number$1().int().positive().optional(),
|
|
@@ -16133,22 +16591,6 @@ var webrtcClientHintsSchema = object({
|
|
|
16133
16591
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
16134
16592
|
prefersTier: string().optional()
|
|
16135
16593
|
}).partial();
|
|
16136
|
-
method(object({
|
|
16137
|
-
streamId: string(),
|
|
16138
|
-
sdpOffer: string()
|
|
16139
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
16140
|
-
streamId: string(),
|
|
16141
|
-
codec: string()
|
|
16142
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
16143
|
-
streamId: string(),
|
|
16144
|
-
hints: webrtcClientHintsSchema.optional()
|
|
16145
|
-
}), object({
|
|
16146
|
-
sessionId: string(),
|
|
16147
|
-
sdpOffer: string()
|
|
16148
|
-
}), { kind: "mutation" }), method(object({
|
|
16149
|
-
sessionId: string(),
|
|
16150
|
-
sdpAnswer: string()
|
|
16151
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
16152
16594
|
/**
|
|
16153
16595
|
* Discriminated target for a WebRTC session. The client sends this
|
|
16154
16596
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -16879,7 +17321,17 @@ var FaceInfoSchema = object({
|
|
|
16879
17321
|
recognizedIdentityId: string().optional(),
|
|
16880
17322
|
identityName: string().optional(),
|
|
16881
17323
|
assigned: boolean(),
|
|
16882
|
-
base64: string().optional()
|
|
17324
|
+
base64: string().optional(),
|
|
17325
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
17326
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
17327
|
+
* legacy rows written before design B. */
|
|
17328
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
17329
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
17330
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
17331
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
17332
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
17333
|
+
* back to the inline `base64` face crop. */
|
|
17334
|
+
keyFrameMediaKey: string().optional()
|
|
16883
17335
|
});
|
|
16884
17336
|
var FaceFilterEnum = _enum([
|
|
16885
17337
|
"unassigned",
|
|
@@ -17576,6 +18028,16 @@ var TopologyCategorySchema = object({
|
|
|
17576
18028
|
healthy: number$1(),
|
|
17577
18029
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
17578
18030
|
});
|
|
18031
|
+
/**
|
|
18032
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18033
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18034
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18035
|
+
* rows and pre-phase-2 nodes report none.
|
|
18036
|
+
*/
|
|
18037
|
+
var TopologyRootPackageSchema = object({
|
|
18038
|
+
name: string(),
|
|
18039
|
+
version: string()
|
|
18040
|
+
});
|
|
17579
18041
|
var TopologyNodeSchema = object({
|
|
17580
18042
|
id: string(),
|
|
17581
18043
|
name: string(),
|
|
@@ -17599,7 +18061,8 @@ var TopologyNodeSchema = object({
|
|
|
17599
18061
|
status: string()
|
|
17600
18062
|
})).readonly(),
|
|
17601
18063
|
processes: array(TopologyProcessSchema).readonly(),
|
|
17602
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18064
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18065
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
17603
18066
|
});
|
|
17604
18067
|
var CapUsageEdgeSchema = object({
|
|
17605
18068
|
callerAddonId: string(),
|
|
@@ -20399,6 +20862,12 @@ Object.freeze({
|
|
|
20399
20862
|
addonId: null,
|
|
20400
20863
|
access: "create"
|
|
20401
20864
|
},
|
|
20865
|
+
"loginMethod.getLoginMethods": {
|
|
20866
|
+
capName: "login-method",
|
|
20867
|
+
capScope: "system",
|
|
20868
|
+
addonId: null,
|
|
20869
|
+
access: "view"
|
|
20870
|
+
},
|
|
20402
20871
|
"mediaPlayer.next": {
|
|
20403
20872
|
capName: "media-player",
|
|
20404
20873
|
capScope: "device",
|
|
@@ -20981,6 +21450,12 @@ Object.freeze({
|
|
|
20981
21450
|
addonId: null,
|
|
20982
21451
|
access: "view"
|
|
20983
21452
|
},
|
|
21453
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
21454
|
+
capName: "pipeline-analytics",
|
|
21455
|
+
capScope: "device",
|
|
21456
|
+
addonId: null,
|
|
21457
|
+
access: "view"
|
|
21458
|
+
},
|
|
20984
21459
|
"pipelineAnalytics.getMotionEvents": {
|
|
20985
21460
|
capName: "pipeline-analytics",
|
|
20986
21461
|
capScope: "device",
|
|
@@ -21029,23 +21504,23 @@ Object.freeze({
|
|
|
21029
21504
|
addonId: null,
|
|
21030
21505
|
access: "create"
|
|
21031
21506
|
},
|
|
21032
|
-
"pipelineExecutor.
|
|
21507
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
21033
21508
|
capName: "pipeline-executor",
|
|
21034
21509
|
capScope: "system",
|
|
21035
21510
|
addonId: null,
|
|
21036
21511
|
access: "delete"
|
|
21037
21512
|
},
|
|
21038
|
-
"pipelineExecutor.
|
|
21513
|
+
"pipelineExecutor.deleteModel": {
|
|
21039
21514
|
capName: "pipeline-executor",
|
|
21040
21515
|
capScope: "system",
|
|
21041
21516
|
addonId: null,
|
|
21042
21517
|
access: "delete"
|
|
21043
21518
|
},
|
|
21044
|
-
"pipelineExecutor.
|
|
21519
|
+
"pipelineExecutor.deleteTemplate": {
|
|
21045
21520
|
capName: "pipeline-executor",
|
|
21046
21521
|
capScope: "system",
|
|
21047
21522
|
addonId: null,
|
|
21048
|
-
access: "
|
|
21523
|
+
access: "delete"
|
|
21049
21524
|
},
|
|
21050
21525
|
"pipelineExecutor.downloadModel": {
|
|
21051
21526
|
capName: "pipeline-executor",
|
|
@@ -21239,13 +21714,13 @@ Object.freeze({
|
|
|
21239
21714
|
addonId: null,
|
|
21240
21715
|
access: "create"
|
|
21241
21716
|
},
|
|
21242
|
-
"
|
|
21243
|
-
capName: "pipeline-
|
|
21717
|
+
"pipelineExecutor.validatePipeline": {
|
|
21718
|
+
capName: "pipeline-executor",
|
|
21244
21719
|
capScope: "system",
|
|
21245
21720
|
addonId: null,
|
|
21246
|
-
access: "
|
|
21721
|
+
access: "view"
|
|
21247
21722
|
},
|
|
21248
|
-
"pipelineOrchestrator.
|
|
21723
|
+
"pipelineOrchestrator.assignAudio": {
|
|
21249
21724
|
capName: "pipeline-orchestrator",
|
|
21250
21725
|
capScope: "system",
|
|
21251
21726
|
addonId: null,
|
|
@@ -21329,19 +21804,13 @@ Object.freeze({
|
|
|
21329
21804
|
addonId: null,
|
|
21330
21805
|
access: "view"
|
|
21331
21806
|
},
|
|
21332
|
-
"pipelineOrchestrator.
|
|
21333
|
-
capName: "pipeline-orchestrator",
|
|
21334
|
-
capScope: "system",
|
|
21335
|
-
addonId: null,
|
|
21336
|
-
access: "view"
|
|
21337
|
-
},
|
|
21338
|
-
"pipelineOrchestrator.getDecoderAssignments": {
|
|
21807
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
21339
21808
|
capName: "pipeline-orchestrator",
|
|
21340
21809
|
capScope: "system",
|
|
21341
21810
|
addonId: null,
|
|
21342
21811
|
access: "view"
|
|
21343
21812
|
},
|
|
21344
|
-
"pipelineOrchestrator.
|
|
21813
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
21345
21814
|
capName: "pipeline-orchestrator",
|
|
21346
21815
|
capScope: "system",
|
|
21347
21816
|
addonId: null,
|
|
@@ -21383,6 +21852,12 @@ Object.freeze({
|
|
|
21383
21852
|
addonId: null,
|
|
21384
21853
|
access: "delete"
|
|
21385
21854
|
},
|
|
21855
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
21856
|
+
capName: "pipeline-orchestrator",
|
|
21857
|
+
capScope: "system",
|
|
21858
|
+
addonId: null,
|
|
21859
|
+
access: "delete"
|
|
21860
|
+
},
|
|
21386
21861
|
"pipelineOrchestrator.resolvePipeline": {
|
|
21387
21862
|
capName: "pipeline-orchestrator",
|
|
21388
21863
|
capScope: "system",
|
|
@@ -21419,37 +21894,37 @@ Object.freeze({
|
|
|
21419
21894
|
addonId: null,
|
|
21420
21895
|
access: "create"
|
|
21421
21896
|
},
|
|
21422
|
-
"pipelineOrchestrator.
|
|
21897
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
21423
21898
|
capName: "pipeline-orchestrator",
|
|
21424
21899
|
capScope: "system",
|
|
21425
21900
|
addonId: null,
|
|
21426
21901
|
access: "create"
|
|
21427
21902
|
},
|
|
21428
|
-
"pipelineOrchestrator.
|
|
21903
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
21429
21904
|
capName: "pipeline-orchestrator",
|
|
21430
21905
|
capScope: "system",
|
|
21431
21906
|
addonId: null,
|
|
21432
21907
|
access: "create"
|
|
21433
21908
|
},
|
|
21434
|
-
"pipelineOrchestrator.
|
|
21909
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
21435
21910
|
capName: "pipeline-orchestrator",
|
|
21436
21911
|
capScope: "system",
|
|
21437
21912
|
addonId: null,
|
|
21438
21913
|
access: "create"
|
|
21439
21914
|
},
|
|
21440
|
-
"pipelineOrchestrator.
|
|
21915
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
21441
21916
|
capName: "pipeline-orchestrator",
|
|
21442
21917
|
capScope: "system",
|
|
21443
21918
|
addonId: null,
|
|
21444
21919
|
access: "create"
|
|
21445
21920
|
},
|
|
21446
|
-
"pipelineOrchestrator.
|
|
21921
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
21447
21922
|
capName: "pipeline-orchestrator",
|
|
21448
21923
|
capScope: "system",
|
|
21449
21924
|
addonId: null,
|
|
21450
21925
|
access: "create"
|
|
21451
21926
|
},
|
|
21452
|
-
"pipelineOrchestrator.
|
|
21927
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
21453
21928
|
capName: "pipeline-orchestrator",
|
|
21454
21929
|
capScope: "system",
|
|
21455
21930
|
addonId: null,
|
|
@@ -21509,12 +21984,24 @@ Object.freeze({
|
|
|
21509
21984
|
addonId: null,
|
|
21510
21985
|
access: "view"
|
|
21511
21986
|
},
|
|
21987
|
+
"pipelineRunner.getNativeCrop": {
|
|
21988
|
+
capName: "pipeline-runner",
|
|
21989
|
+
capScope: "system",
|
|
21990
|
+
addonId: null,
|
|
21991
|
+
access: "view"
|
|
21992
|
+
},
|
|
21512
21993
|
"pipelineRunner.reportMotion": {
|
|
21513
21994
|
capName: "pipeline-runner",
|
|
21514
21995
|
capScope: "system",
|
|
21515
21996
|
addonId: null,
|
|
21516
21997
|
access: "create"
|
|
21517
21998
|
},
|
|
21999
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22000
|
+
capName: "pipeline-runner",
|
|
22001
|
+
capScope: "system",
|
|
22002
|
+
addonId: null,
|
|
22003
|
+
access: "create"
|
|
22004
|
+
},
|
|
21518
22005
|
"plateGallery.correctPlateText": {
|
|
21519
22006
|
capName: "plate-gallery",
|
|
21520
22007
|
capScope: "system",
|
|
@@ -21749,33 +22236,45 @@ Object.freeze({
|
|
|
21749
22236
|
addonId: null,
|
|
21750
22237
|
access: "create"
|
|
21751
22238
|
},
|
|
21752
|
-
"
|
|
21753
|
-
capName: "
|
|
22239
|
+
"scriptRunner.run": {
|
|
22240
|
+
capName: "script-runner",
|
|
22241
|
+
capScope: "device",
|
|
22242
|
+
addonId: null,
|
|
22243
|
+
access: "create"
|
|
22244
|
+
},
|
|
22245
|
+
"scriptRunner.stop": {
|
|
22246
|
+
capName: "script-runner",
|
|
22247
|
+
capScope: "device",
|
|
22248
|
+
addonId: null,
|
|
22249
|
+
access: "create"
|
|
22250
|
+
},
|
|
22251
|
+
"serverManagement.applyServerUpdate": {
|
|
22252
|
+
capName: "server-management",
|
|
21754
22253
|
capScope: "system",
|
|
21755
22254
|
addonId: null,
|
|
21756
|
-
access: "
|
|
22255
|
+
access: "create"
|
|
21757
22256
|
},
|
|
21758
|
-
"
|
|
21759
|
-
capName: "
|
|
22257
|
+
"serverManagement.checkServerUpdate": {
|
|
22258
|
+
capName: "server-management",
|
|
21760
22259
|
capScope: "system",
|
|
21761
22260
|
addonId: null,
|
|
21762
22261
|
access: "create"
|
|
21763
22262
|
},
|
|
21764
|
-
"
|
|
21765
|
-
capName: "
|
|
22263
|
+
"serverManagement.getServerPackageStatus": {
|
|
22264
|
+
capName: "server-management",
|
|
21766
22265
|
capScope: "system",
|
|
21767
22266
|
addonId: null,
|
|
21768
|
-
access: "
|
|
22267
|
+
access: "view"
|
|
21769
22268
|
},
|
|
21770
|
-
"
|
|
21771
|
-
capName: "
|
|
21772
|
-
capScope: "
|
|
22269
|
+
"serverManagement.restartServer": {
|
|
22270
|
+
capName: "server-management",
|
|
22271
|
+
capScope: "system",
|
|
21773
22272
|
addonId: null,
|
|
21774
22273
|
access: "create"
|
|
21775
22274
|
},
|
|
21776
|
-
"
|
|
21777
|
-
capName: "
|
|
21778
|
-
capScope: "
|
|
22275
|
+
"serverManagement.rollbackServerUpdate": {
|
|
22276
|
+
capName: "server-management",
|
|
22277
|
+
capScope: "system",
|
|
21779
22278
|
addonId: null,
|
|
21780
22279
|
access: "create"
|
|
21781
22280
|
},
|
|
@@ -21863,23 +22362,17 @@ Object.freeze({
|
|
|
21863
22362
|
addonId: null,
|
|
21864
22363
|
access: "view"
|
|
21865
22364
|
},
|
|
21866
|
-
"snapshot.
|
|
22365
|
+
"snapshot.getSnapshotOverview": {
|
|
21867
22366
|
capName: "snapshot",
|
|
21868
22367
|
capScope: "device",
|
|
21869
22368
|
addonId: null,
|
|
21870
|
-
access: "create"
|
|
21871
|
-
},
|
|
21872
|
-
"snapshotProvider.getSnapshot": {
|
|
21873
|
-
capName: "snapshot-provider",
|
|
21874
|
-
capScope: "system",
|
|
21875
|
-
addonId: null,
|
|
21876
22369
|
access: "view"
|
|
21877
22370
|
},
|
|
21878
|
-
"
|
|
21879
|
-
capName: "snapshot
|
|
21880
|
-
capScope: "
|
|
22371
|
+
"snapshot.invalidateCache": {
|
|
22372
|
+
capName: "snapshot",
|
|
22373
|
+
capScope: "device",
|
|
21881
22374
|
addonId: null,
|
|
21882
|
-
access: "
|
|
22375
|
+
access: "create"
|
|
21883
22376
|
},
|
|
21884
22377
|
"ssoBridge.signBridgeToken": {
|
|
21885
22378
|
capName: "sso-bridge",
|
|
@@ -22307,30 +22800,6 @@ Object.freeze({
|
|
|
22307
22800
|
addonId: null,
|
|
22308
22801
|
access: "view"
|
|
22309
22802
|
},
|
|
22310
|
-
"streamingEngine.getStreamUrl": {
|
|
22311
|
-
capName: "streaming-engine",
|
|
22312
|
-
capScope: "system",
|
|
22313
|
-
addonId: null,
|
|
22314
|
-
access: "view"
|
|
22315
|
-
},
|
|
22316
|
-
"streamingEngine.listStreams": {
|
|
22317
|
-
capName: "streaming-engine",
|
|
22318
|
-
capScope: "system",
|
|
22319
|
-
addonId: null,
|
|
22320
|
-
access: "view"
|
|
22321
|
-
},
|
|
22322
|
-
"streamingEngine.registerStream": {
|
|
22323
|
-
capName: "streaming-engine",
|
|
22324
|
-
capScope: "system",
|
|
22325
|
-
addonId: null,
|
|
22326
|
-
access: "create"
|
|
22327
|
-
},
|
|
22328
|
-
"streamingEngine.unregisterStream": {
|
|
22329
|
-
capName: "streaming-engine",
|
|
22330
|
-
capScope: "system",
|
|
22331
|
-
addonId: null,
|
|
22332
|
-
access: "delete"
|
|
22333
|
-
},
|
|
22334
22803
|
"streamParams.getConfigSchema": {
|
|
22335
22804
|
capName: "stream-params",
|
|
22336
22805
|
capScope: "device",
|
|
@@ -22577,6 +23046,12 @@ Object.freeze({
|
|
|
22577
23046
|
addonId: null,
|
|
22578
23047
|
access: "view"
|
|
22579
23048
|
},
|
|
23049
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
23050
|
+
capName: "user-passkeys",
|
|
23051
|
+
capScope: "system",
|
|
23052
|
+
addonId: null,
|
|
23053
|
+
access: "view"
|
|
23054
|
+
},
|
|
22580
23055
|
"userPasskeys.beginRegistration": {
|
|
22581
23056
|
capName: "user-passkeys",
|
|
22582
23057
|
capScope: "system",
|
|
@@ -22589,12 +23064,24 @@ Object.freeze({
|
|
|
22589
23064
|
addonId: null,
|
|
22590
23065
|
access: "view"
|
|
22591
23066
|
},
|
|
23067
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
23068
|
+
capName: "user-passkeys",
|
|
23069
|
+
capScope: "system",
|
|
23070
|
+
addonId: null,
|
|
23071
|
+
access: "view"
|
|
23072
|
+
},
|
|
22592
23073
|
"userPasskeys.finishRegistration": {
|
|
22593
23074
|
capName: "user-passkeys",
|
|
22594
23075
|
capScope: "system",
|
|
22595
23076
|
addonId: null,
|
|
22596
23077
|
access: "create"
|
|
22597
23078
|
},
|
|
23079
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
23080
|
+
capName: "user-passkeys",
|
|
23081
|
+
capScope: "system",
|
|
23082
|
+
addonId: null,
|
|
23083
|
+
access: "view"
|
|
23084
|
+
},
|
|
22598
23085
|
"userPasskeys.listPasskeys": {
|
|
22599
23086
|
capName: "user-passkeys",
|
|
22600
23087
|
capScope: "system",
|
|
@@ -22607,6 +23094,12 @@ Object.freeze({
|
|
|
22607
23094
|
addonId: null,
|
|
22608
23095
|
access: "delete"
|
|
22609
23096
|
},
|
|
23097
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
23098
|
+
capName: "user-passkeys",
|
|
23099
|
+
capScope: "system",
|
|
23100
|
+
addonId: null,
|
|
23101
|
+
access: "create"
|
|
23102
|
+
},
|
|
22610
23103
|
"vacuumControl.locate": {
|
|
22611
23104
|
capName: "vacuum-control",
|
|
22612
23105
|
capScope: "device",
|
|
@@ -22679,6 +23172,18 @@ Object.freeze({
|
|
|
22679
23172
|
addonId: null,
|
|
22680
23173
|
access: "view"
|
|
22681
23174
|
},
|
|
23175
|
+
"viewerUi.getStaticDir": {
|
|
23176
|
+
capName: "viewer-ui",
|
|
23177
|
+
capScope: "system",
|
|
23178
|
+
addonId: null,
|
|
23179
|
+
access: "view"
|
|
23180
|
+
},
|
|
23181
|
+
"viewerUi.getVersion": {
|
|
23182
|
+
capName: "viewer-ui",
|
|
23183
|
+
capScope: "system",
|
|
23184
|
+
addonId: null,
|
|
23185
|
+
access: "view"
|
|
23186
|
+
},
|
|
22682
23187
|
"waterHeater.setAway": {
|
|
22683
23188
|
capName: "water-heater",
|
|
22684
23189
|
capScope: "device",
|
|
@@ -22697,54 +23202,6 @@ Object.freeze({
|
|
|
22697
23202
|
addonId: null,
|
|
22698
23203
|
access: "create"
|
|
22699
23204
|
},
|
|
22700
|
-
"webrtc.closeSession": {
|
|
22701
|
-
capName: "webrtc",
|
|
22702
|
-
capScope: "system",
|
|
22703
|
-
addonId: null,
|
|
22704
|
-
access: "create"
|
|
22705
|
-
},
|
|
22706
|
-
"webrtc.createSession": {
|
|
22707
|
-
capName: "webrtc",
|
|
22708
|
-
capScope: "system",
|
|
22709
|
-
addonId: null,
|
|
22710
|
-
access: "create"
|
|
22711
|
-
},
|
|
22712
|
-
"webrtc.handleAnswer": {
|
|
22713
|
-
capName: "webrtc",
|
|
22714
|
-
capScope: "system",
|
|
22715
|
-
addonId: null,
|
|
22716
|
-
access: "create"
|
|
22717
|
-
},
|
|
22718
|
-
"webrtc.handleOffer": {
|
|
22719
|
-
capName: "webrtc",
|
|
22720
|
-
capScope: "system",
|
|
22721
|
-
addonId: null,
|
|
22722
|
-
access: "create"
|
|
22723
|
-
},
|
|
22724
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
22725
|
-
capName: "webrtc",
|
|
22726
|
-
capScope: "system",
|
|
22727
|
-
addonId: null,
|
|
22728
|
-
access: "view"
|
|
22729
|
-
},
|
|
22730
|
-
"webrtc.registerStream": {
|
|
22731
|
-
capName: "webrtc",
|
|
22732
|
-
capScope: "system",
|
|
22733
|
-
addonId: null,
|
|
22734
|
-
access: "create"
|
|
22735
|
-
},
|
|
22736
|
-
"webrtc.supportsStream": {
|
|
22737
|
-
capName: "webrtc",
|
|
22738
|
-
capScope: "system",
|
|
22739
|
-
addonId: null,
|
|
22740
|
-
access: "view"
|
|
22741
|
-
},
|
|
22742
|
-
"webrtc.unregisterStream": {
|
|
22743
|
-
capName: "webrtc",
|
|
22744
|
-
capScope: "system",
|
|
22745
|
-
addonId: null,
|
|
22746
|
-
access: "delete"
|
|
22747
|
-
},
|
|
22748
23205
|
"webrtcSession.addIceCandidate": {
|
|
22749
23206
|
capName: "webrtc-session",
|
|
22750
23207
|
capScope: "device",
|