@camstack/addon-provider-dreame 0.1.26 → 0.1.28
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/addon.js +715 -288
- package/dist/addon.mjs +715 -288
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4680,7 +4680,7 @@ function preprocess(fn, schema) {
|
|
|
4680
4680
|
});
|
|
4681
4681
|
}
|
|
4682
4682
|
//#endregion
|
|
4683
|
-
//#region ../types/dist/sleep-
|
|
4683
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4684
4684
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4685
4685
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4686
4686
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4866,6 +4866,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4866
4866
|
*/
|
|
4867
4867
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4868
4868
|
/**
|
|
4869
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4870
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4871
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4872
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4873
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4874
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4875
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4876
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4877
|
+
* broker's long backstop reconcile query).
|
|
4878
|
+
*/
|
|
4879
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4880
|
+
/**
|
|
4869
4881
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4870
4882
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4871
4883
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5389,10 +5401,6 @@ function hydrateField(field, values) {
|
|
|
5389
5401
|
};
|
|
5390
5402
|
}
|
|
5391
5403
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5392
|
-
if (field.type === "password") return {
|
|
5393
|
-
...field,
|
|
5394
|
-
value: ""
|
|
5395
|
-
};
|
|
5396
5404
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5397
5405
|
return {
|
|
5398
5406
|
...field,
|
|
@@ -6776,10 +6784,25 @@ function method(input, output, options) {
|
|
|
6776
6784
|
timeoutMs: options?.timeoutMs
|
|
6777
6785
|
};
|
|
6778
6786
|
}
|
|
6787
|
+
/**
|
|
6788
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6789
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6790
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6791
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6792
|
+
*/
|
|
6793
|
+
function systemMethod(input, output, options) {
|
|
6794
|
+
return {
|
|
6795
|
+
...method(input, output, options),
|
|
6796
|
+
systemOnly: true
|
|
6797
|
+
};
|
|
6798
|
+
}
|
|
6779
6799
|
/** Shorthand to define an event schema */
|
|
6780
6800
|
function event(data) {
|
|
6781
6801
|
return { data };
|
|
6782
6802
|
}
|
|
6803
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6804
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6805
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6783
6806
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6784
6807
|
var VersionOutputSchema = object({ version: string() });
|
|
6785
6808
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6961,6 +6984,36 @@ var ModelFormatsSchema = object({
|
|
|
6961
6984
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6962
6985
|
pt: ModelFormatEntrySchema.optional()
|
|
6963
6986
|
});
|
|
6987
|
+
/**
|
|
6988
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6989
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6990
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6991
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6992
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6993
|
+
* to an `id`.
|
|
6994
|
+
*/
|
|
6995
|
+
var ModelVariantGroupSchema = object({
|
|
6996
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6997
|
+
family: string(),
|
|
6998
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6999
|
+
tier: string(),
|
|
7000
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
7001
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
7002
|
+
/**
|
|
7003
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
7004
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
7005
|
+
* future performance variants plug into.
|
|
7006
|
+
*/
|
|
7007
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
7008
|
+
/**
|
|
7009
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
7010
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
7011
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
7012
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
7013
|
+
* the group so the selector can offer it as a variant axis.
|
|
7014
|
+
*/
|
|
7015
|
+
resolution: number().int().positive().optional()
|
|
7016
|
+
});
|
|
6964
7017
|
var ModelCatalogEntrySchema = object({
|
|
6965
7018
|
id: string(),
|
|
6966
7019
|
name: string(),
|
|
@@ -6990,7 +7043,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6990
7043
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6991
7044
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6992
7045
|
*/
|
|
6993
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7046
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7047
|
+
/**
|
|
7048
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7049
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7050
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7051
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7052
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7053
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7054
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7055
|
+
*/
|
|
7056
|
+
legacy: boolean().optional(),
|
|
7057
|
+
/**
|
|
7058
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7059
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7060
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7061
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7062
|
+
*/
|
|
7063
|
+
metrics: object({
|
|
7064
|
+
map50: number().optional(),
|
|
7065
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7066
|
+
}).optional(),
|
|
7067
|
+
/**
|
|
7068
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7069
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7070
|
+
* the retraining addon and any future commercial distribution.
|
|
7071
|
+
*/
|
|
7072
|
+
license: string().optional(),
|
|
7073
|
+
/**
|
|
7074
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7075
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7076
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7077
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7078
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7079
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7080
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7081
|
+
*/
|
|
7082
|
+
group: ModelVariantGroupSchema.optional()
|
|
6994
7083
|
});
|
|
6995
7084
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6996
7085
|
format: literal("openvino"),
|
|
@@ -7051,8 +7140,8 @@ var RecordingModeSchema = _enum([
|
|
|
7051
7140
|
"onAudioThreshold"
|
|
7052
7141
|
]);
|
|
7053
7142
|
/**
|
|
7054
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7055
|
-
* reads directly (never inferred from `rules`):
|
|
7143
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7144
|
+
* UI reads directly (never inferred from `rules`):
|
|
7056
7145
|
* - `off` — not recording.
|
|
7057
7146
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7058
7147
|
* with pre/post-buffer.
|
|
@@ -9215,26 +9304,13 @@ onBrightnessChanged: { data: object({
|
|
|
9215
9304
|
*/
|
|
9216
9305
|
runtimeState: BrightnessStatusSchema
|
|
9217
9306
|
};
|
|
9307
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9218
9308
|
var StreamFormatSchema = _enum([
|
|
9219
9309
|
"webrtc",
|
|
9220
9310
|
"hls",
|
|
9221
9311
|
"mjpeg",
|
|
9222
9312
|
"rtsp"
|
|
9223
9313
|
]);
|
|
9224
|
-
var StreamInfoSchema = object({
|
|
9225
|
-
streamId: string(),
|
|
9226
|
-
format: StreamFormatSchema,
|
|
9227
|
-
url: string().nullable(),
|
|
9228
|
-
active: boolean()
|
|
9229
|
-
});
|
|
9230
|
-
method(object({
|
|
9231
|
-
streamId: string(),
|
|
9232
|
-
sourceUrl: string(),
|
|
9233
|
-
codec: string().optional()
|
|
9234
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
9235
|
-
streamId: string(),
|
|
9236
|
-
format: StreamFormatSchema
|
|
9237
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9238
9314
|
var RtspRestreamEntrySchema = object({
|
|
9239
9315
|
brokerId: string(),
|
|
9240
9316
|
url: string(),
|
|
@@ -10102,37 +10178,7 @@ var consumablesCapability = {
|
|
|
10102
10178
|
scope: "device",
|
|
10103
10179
|
deviceNative: true,
|
|
10104
10180
|
mode: "singleton",
|
|
10105
|
-
deviceTypes:
|
|
10106
|
-
DeviceType.Camera,
|
|
10107
|
-
DeviceType.Hub,
|
|
10108
|
-
DeviceType.Light,
|
|
10109
|
-
DeviceType.Siren,
|
|
10110
|
-
DeviceType.Switch,
|
|
10111
|
-
DeviceType.Sensor,
|
|
10112
|
-
DeviceType.Thermostat,
|
|
10113
|
-
DeviceType.Button,
|
|
10114
|
-
DeviceType.EventEmitter,
|
|
10115
|
-
DeviceType.Update,
|
|
10116
|
-
DeviceType.Generic,
|
|
10117
|
-
DeviceType.Notifier,
|
|
10118
|
-
DeviceType.Script,
|
|
10119
|
-
DeviceType.Automation,
|
|
10120
|
-
DeviceType.Lock,
|
|
10121
|
-
DeviceType.Cover,
|
|
10122
|
-
DeviceType.Valve,
|
|
10123
|
-
DeviceType.Humidifier,
|
|
10124
|
-
DeviceType.WaterHeater,
|
|
10125
|
-
DeviceType.Fan,
|
|
10126
|
-
DeviceType.MediaPlayer,
|
|
10127
|
-
DeviceType.AlarmPanel,
|
|
10128
|
-
DeviceType.Control,
|
|
10129
|
-
DeviceType.Presence,
|
|
10130
|
-
DeviceType.Weather,
|
|
10131
|
-
DeviceType.Vacuum,
|
|
10132
|
-
DeviceType.LawnMower,
|
|
10133
|
-
DeviceType.Container,
|
|
10134
|
-
DeviceType.Image
|
|
10135
|
-
],
|
|
10181
|
+
deviceTypes: Object.values(DeviceType),
|
|
10136
10182
|
deviceConfig: { ui: {
|
|
10137
10183
|
kind: "widget",
|
|
10138
10184
|
widgetId: "host/consumables-panel",
|
|
@@ -11590,7 +11636,7 @@ var BoundingBoxSchema = object({
|
|
|
11590
11636
|
w: number(),
|
|
11591
11637
|
h: number()
|
|
11592
11638
|
});
|
|
11593
|
-
|
|
11639
|
+
object({
|
|
11594
11640
|
class: string(),
|
|
11595
11641
|
originalClass: string(),
|
|
11596
11642
|
score: number(),
|
|
@@ -11725,7 +11771,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11725
11771
|
enabled: boolean(),
|
|
11726
11772
|
modelId: string(),
|
|
11727
11773
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11728
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11729
11774
|
group: string().optional(),
|
|
11730
11775
|
settings: record(string(), unknown()).optional()
|
|
11731
11776
|
}));
|
|
@@ -11750,7 +11795,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11750
11795
|
formats: record(string(), object({
|
|
11751
11796
|
downloaded: boolean(),
|
|
11752
11797
|
sizeMB: number()
|
|
11753
|
-
}))
|
|
11798
|
+
})),
|
|
11799
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11800
|
+
legacy: boolean().optional()
|
|
11754
11801
|
});
|
|
11755
11802
|
var ConfigFieldBridge = custom();
|
|
11756
11803
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11764,6 +11811,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11764
11811
|
defaultModelId: string(),
|
|
11765
11812
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
11766
11813
|
enabledByDefault: boolean().optional(),
|
|
11814
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11767
11815
|
defaultConfidence: number(),
|
|
11768
11816
|
group: string().optional(),
|
|
11769
11817
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11780,11 +11828,6 @@ var PipelineSchemaSchema = object({
|
|
|
11780
11828
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11781
11829
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11782
11830
|
});
|
|
11783
|
-
var DetectorOutputSchema = object({
|
|
11784
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11785
|
-
inferenceMs: number(),
|
|
11786
|
-
modelId: string()
|
|
11787
|
-
});
|
|
11788
11831
|
var EngineProvisioningSchema = object({
|
|
11789
11832
|
runtimeId: _enum([
|
|
11790
11833
|
"onnx",
|
|
@@ -11801,15 +11844,42 @@ var EngineProvisioningSchema = object({
|
|
|
11801
11844
|
]),
|
|
11802
11845
|
progress: number().optional(),
|
|
11803
11846
|
error: string().optional(),
|
|
11804
|
-
nextRetryAt: number().optional()
|
|
11847
|
+
nextRetryAt: number().optional(),
|
|
11848
|
+
/**
|
|
11849
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11850
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11851
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11852
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11853
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11854
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11855
|
+
*/
|
|
11856
|
+
configIssues: array(string()).optional()
|
|
11805
11857
|
});
|
|
11806
11858
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11807
11859
|
addonId: string(),
|
|
11808
|
-
modelId: string(),
|
|
11860
|
+
modelId: string().optional(),
|
|
11809
11861
|
enabled: boolean().default(true),
|
|
11810
11862
|
children: array(PipelineStepInputSchema).optional(),
|
|
11811
11863
|
settings: record(string(), unknown()).optional()
|
|
11812
11864
|
}));
|
|
11865
|
+
var ModelSubstitutionSchema = object({
|
|
11866
|
+
addonId: string(),
|
|
11867
|
+
chosen: string(),
|
|
11868
|
+
running: string(),
|
|
11869
|
+
format: string()
|
|
11870
|
+
});
|
|
11871
|
+
var PipelineValidationIssueSchema = object({
|
|
11872
|
+
addonId: string(),
|
|
11873
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11874
|
+
detail: string()
|
|
11875
|
+
});
|
|
11876
|
+
var PipelineValidationResultSchema = object({
|
|
11877
|
+
ok: boolean(),
|
|
11878
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11879
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11880
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11881
|
+
format: string()
|
|
11882
|
+
});
|
|
11813
11883
|
var ReferenceImageEntrySchema = object({
|
|
11814
11884
|
filename: string(),
|
|
11815
11885
|
stepIds: array(string()).readonly().optional()
|
|
@@ -11880,7 +11950,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11880
11950
|
})) }), object({ success: literal(true) }), {
|
|
11881
11951
|
kind: "mutation",
|
|
11882
11952
|
auth: "admin"
|
|
11883
|
-
}), method(
|
|
11953
|
+
}), method(object({ nodeId: string() }), object({
|
|
11954
|
+
success: literal(true),
|
|
11955
|
+
clearedDevices: number()
|
|
11956
|
+
}), {
|
|
11957
|
+
kind: "mutation",
|
|
11958
|
+
auth: "admin"
|
|
11959
|
+
}), 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({
|
|
11884
11960
|
name: string(),
|
|
11885
11961
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11886
11962
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11897,10 +11973,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11897
11973
|
modelId: string(),
|
|
11898
11974
|
format: ModelFormatSchema$1
|
|
11899
11975
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11900
|
-
addonId: string(),
|
|
11901
|
-
frame: FrameInputSchema,
|
|
11902
|
-
config: record(string(), unknown()).optional()
|
|
11903
|
-
}), DetectorOutputSchema), method(object({
|
|
11904
11976
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11905
11977
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11906
11978
|
frame: FrameInputSchema.optional(),
|
|
@@ -11921,7 +11993,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11921
11993
|
image: _instanceof(Uint8Array).optional(),
|
|
11922
11994
|
referenceImage: string().optional(),
|
|
11923
11995
|
deviceId: number().optional(),
|
|
11924
|
-
sessionId: string().optional()
|
|
11996
|
+
sessionId: string().optional(),
|
|
11997
|
+
/**
|
|
11998
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11999
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12000
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12001
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12002
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12003
|
+
*/
|
|
12004
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11925
12005
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11926
12006
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11927
12007
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12079,6 +12159,47 @@ var zonesCapability = {
|
|
|
12079
12159
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12080
12160
|
};
|
|
12081
12161
|
/**
|
|
12162
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12163
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12164
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12165
|
+
* dims — no native resolution to plumb.
|
|
12166
|
+
*/
|
|
12167
|
+
var NativeCropBboxSchema = object({
|
|
12168
|
+
x: number(),
|
|
12169
|
+
y: number(),
|
|
12170
|
+
w: number(),
|
|
12171
|
+
h: number()
|
|
12172
|
+
});
|
|
12173
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12174
|
+
var NativeCropResultSchema = object({
|
|
12175
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12176
|
+
bytes: _instanceof(Uint8Array),
|
|
12177
|
+
width: number().int().positive(),
|
|
12178
|
+
height: number().int().positive()
|
|
12179
|
+
});
|
|
12180
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12181
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12182
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12183
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12184
|
+
* normalized [0,1] convention). */
|
|
12185
|
+
var DetailParentSchema = object({
|
|
12186
|
+
bbox: NativeCropBboxSchema,
|
|
12187
|
+
className: string()
|
|
12188
|
+
});
|
|
12189
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12190
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12191
|
+
* single tracked detection. */
|
|
12192
|
+
var DetailResultSchema = object({
|
|
12193
|
+
stepId: string(),
|
|
12194
|
+
className: string(),
|
|
12195
|
+
score: number(),
|
|
12196
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12197
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12198
|
+
embedding: string().optional(),
|
|
12199
|
+
label: string().optional(),
|
|
12200
|
+
alignedCropJpeg: string().optional()
|
|
12201
|
+
});
|
|
12202
|
+
/**
|
|
12082
12203
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12083
12204
|
* by both the Zod data schema (validation + default fallback) and
|
|
12084
12205
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12173,6 +12294,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12173
12294
|
kind: literal("remote-restream"),
|
|
12174
12295
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12175
12296
|
ownerNodeId: string(),
|
|
12297
|
+
/**
|
|
12298
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12299
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12300
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12301
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12302
|
+
*/
|
|
12303
|
+
ownerReachableHost: string().optional(),
|
|
12176
12304
|
/** Operator override for the owner host the runner dials. */
|
|
12177
12305
|
hubHostnameOverride: string().optional()
|
|
12178
12306
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12181,13 +12309,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12181
12309
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12182
12310
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12183
12311
|
*
|
|
12184
|
-
* Stateless-pipeline model: the
|
|
12185
|
-
*
|
|
12186
|
-
*
|
|
12187
|
-
*
|
|
12188
|
-
*
|
|
12189
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12190
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12312
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12313
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12314
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12315
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12316
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12191
12317
|
*/
|
|
12192
12318
|
var RunnerCameraConfigSchema = object({
|
|
12193
12319
|
deviceId: number(),
|
|
@@ -12238,14 +12364,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12238
12364
|
*/
|
|
12239
12365
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12240
12366
|
pipelineEnabled: boolean().default(true),
|
|
12241
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12242
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12243
12367
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12244
12368
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12245
12369
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12246
12370
|
audio: object({
|
|
12247
|
-
|
|
12248
|
-
modelId: string(),
|
|
12371
|
+
modelId: string().optional(),
|
|
12249
12372
|
enabled: boolean()
|
|
12250
12373
|
}).nullable().optional(),
|
|
12251
12374
|
/**
|
|
@@ -12332,7 +12455,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12332
12455
|
avgInferenceTimeMs: number(),
|
|
12333
12456
|
queueDepth: number()
|
|
12334
12457
|
});
|
|
12335
|
-
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())
|
|
12458
|
+
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({
|
|
12459
|
+
handle: FrameHandleSchema,
|
|
12460
|
+
bbox: NativeCropBboxSchema,
|
|
12461
|
+
maxWidth: number().int().positive().optional()
|
|
12462
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12463
|
+
deviceId: number(),
|
|
12464
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12465
|
+
cropJpeg: string().optional(),
|
|
12466
|
+
parent: DetailParentSchema,
|
|
12467
|
+
steps: array(string()).optional()
|
|
12468
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12336
12469
|
/**
|
|
12337
12470
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12338
12471
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15263,7 +15396,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15263
15396
|
icon: string(),
|
|
15264
15397
|
path: string(),
|
|
15265
15398
|
remoteName: string(),
|
|
15266
|
-
bundle: string()
|
|
15399
|
+
bundle: string(),
|
|
15400
|
+
section: string().optional(),
|
|
15401
|
+
sectionLabel: string().optional()
|
|
15267
15402
|
});
|
|
15268
15403
|
var AddonPageInfoSchema = object({
|
|
15269
15404
|
addonId: string(),
|
|
@@ -15303,7 +15438,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15303
15438
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15304
15439
|
* without a separate filesystem stat.
|
|
15305
15440
|
*/
|
|
15306
|
-
bundle: string()
|
|
15441
|
+
bundle: string(),
|
|
15442
|
+
/**
|
|
15443
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15444
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15445
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15446
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15447
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15448
|
+
* "Addon Pages" group.
|
|
15449
|
+
*/
|
|
15450
|
+
section: string().optional(),
|
|
15451
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15452
|
+
sectionLabel: string().optional()
|
|
15307
15453
|
});
|
|
15308
15454
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15309
15455
|
var AddonHttpRouteSchema = object({
|
|
@@ -15519,6 +15665,17 @@ var WidgetMetadataSchema = object({
|
|
|
15519
15665
|
deviceContext: boolean().default(false),
|
|
15520
15666
|
integrationContext: boolean().default(false)
|
|
15521
15667
|
}),
|
|
15668
|
+
/**
|
|
15669
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15670
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15671
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15672
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15673
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15674
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15675
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15676
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15677
|
+
*/
|
|
15678
|
+
preAuth: boolean().optional().default(false),
|
|
15522
15679
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15523
15680
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15524
15681
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15820,6 +15977,66 @@ method(object({
|
|
|
15820
15977
|
password: string()
|
|
15821
15978
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
15822
15979
|
/**
|
|
15980
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15981
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15982
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15983
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15984
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15985
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15986
|
+
*
|
|
15987
|
+
* A contribution is a discriminated union on `kind`:
|
|
15988
|
+
*
|
|
15989
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15990
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15991
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15992
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15993
|
+
* login page needs NO change.
|
|
15994
|
+
*
|
|
15995
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15996
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15997
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15998
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15999
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
16000
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
16001
|
+
*
|
|
16002
|
+
* Every contribution carries a `stage`:
|
|
16003
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
16004
|
+
* magic-link buttons; a future usernameless passkey).
|
|
16005
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
16006
|
+
* returned `factors` (passkey-as-2FA today).
|
|
16007
|
+
*
|
|
16008
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
16009
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
16010
|
+
* tRPC router.
|
|
16011
|
+
*/
|
|
16012
|
+
/** When a login method renders in the two-phase login flow. */
|
|
16013
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
16014
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
16015
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
16016
|
+
kind: literal("redirect"),
|
|
16017
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
16018
|
+
id: string(),
|
|
16019
|
+
/** Operator-facing button label. */
|
|
16020
|
+
label: string(),
|
|
16021
|
+
/** lucide-react icon name. */
|
|
16022
|
+
icon: string().optional(),
|
|
16023
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16024
|
+
startUrl: string(),
|
|
16025
|
+
stage: LoginStageEnum
|
|
16026
|
+
}), object({
|
|
16027
|
+
kind: literal("widget"),
|
|
16028
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
16029
|
+
id: string(),
|
|
16030
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
16031
|
+
addonId: string(),
|
|
16032
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
16033
|
+
bundle: string(),
|
|
16034
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
16035
|
+
remote: WidgetRemoteSchema,
|
|
16036
|
+
stage: LoginStageEnum
|
|
16037
|
+
})]);
|
|
16038
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16039
|
+
/**
|
|
15823
16040
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15824
16041
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15825
16042
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17940,7 +18157,17 @@ var TrackSchema = object({
|
|
|
17940
18157
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17941
18158
|
totalDistance: number(),
|
|
17942
18159
|
state: TrackStateSchema,
|
|
17943
|
-
active: boolean()
|
|
18160
|
+
active: boolean(),
|
|
18161
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18162
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18163
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18164
|
+
importance: number().optional(),
|
|
18165
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18166
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18167
|
+
bestEventId: string().optional(),
|
|
18168
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18169
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18170
|
+
importanceReason: string().optional()
|
|
17944
18171
|
});
|
|
17945
18172
|
var BaseEventFields = {
|
|
17946
18173
|
id: string(),
|
|
@@ -18005,8 +18232,18 @@ var ObjectEventSchema = object({
|
|
|
18005
18232
|
frameHeight: number().optional(),
|
|
18006
18233
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
18007
18234
|
mediaKey: string().optional(),
|
|
18235
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18236
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18237
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18238
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18239
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18240
|
+
keyFrameMediaKey: string().optional(),
|
|
18008
18241
|
/** Populated by B5 (recording playback URL for this event). */
|
|
18009
|
-
mediaUrl: string().optional()
|
|
18242
|
+
mediaUrl: string().optional(),
|
|
18243
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18244
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18245
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18246
|
+
importance: number().optional()
|
|
18010
18247
|
});
|
|
18011
18248
|
var AudioEventSchema = object({
|
|
18012
18249
|
...BaseEventFields,
|
|
@@ -18030,7 +18267,8 @@ var MediaFileKindEnum = _enum([
|
|
|
18030
18267
|
"fullFrame",
|
|
18031
18268
|
"fullFrameBoxed",
|
|
18032
18269
|
"faceCrop",
|
|
18033
|
-
"plateCrop"
|
|
18270
|
+
"plateCrop",
|
|
18271
|
+
"keyFrame"
|
|
18034
18272
|
]);
|
|
18035
18273
|
var MediaFileSchema = object({
|
|
18036
18274
|
key: string(),
|
|
@@ -18051,6 +18289,32 @@ var DeviceEventQueryInput = object({
|
|
|
18051
18289
|
projection: _enum(["full", "slim"]).optional()
|
|
18052
18290
|
});
|
|
18053
18291
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18292
|
+
var KeyEventQueryInput = object({
|
|
18293
|
+
deviceId: number(),
|
|
18294
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18295
|
+
since: number(),
|
|
18296
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18297
|
+
until: number(),
|
|
18298
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18299
|
+
/** Drop tracks scoring below this importance. */
|
|
18300
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18301
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18302
|
+
classFilter: string().optional()
|
|
18303
|
+
});
|
|
18304
|
+
var KeyEventSchema = object({
|
|
18305
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18306
|
+
id: string(),
|
|
18307
|
+
trackId: string(),
|
|
18308
|
+
/** Track start time (firstSeen). */
|
|
18309
|
+
timestamp: number(),
|
|
18310
|
+
className: string(),
|
|
18311
|
+
label: string().optional(),
|
|
18312
|
+
importance: number(),
|
|
18313
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18314
|
+
bestEventId: string(),
|
|
18315
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18316
|
+
windowMs: number().optional()
|
|
18317
|
+
});
|
|
18054
18318
|
var TrackedDetectionSchema = object({
|
|
18055
18319
|
trackId: string(),
|
|
18056
18320
|
className: string(),
|
|
@@ -18080,7 +18344,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18080
18344
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18081
18345
|
kind: "mutation",
|
|
18082
18346
|
auth: "admin"
|
|
18083
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18347
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18084
18348
|
deviceId: number(),
|
|
18085
18349
|
since: number(),
|
|
18086
18350
|
until: number(),
|
|
@@ -18125,11 +18389,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18125
18389
|
timestamp: number()
|
|
18126
18390
|
});
|
|
18127
18391
|
var CameraPipelineConfigSchema = object({
|
|
18128
|
-
engine: PipelineEngineChoiceSchema,
|
|
18392
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18129
18393
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18130
18394
|
audio: object({
|
|
18131
|
-
engine: PipelineEngineChoiceSchema,
|
|
18132
|
-
modelId: string(),
|
|
18395
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18396
|
+
modelId: string().optional(),
|
|
18133
18397
|
enabled: boolean(),
|
|
18134
18398
|
settings: record(string(), unknown()).readonly().optional()
|
|
18135
18399
|
}).nullable().optional()
|
|
@@ -18144,7 +18408,7 @@ var PipelineTemplateSchema = object({
|
|
|
18144
18408
|
});
|
|
18145
18409
|
var AgentAddonConfigSchema = object({
|
|
18146
18410
|
enabled: boolean(),
|
|
18147
|
-
modelId: string(),
|
|
18411
|
+
modelId: string().optional(),
|
|
18148
18412
|
settings: record(string(), unknown()).readonly()
|
|
18149
18413
|
});
|
|
18150
18414
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18154,12 +18418,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18154
18418
|
detectWeight: number().positive().optional(),
|
|
18155
18419
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18156
18420
|
detect: boolean().optional(),
|
|
18157
|
-
/**
|
|
18421
|
+
/**
|
|
18422
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18423
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18424
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18425
|
+
* parse — no code reads it and no write path emits it.
|
|
18426
|
+
*/
|
|
18158
18427
|
decode: boolean().optional(),
|
|
18159
18428
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18160
18429
|
audio: boolean().optional(),
|
|
18161
18430
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18162
|
-
ingest: boolean().optional()
|
|
18431
|
+
ingest: boolean().optional(),
|
|
18432
|
+
/**
|
|
18433
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18434
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18435
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18436
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18437
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18438
|
+
*/
|
|
18439
|
+
reachableHost: string().optional()
|
|
18163
18440
|
});
|
|
18164
18441
|
var CameraPipelineForAgentSchema = object({
|
|
18165
18442
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18207,25 +18484,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18207
18484
|
assignedAt: number()
|
|
18208
18485
|
});
|
|
18209
18486
|
/**
|
|
18210
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18211
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18212
|
-
* → co-located with pipeline → capacity).
|
|
18213
|
-
*/
|
|
18214
|
-
var DecoderAssignmentSchema = object({
|
|
18215
|
-
deviceId: number(),
|
|
18216
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18217
|
-
decoderNodeId: string(),
|
|
18218
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18219
|
-
pinned: boolean(),
|
|
18220
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18221
|
-
reason: _enum([
|
|
18222
|
-
"manual",
|
|
18223
|
-
"co-located",
|
|
18224
|
-
"capacity",
|
|
18225
|
-
"hardware-affinity"
|
|
18226
|
-
])
|
|
18227
|
-
});
|
|
18228
|
-
/**
|
|
18229
18487
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18230
18488
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18231
18489
|
*/
|
|
@@ -18265,6 +18523,15 @@ var GlobalMetricsSchema = object({
|
|
|
18265
18523
|
* capability providers.
|
|
18266
18524
|
*/
|
|
18267
18525
|
var CapabilityBindingsSchema = record(string(), string());
|
|
18526
|
+
/**
|
|
18527
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18528
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18529
|
+
*/
|
|
18530
|
+
var IngestOwnerSchema = object({
|
|
18531
|
+
ownerNodeId: string(),
|
|
18532
|
+
reachableHost: string().optional(),
|
|
18533
|
+
configIssue: string().optional()
|
|
18534
|
+
});
|
|
18268
18535
|
/** Source block — always present; derives from the stream catalog. */
|
|
18269
18536
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18270
18537
|
camStreamId: string(),
|
|
@@ -18279,6 +18546,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18279
18546
|
detectionNodeId: string().nullable(),
|
|
18280
18547
|
decoderNodeId: string().nullable(),
|
|
18281
18548
|
audioNodeId: string().nullable(),
|
|
18549
|
+
/**
|
|
18550
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18551
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18552
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18553
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18554
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18555
|
+
*/
|
|
18556
|
+
sourceNodeId: string().nullable(),
|
|
18282
18557
|
pinned: object({
|
|
18283
18558
|
detection: boolean(),
|
|
18284
18559
|
decoder: boolean(),
|
|
@@ -18411,16 +18686,7 @@ method(object({
|
|
|
18411
18686
|
}), object({ success: literal(true) }), {
|
|
18412
18687
|
kind: "mutation",
|
|
18413
18688
|
auth: "admin"
|
|
18414
|
-
}), method(object({
|
|
18415
|
-
deviceId: number(),
|
|
18416
|
-
nodeId: string()
|
|
18417
|
-
}), _void(), {
|
|
18418
|
-
kind: "mutation",
|
|
18419
|
-
auth: "admin"
|
|
18420
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18421
|
-
kind: "mutation",
|
|
18422
|
-
auth: "admin"
|
|
18423
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18689
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18424
18690
|
deviceId: number(),
|
|
18425
18691
|
nodeId: string()
|
|
18426
18692
|
}), object({ success: literal(true) }), {
|
|
@@ -18441,10 +18707,7 @@ method(object({
|
|
|
18441
18707
|
nodeId: string(),
|
|
18442
18708
|
pinned: boolean(),
|
|
18443
18709
|
assignedAt: number()
|
|
18444
|
-
}))), method(object({
|
|
18445
|
-
deviceId: number(),
|
|
18446
|
-
pipelineNodeId: string().optional()
|
|
18447
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18710
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18448
18711
|
nodeId: string(),
|
|
18449
18712
|
settings: AgentPipelineSettingsSchema
|
|
18450
18713
|
})).readonly()), method(object({
|
|
@@ -18474,12 +18737,26 @@ method(object({
|
|
|
18474
18737
|
}), method(object({
|
|
18475
18738
|
agentNodeId: string(),
|
|
18476
18739
|
detect: boolean().nullable().optional(),
|
|
18477
|
-
decode: boolean().nullable().optional(),
|
|
18478
18740
|
audio: boolean().nullable().optional(),
|
|
18479
18741
|
ingest: boolean().nullable().optional()
|
|
18480
18742
|
}), object({ success: literal(true) }), {
|
|
18481
18743
|
kind: "mutation",
|
|
18482
18744
|
auth: "admin"
|
|
18745
|
+
}), method(object({
|
|
18746
|
+
agentNodeId: string(),
|
|
18747
|
+
reachableHost: string().nullable()
|
|
18748
|
+
}), object({ success: literal(true) }), {
|
|
18749
|
+
kind: "mutation",
|
|
18750
|
+
auth: "admin"
|
|
18751
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18752
|
+
success: literal(true),
|
|
18753
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18754
|
+
effectiveModelId: string().nullable(),
|
|
18755
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18756
|
+
clearedCameraOverrides: number()
|
|
18757
|
+
}), {
|
|
18758
|
+
kind: "mutation",
|
|
18759
|
+
auth: "admin"
|
|
18483
18760
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18484
18761
|
deviceId: number(),
|
|
18485
18762
|
addonId: string(),
|
|
@@ -18524,22 +18801,131 @@ method(object({
|
|
|
18524
18801
|
kind: "mutation",
|
|
18525
18802
|
auth: "admin"
|
|
18526
18803
|
});
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
|
|
18804
|
+
/**
|
|
18805
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18806
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18807
|
+
* agents).
|
|
18808
|
+
*
|
|
18809
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18810
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18811
|
+
* version describes the node. Updates install into
|
|
18812
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18813
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18814
|
+
*
|
|
18815
|
+
* Providers:
|
|
18816
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18817
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18818
|
+
* unpinned calls.
|
|
18819
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18820
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18821
|
+
* `$hub.registerNode` manifest.
|
|
18822
|
+
*
|
|
18823
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18824
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18825
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18826
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18827
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18828
|
+
*
|
|
18829
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18830
|
+
*/
|
|
18831
|
+
/**
|
|
18832
|
+
* Where the running hub's code was loaded from:
|
|
18833
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18834
|
+
* plain resolution and runtime updates are refused.
|
|
18835
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18836
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18837
|
+
*/
|
|
18838
|
+
var ServerBootModeSchema = _enum([
|
|
18839
|
+
"workspace",
|
|
18840
|
+
"baked",
|
|
18841
|
+
"data-root"
|
|
18842
|
+
]);
|
|
18843
|
+
/**
|
|
18844
|
+
* Update lifecycle state:
|
|
18845
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18846
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18847
|
+
* restarted onto it (still running the OLD version).
|
|
18848
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18849
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18850
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18851
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18852
|
+
*/
|
|
18853
|
+
var ServerUpdateStateSchema = _enum([
|
|
18854
|
+
"idle",
|
|
18855
|
+
"checking",
|
|
18856
|
+
"staging",
|
|
18857
|
+
"pending-restart",
|
|
18858
|
+
"awaiting-confirmation"
|
|
18859
|
+
]);
|
|
18860
|
+
var ServerRollbackInfoSchema = object({
|
|
18861
|
+
/** The version that failed (or was manually rolled back). */
|
|
18862
|
+
fromVersion: string(),
|
|
18863
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18864
|
+
toVersion: string().nullable(),
|
|
18865
|
+
atMs: number(),
|
|
18866
|
+
reason: string()
|
|
18533
18867
|
});
|
|
18534
|
-
var
|
|
18535
|
-
|
|
18536
|
-
|
|
18537
|
-
|
|
18868
|
+
var ServerPackageStatusSchema = object({
|
|
18869
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18870
|
+
packageName: string(),
|
|
18871
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18872
|
+
runningVersion: string().nullable(),
|
|
18873
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18874
|
+
nodeRuntimeVersion: string().nullable(),
|
|
18875
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18876
|
+
activeVersion: string().nullable(),
|
|
18877
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18878
|
+
previousVersion: string().nullable(),
|
|
18879
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18880
|
+
seedVersion: string().nullable(),
|
|
18881
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18882
|
+
latestVersion: string().nullable(),
|
|
18883
|
+
updateAvailable: boolean(),
|
|
18884
|
+
bootMode: ServerBootModeSchema,
|
|
18885
|
+
updateState: ServerUpdateStateSchema,
|
|
18886
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18887
|
+
pendingVersion: string().nullable(),
|
|
18888
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18889
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18890
|
+
/**
|
|
18891
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18892
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18893
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18894
|
+
*/
|
|
18895
|
+
stateFileCorrupt: boolean(),
|
|
18896
|
+
lastCheckedAtMs: number().nullable()
|
|
18897
|
+
});
|
|
18898
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18899
|
+
packageName: string(),
|
|
18900
|
+
runningVersion: string().nullable(),
|
|
18901
|
+
latestVersion: string().nullable(),
|
|
18902
|
+
updateAvailable: boolean(),
|
|
18903
|
+
checkedAtMs: number(),
|
|
18904
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18905
|
+
error: string().nullable()
|
|
18906
|
+
});
|
|
18907
|
+
var ServerUpdateActionResultSchema = object({
|
|
18908
|
+
accepted: boolean(),
|
|
18909
|
+
targetVersion: string().nullable(),
|
|
18910
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18911
|
+
restarting: boolean(),
|
|
18912
|
+
message: string()
|
|
18913
|
+
});
|
|
18914
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18915
|
+
kind: "mutation",
|
|
18916
|
+
auth: "admin"
|
|
18917
|
+
}), method(object({
|
|
18918
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18919
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
18920
|
+
kind: "mutation",
|
|
18921
|
+
auth: "admin"
|
|
18922
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18923
|
+
kind: "mutation",
|
|
18924
|
+
auth: "admin"
|
|
18925
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18926
|
+
kind: "mutation",
|
|
18927
|
+
auth: "admin"
|
|
18538
18928
|
});
|
|
18539
|
-
method(object({
|
|
18540
|
-
deviceId: number(),
|
|
18541
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18542
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18543
18929
|
/**
|
|
18544
18930
|
* Query filter for settings-store collections.
|
|
18545
18931
|
*/
|
|
@@ -18692,9 +19078,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18692
19078
|
/**
|
|
18693
19079
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18694
19080
|
*
|
|
18695
|
-
*
|
|
18696
|
-
*
|
|
18697
|
-
*
|
|
19081
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19082
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19083
|
+
* prebuffer fallback.
|
|
18698
19084
|
*/
|
|
18699
19085
|
var SnapshotImageSchema = object({
|
|
18700
19086
|
base64: string(),
|
|
@@ -18725,11 +19111,12 @@ DeviceType.Camera, method(object({
|
|
|
18725
19111
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18726
19112
|
kind: "mutation",
|
|
18727
19113
|
auth: "admin"
|
|
18728
|
-
})
|
|
18729
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
19114
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
18730
19115
|
deviceId: number(),
|
|
18731
|
-
|
|
18732
|
-
|
|
19116
|
+
lastCapturedAt: number().nullable(),
|
|
19117
|
+
cacheAgeMs: number().nullable(),
|
|
19118
|
+
etag: string().nullable()
|
|
19119
|
+
})));
|
|
18733
19120
|
/**
|
|
18734
19121
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18735
19122
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -18980,10 +19367,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
18980
19367
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
18981
19368
|
* the assertion, bumps the credential counter, returns ok.
|
|
18982
19369
|
*
|
|
19370
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19371
|
+
* passkey IS the primary factor, no password leg:
|
|
19372
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19373
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19374
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19375
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19376
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19377
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19378
|
+
* resolves the credential by the response's credential id,
|
|
19379
|
+
* verifies the assertion against the stored challenge + that
|
|
19380
|
+
* credential's public key/counter, and returns the OWNING
|
|
19381
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19382
|
+
*
|
|
18983
19383
|
* 3. Management:
|
|
18984
19384
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
18985
19385
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
18986
19386
|
*
|
|
19387
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19388
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19389
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19390
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19391
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19392
|
+
* row ⇒ `enabled: false`).
|
|
19393
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19394
|
+
* the providing addon beside its credentials.
|
|
19395
|
+
*
|
|
18987
19396
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
18988
19397
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
18989
19398
|
* the cap to non-admins.
|
|
@@ -19026,6 +19435,17 @@ method(object({
|
|
|
19026
19435
|
}), object({ verified: boolean() }), {
|
|
19027
19436
|
kind: "mutation",
|
|
19028
19437
|
access: "view"
|
|
19438
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19439
|
+
kind: "mutation",
|
|
19440
|
+
access: "view"
|
|
19441
|
+
}), method(object({
|
|
19442
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19443
|
+
response: record(string(), unknown()) }), object({
|
|
19444
|
+
verified: boolean(),
|
|
19445
|
+
userId: string().nullable()
|
|
19446
|
+
}), {
|
|
19447
|
+
kind: "mutation",
|
|
19448
|
+
access: "view"
|
|
19029
19449
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
19030
19450
|
userId: string(),
|
|
19031
19451
|
credentialId: string()
|
|
@@ -19033,6 +19453,13 @@ method(object({
|
|
|
19033
19453
|
kind: "mutation",
|
|
19034
19454
|
auth: "admin",
|
|
19035
19455
|
access: "delete"
|
|
19456
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19457
|
+
userId: string(),
|
|
19458
|
+
enabled: boolean()
|
|
19459
|
+
}), object({ success: literal(true) }), {
|
|
19460
|
+
kind: "mutation",
|
|
19461
|
+
auth: "admin",
|
|
19462
|
+
access: "create"
|
|
19036
19463
|
});
|
|
19037
19464
|
/**
|
|
19038
19465
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19090,9 +19517,10 @@ method(object({
|
|
|
19090
19517
|
auth: "admin"
|
|
19091
19518
|
});
|
|
19092
19519
|
/**
|
|
19093
|
-
* Optional client-side hints sent at session creation to help the
|
|
19094
|
-
*
|
|
19095
|
-
*
|
|
19520
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19521
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19522
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19523
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19096
19524
|
*/
|
|
19097
19525
|
var webrtcClientHintsSchema = object({
|
|
19098
19526
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19103,22 +19531,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19103
19531
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19104
19532
|
prefersTier: string().optional()
|
|
19105
19533
|
}).partial();
|
|
19106
|
-
method(object({
|
|
19107
|
-
streamId: string(),
|
|
19108
|
-
sdpOffer: string()
|
|
19109
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
19110
|
-
streamId: string(),
|
|
19111
|
-
codec: string()
|
|
19112
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
19113
|
-
streamId: string(),
|
|
19114
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19115
|
-
}), object({
|
|
19116
|
-
sessionId: string(),
|
|
19117
|
-
sdpOffer: string()
|
|
19118
|
-
}), { kind: "mutation" }), method(object({
|
|
19119
|
-
sessionId: string(),
|
|
19120
|
-
sdpAnswer: string()
|
|
19121
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
19122
19534
|
/**
|
|
19123
19535
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19124
19536
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19866,7 +20278,17 @@ var FaceInfoSchema = object({
|
|
|
19866
20278
|
recognizedIdentityId: string().optional(),
|
|
19867
20279
|
identityName: string().optional(),
|
|
19868
20280
|
assigned: boolean(),
|
|
19869
|
-
base64: string().optional()
|
|
20281
|
+
base64: string().optional(),
|
|
20282
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20283
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20284
|
+
* legacy rows written before design B. */
|
|
20285
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20286
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20287
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20288
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20289
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20290
|
+
* back to the inline `base64` face crop. */
|
|
20291
|
+
keyFrameMediaKey: string().optional()
|
|
19870
20292
|
});
|
|
19871
20293
|
var FaceFilterEnum = _enum([
|
|
19872
20294
|
"unassigned",
|
|
@@ -20563,6 +20985,16 @@ var TopologyCategorySchema = object({
|
|
|
20563
20985
|
healthy: number(),
|
|
20564
20986
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20565
20987
|
});
|
|
20988
|
+
/**
|
|
20989
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
20990
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
20991
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
20992
|
+
* rows and pre-phase-2 nodes report none.
|
|
20993
|
+
*/
|
|
20994
|
+
var TopologyRootPackageSchema = object({
|
|
20995
|
+
name: string(),
|
|
20996
|
+
version: string()
|
|
20997
|
+
});
|
|
20566
20998
|
var TopologyNodeSchema = object({
|
|
20567
20999
|
id: string(),
|
|
20568
21000
|
name: string(),
|
|
@@ -20586,7 +21018,8 @@ var TopologyNodeSchema = object({
|
|
|
20586
21018
|
status: string()
|
|
20587
21019
|
})).readonly(),
|
|
20588
21020
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20589
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
21021
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
21022
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20590
21023
|
});
|
|
20591
21024
|
var CapUsageEdgeSchema = object({
|
|
20592
21025
|
callerAddonId: string(),
|
|
@@ -23386,6 +23819,12 @@ Object.freeze({
|
|
|
23386
23819
|
addonId: null,
|
|
23387
23820
|
access: "create"
|
|
23388
23821
|
},
|
|
23822
|
+
"loginMethod.getLoginMethods": {
|
|
23823
|
+
capName: "login-method",
|
|
23824
|
+
capScope: "system",
|
|
23825
|
+
addonId: null,
|
|
23826
|
+
access: "view"
|
|
23827
|
+
},
|
|
23389
23828
|
"mediaPlayer.next": {
|
|
23390
23829
|
capName: "media-player",
|
|
23391
23830
|
capScope: "device",
|
|
@@ -23968,6 +24407,12 @@ Object.freeze({
|
|
|
23968
24407
|
addonId: null,
|
|
23969
24408
|
access: "view"
|
|
23970
24409
|
},
|
|
24410
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24411
|
+
capName: "pipeline-analytics",
|
|
24412
|
+
capScope: "device",
|
|
24413
|
+
addonId: null,
|
|
24414
|
+
access: "view"
|
|
24415
|
+
},
|
|
23971
24416
|
"pipelineAnalytics.getMotionEvents": {
|
|
23972
24417
|
capName: "pipeline-analytics",
|
|
23973
24418
|
capScope: "device",
|
|
@@ -24016,23 +24461,23 @@ Object.freeze({
|
|
|
24016
24461
|
addonId: null,
|
|
24017
24462
|
access: "create"
|
|
24018
24463
|
},
|
|
24019
|
-
"pipelineExecutor.
|
|
24464
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
24020
24465
|
capName: "pipeline-executor",
|
|
24021
24466
|
capScope: "system",
|
|
24022
24467
|
addonId: null,
|
|
24023
24468
|
access: "delete"
|
|
24024
24469
|
},
|
|
24025
|
-
"pipelineExecutor.
|
|
24470
|
+
"pipelineExecutor.deleteModel": {
|
|
24026
24471
|
capName: "pipeline-executor",
|
|
24027
24472
|
capScope: "system",
|
|
24028
24473
|
addonId: null,
|
|
24029
24474
|
access: "delete"
|
|
24030
24475
|
},
|
|
24031
|
-
"pipelineExecutor.
|
|
24476
|
+
"pipelineExecutor.deleteTemplate": {
|
|
24032
24477
|
capName: "pipeline-executor",
|
|
24033
24478
|
capScope: "system",
|
|
24034
24479
|
addonId: null,
|
|
24035
|
-
access: "
|
|
24480
|
+
access: "delete"
|
|
24036
24481
|
},
|
|
24037
24482
|
"pipelineExecutor.downloadModel": {
|
|
24038
24483
|
capName: "pipeline-executor",
|
|
@@ -24226,13 +24671,13 @@ Object.freeze({
|
|
|
24226
24671
|
addonId: null,
|
|
24227
24672
|
access: "create"
|
|
24228
24673
|
},
|
|
24229
|
-
"
|
|
24230
|
-
capName: "pipeline-
|
|
24674
|
+
"pipelineExecutor.validatePipeline": {
|
|
24675
|
+
capName: "pipeline-executor",
|
|
24231
24676
|
capScope: "system",
|
|
24232
24677
|
addonId: null,
|
|
24233
|
-
access: "
|
|
24678
|
+
access: "view"
|
|
24234
24679
|
},
|
|
24235
|
-
"pipelineOrchestrator.
|
|
24680
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24236
24681
|
capName: "pipeline-orchestrator",
|
|
24237
24682
|
capScope: "system",
|
|
24238
24683
|
addonId: null,
|
|
@@ -24316,19 +24761,13 @@ Object.freeze({
|
|
|
24316
24761
|
addonId: null,
|
|
24317
24762
|
access: "view"
|
|
24318
24763
|
},
|
|
24319
|
-
"pipelineOrchestrator.
|
|
24320
|
-
capName: "pipeline-orchestrator",
|
|
24321
|
-
capScope: "system",
|
|
24322
|
-
addonId: null,
|
|
24323
|
-
access: "view"
|
|
24324
|
-
},
|
|
24325
|
-
"pipelineOrchestrator.getDecoderAssignments": {
|
|
24764
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24326
24765
|
capName: "pipeline-orchestrator",
|
|
24327
24766
|
capScope: "system",
|
|
24328
24767
|
addonId: null,
|
|
24329
24768
|
access: "view"
|
|
24330
24769
|
},
|
|
24331
|
-
"pipelineOrchestrator.
|
|
24770
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24332
24771
|
capName: "pipeline-orchestrator",
|
|
24333
24772
|
capScope: "system",
|
|
24334
24773
|
addonId: null,
|
|
@@ -24370,6 +24809,12 @@ Object.freeze({
|
|
|
24370
24809
|
addonId: null,
|
|
24371
24810
|
access: "delete"
|
|
24372
24811
|
},
|
|
24812
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24813
|
+
capName: "pipeline-orchestrator",
|
|
24814
|
+
capScope: "system",
|
|
24815
|
+
addonId: null,
|
|
24816
|
+
access: "delete"
|
|
24817
|
+
},
|
|
24373
24818
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24374
24819
|
capName: "pipeline-orchestrator",
|
|
24375
24820
|
capScope: "system",
|
|
@@ -24406,37 +24851,37 @@ Object.freeze({
|
|
|
24406
24851
|
addonId: null,
|
|
24407
24852
|
access: "create"
|
|
24408
24853
|
},
|
|
24409
|
-
"pipelineOrchestrator.
|
|
24854
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24410
24855
|
capName: "pipeline-orchestrator",
|
|
24411
24856
|
capScope: "system",
|
|
24412
24857
|
addonId: null,
|
|
24413
24858
|
access: "create"
|
|
24414
24859
|
},
|
|
24415
|
-
"pipelineOrchestrator.
|
|
24860
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24416
24861
|
capName: "pipeline-orchestrator",
|
|
24417
24862
|
capScope: "system",
|
|
24418
24863
|
addonId: null,
|
|
24419
24864
|
access: "create"
|
|
24420
24865
|
},
|
|
24421
|
-
"pipelineOrchestrator.
|
|
24866
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24422
24867
|
capName: "pipeline-orchestrator",
|
|
24423
24868
|
capScope: "system",
|
|
24424
24869
|
addonId: null,
|
|
24425
24870
|
access: "create"
|
|
24426
24871
|
},
|
|
24427
|
-
"pipelineOrchestrator.
|
|
24872
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24428
24873
|
capName: "pipeline-orchestrator",
|
|
24429
24874
|
capScope: "system",
|
|
24430
24875
|
addonId: null,
|
|
24431
24876
|
access: "create"
|
|
24432
24877
|
},
|
|
24433
|
-
"pipelineOrchestrator.
|
|
24878
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24434
24879
|
capName: "pipeline-orchestrator",
|
|
24435
24880
|
capScope: "system",
|
|
24436
24881
|
addonId: null,
|
|
24437
24882
|
access: "create"
|
|
24438
24883
|
},
|
|
24439
|
-
"pipelineOrchestrator.
|
|
24884
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24440
24885
|
capName: "pipeline-orchestrator",
|
|
24441
24886
|
capScope: "system",
|
|
24442
24887
|
addonId: null,
|
|
@@ -24496,12 +24941,24 @@ Object.freeze({
|
|
|
24496
24941
|
addonId: null,
|
|
24497
24942
|
access: "view"
|
|
24498
24943
|
},
|
|
24944
|
+
"pipelineRunner.getNativeCrop": {
|
|
24945
|
+
capName: "pipeline-runner",
|
|
24946
|
+
capScope: "system",
|
|
24947
|
+
addonId: null,
|
|
24948
|
+
access: "view"
|
|
24949
|
+
},
|
|
24499
24950
|
"pipelineRunner.reportMotion": {
|
|
24500
24951
|
capName: "pipeline-runner",
|
|
24501
24952
|
capScope: "system",
|
|
24502
24953
|
addonId: null,
|
|
24503
24954
|
access: "create"
|
|
24504
24955
|
},
|
|
24956
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24957
|
+
capName: "pipeline-runner",
|
|
24958
|
+
capScope: "system",
|
|
24959
|
+
addonId: null,
|
|
24960
|
+
access: "create"
|
|
24961
|
+
},
|
|
24505
24962
|
"plateGallery.correctPlateText": {
|
|
24506
24963
|
capName: "plate-gallery",
|
|
24507
24964
|
capScope: "system",
|
|
@@ -24736,33 +25193,45 @@ Object.freeze({
|
|
|
24736
25193
|
addonId: null,
|
|
24737
25194
|
access: "create"
|
|
24738
25195
|
},
|
|
24739
|
-
"
|
|
24740
|
-
capName: "
|
|
25196
|
+
"scriptRunner.run": {
|
|
25197
|
+
capName: "script-runner",
|
|
25198
|
+
capScope: "device",
|
|
25199
|
+
addonId: null,
|
|
25200
|
+
access: "create"
|
|
25201
|
+
},
|
|
25202
|
+
"scriptRunner.stop": {
|
|
25203
|
+
capName: "script-runner",
|
|
25204
|
+
capScope: "device",
|
|
25205
|
+
addonId: null,
|
|
25206
|
+
access: "create"
|
|
25207
|
+
},
|
|
25208
|
+
"serverManagement.applyServerUpdate": {
|
|
25209
|
+
capName: "server-management",
|
|
24741
25210
|
capScope: "system",
|
|
24742
25211
|
addonId: null,
|
|
24743
|
-
access: "
|
|
25212
|
+
access: "create"
|
|
24744
25213
|
},
|
|
24745
|
-
"
|
|
24746
|
-
capName: "
|
|
25214
|
+
"serverManagement.checkServerUpdate": {
|
|
25215
|
+
capName: "server-management",
|
|
24747
25216
|
capScope: "system",
|
|
24748
25217
|
addonId: null,
|
|
24749
25218
|
access: "create"
|
|
24750
25219
|
},
|
|
24751
|
-
"
|
|
24752
|
-
capName: "
|
|
25220
|
+
"serverManagement.getServerPackageStatus": {
|
|
25221
|
+
capName: "server-management",
|
|
24753
25222
|
capScope: "system",
|
|
24754
25223
|
addonId: null,
|
|
24755
|
-
access: "
|
|
25224
|
+
access: "view"
|
|
24756
25225
|
},
|
|
24757
|
-
"
|
|
24758
|
-
capName: "
|
|
24759
|
-
capScope: "
|
|
25226
|
+
"serverManagement.restartServer": {
|
|
25227
|
+
capName: "server-management",
|
|
25228
|
+
capScope: "system",
|
|
24760
25229
|
addonId: null,
|
|
24761
25230
|
access: "create"
|
|
24762
25231
|
},
|
|
24763
|
-
"
|
|
24764
|
-
capName: "
|
|
24765
|
-
capScope: "
|
|
25232
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25233
|
+
capName: "server-management",
|
|
25234
|
+
capScope: "system",
|
|
24766
25235
|
addonId: null,
|
|
24767
25236
|
access: "create"
|
|
24768
25237
|
},
|
|
@@ -24850,23 +25319,17 @@ Object.freeze({
|
|
|
24850
25319
|
addonId: null,
|
|
24851
25320
|
access: "view"
|
|
24852
25321
|
},
|
|
24853
|
-
"snapshot.
|
|
25322
|
+
"snapshot.getSnapshotOverview": {
|
|
24854
25323
|
capName: "snapshot",
|
|
24855
25324
|
capScope: "device",
|
|
24856
25325
|
addonId: null,
|
|
24857
|
-
access: "create"
|
|
24858
|
-
},
|
|
24859
|
-
"snapshotProvider.getSnapshot": {
|
|
24860
|
-
capName: "snapshot-provider",
|
|
24861
|
-
capScope: "system",
|
|
24862
|
-
addonId: null,
|
|
24863
25326
|
access: "view"
|
|
24864
25327
|
},
|
|
24865
|
-
"
|
|
24866
|
-
capName: "snapshot
|
|
24867
|
-
capScope: "
|
|
25328
|
+
"snapshot.invalidateCache": {
|
|
25329
|
+
capName: "snapshot",
|
|
25330
|
+
capScope: "device",
|
|
24868
25331
|
addonId: null,
|
|
24869
|
-
access: "
|
|
25332
|
+
access: "create"
|
|
24870
25333
|
},
|
|
24871
25334
|
"ssoBridge.signBridgeToken": {
|
|
24872
25335
|
capName: "sso-bridge",
|
|
@@ -25294,30 +25757,6 @@ Object.freeze({
|
|
|
25294
25757
|
addonId: null,
|
|
25295
25758
|
access: "view"
|
|
25296
25759
|
},
|
|
25297
|
-
"streamingEngine.getStreamUrl": {
|
|
25298
|
-
capName: "streaming-engine",
|
|
25299
|
-
capScope: "system",
|
|
25300
|
-
addonId: null,
|
|
25301
|
-
access: "view"
|
|
25302
|
-
},
|
|
25303
|
-
"streamingEngine.listStreams": {
|
|
25304
|
-
capName: "streaming-engine",
|
|
25305
|
-
capScope: "system",
|
|
25306
|
-
addonId: null,
|
|
25307
|
-
access: "view"
|
|
25308
|
-
},
|
|
25309
|
-
"streamingEngine.registerStream": {
|
|
25310
|
-
capName: "streaming-engine",
|
|
25311
|
-
capScope: "system",
|
|
25312
|
-
addonId: null,
|
|
25313
|
-
access: "create"
|
|
25314
|
-
},
|
|
25315
|
-
"streamingEngine.unregisterStream": {
|
|
25316
|
-
capName: "streaming-engine",
|
|
25317
|
-
capScope: "system",
|
|
25318
|
-
addonId: null,
|
|
25319
|
-
access: "delete"
|
|
25320
|
-
},
|
|
25321
25760
|
"streamParams.getConfigSchema": {
|
|
25322
25761
|
capName: "stream-params",
|
|
25323
25762
|
capScope: "device",
|
|
@@ -25564,6 +26003,12 @@ Object.freeze({
|
|
|
25564
26003
|
addonId: null,
|
|
25565
26004
|
access: "view"
|
|
25566
26005
|
},
|
|
26006
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
26007
|
+
capName: "user-passkeys",
|
|
26008
|
+
capScope: "system",
|
|
26009
|
+
addonId: null,
|
|
26010
|
+
access: "view"
|
|
26011
|
+
},
|
|
25567
26012
|
"userPasskeys.beginRegistration": {
|
|
25568
26013
|
capName: "user-passkeys",
|
|
25569
26014
|
capScope: "system",
|
|
@@ -25576,12 +26021,24 @@ Object.freeze({
|
|
|
25576
26021
|
addonId: null,
|
|
25577
26022
|
access: "view"
|
|
25578
26023
|
},
|
|
26024
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
26025
|
+
capName: "user-passkeys",
|
|
26026
|
+
capScope: "system",
|
|
26027
|
+
addonId: null,
|
|
26028
|
+
access: "view"
|
|
26029
|
+
},
|
|
25579
26030
|
"userPasskeys.finishRegistration": {
|
|
25580
26031
|
capName: "user-passkeys",
|
|
25581
26032
|
capScope: "system",
|
|
25582
26033
|
addonId: null,
|
|
25583
26034
|
access: "create"
|
|
25584
26035
|
},
|
|
26036
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
26037
|
+
capName: "user-passkeys",
|
|
26038
|
+
capScope: "system",
|
|
26039
|
+
addonId: null,
|
|
26040
|
+
access: "view"
|
|
26041
|
+
},
|
|
25585
26042
|
"userPasskeys.listPasskeys": {
|
|
25586
26043
|
capName: "user-passkeys",
|
|
25587
26044
|
capScope: "system",
|
|
@@ -25594,6 +26051,12 @@ Object.freeze({
|
|
|
25594
26051
|
addonId: null,
|
|
25595
26052
|
access: "delete"
|
|
25596
26053
|
},
|
|
26054
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26055
|
+
capName: "user-passkeys",
|
|
26056
|
+
capScope: "system",
|
|
26057
|
+
addonId: null,
|
|
26058
|
+
access: "create"
|
|
26059
|
+
},
|
|
25597
26060
|
"vacuumControl.locate": {
|
|
25598
26061
|
capName: "vacuum-control",
|
|
25599
26062
|
capScope: "device",
|
|
@@ -25666,6 +26129,18 @@ Object.freeze({
|
|
|
25666
26129
|
addonId: null,
|
|
25667
26130
|
access: "view"
|
|
25668
26131
|
},
|
|
26132
|
+
"viewerUi.getStaticDir": {
|
|
26133
|
+
capName: "viewer-ui",
|
|
26134
|
+
capScope: "system",
|
|
26135
|
+
addonId: null,
|
|
26136
|
+
access: "view"
|
|
26137
|
+
},
|
|
26138
|
+
"viewerUi.getVersion": {
|
|
26139
|
+
capName: "viewer-ui",
|
|
26140
|
+
capScope: "system",
|
|
26141
|
+
addonId: null,
|
|
26142
|
+
access: "view"
|
|
26143
|
+
},
|
|
25669
26144
|
"waterHeater.setAway": {
|
|
25670
26145
|
capName: "water-heater",
|
|
25671
26146
|
capScope: "device",
|
|
@@ -25684,54 +26159,6 @@ Object.freeze({
|
|
|
25684
26159
|
addonId: null,
|
|
25685
26160
|
access: "create"
|
|
25686
26161
|
},
|
|
25687
|
-
"webrtc.closeSession": {
|
|
25688
|
-
capName: "webrtc",
|
|
25689
|
-
capScope: "system",
|
|
25690
|
-
addonId: null,
|
|
25691
|
-
access: "create"
|
|
25692
|
-
},
|
|
25693
|
-
"webrtc.createSession": {
|
|
25694
|
-
capName: "webrtc",
|
|
25695
|
-
capScope: "system",
|
|
25696
|
-
addonId: null,
|
|
25697
|
-
access: "create"
|
|
25698
|
-
},
|
|
25699
|
-
"webrtc.handleAnswer": {
|
|
25700
|
-
capName: "webrtc",
|
|
25701
|
-
capScope: "system",
|
|
25702
|
-
addonId: null,
|
|
25703
|
-
access: "create"
|
|
25704
|
-
},
|
|
25705
|
-
"webrtc.handleOffer": {
|
|
25706
|
-
capName: "webrtc",
|
|
25707
|
-
capScope: "system",
|
|
25708
|
-
addonId: null,
|
|
25709
|
-
access: "create"
|
|
25710
|
-
},
|
|
25711
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25712
|
-
capName: "webrtc",
|
|
25713
|
-
capScope: "system",
|
|
25714
|
-
addonId: null,
|
|
25715
|
-
access: "view"
|
|
25716
|
-
},
|
|
25717
|
-
"webrtc.registerStream": {
|
|
25718
|
-
capName: "webrtc",
|
|
25719
|
-
capScope: "system",
|
|
25720
|
-
addonId: null,
|
|
25721
|
-
access: "create"
|
|
25722
|
-
},
|
|
25723
|
-
"webrtc.supportsStream": {
|
|
25724
|
-
capName: "webrtc",
|
|
25725
|
-
capScope: "system",
|
|
25726
|
-
addonId: null,
|
|
25727
|
-
access: "view"
|
|
25728
|
-
},
|
|
25729
|
-
"webrtc.unregisterStream": {
|
|
25730
|
-
capName: "webrtc",
|
|
25731
|
-
capScope: "system",
|
|
25732
|
-
addonId: null,
|
|
25733
|
-
access: "delete"
|
|
25734
|
-
},
|
|
25735
26162
|
"webrtcSession.addIceCandidate": {
|
|
25736
26163
|
capName: "webrtc-session",
|
|
25737
26164
|
capScope: "device",
|