@camstack/addon-provider-dreo 0.1.15 → 0.1.17
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.mjs
CHANGED
|
@@ -4665,7 +4665,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4665
4665
|
return inst;
|
|
4666
4666
|
}
|
|
4667
4667
|
//#endregion
|
|
4668
|
-
//#region ../types/dist/sleep-
|
|
4668
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4669
4669
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4670
4670
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4671
4671
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4851,6 +4851,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4851
4851
|
*/
|
|
4852
4852
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4853
4853
|
/**
|
|
4854
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4855
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4856
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4857
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4858
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4859
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4860
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4861
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4862
|
+
* broker's long backstop reconcile query).
|
|
4863
|
+
*/
|
|
4864
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4865
|
+
/**
|
|
4854
4866
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4855
4867
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4856
4868
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5374,10 +5386,6 @@ function hydrateField(field, values) {
|
|
|
5374
5386
|
};
|
|
5375
5387
|
}
|
|
5376
5388
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5377
|
-
if (field.type === "password") return {
|
|
5378
|
-
...field,
|
|
5379
|
-
value: ""
|
|
5380
|
-
};
|
|
5381
5389
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5382
5390
|
return {
|
|
5383
5391
|
...field,
|
|
@@ -6761,10 +6769,25 @@ function method(input, output, options) {
|
|
|
6761
6769
|
timeoutMs: options?.timeoutMs
|
|
6762
6770
|
};
|
|
6763
6771
|
}
|
|
6772
|
+
/**
|
|
6773
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6774
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6775
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6776
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6777
|
+
*/
|
|
6778
|
+
function systemMethod(input, output, options) {
|
|
6779
|
+
return {
|
|
6780
|
+
...method(input, output, options),
|
|
6781
|
+
systemOnly: true
|
|
6782
|
+
};
|
|
6783
|
+
}
|
|
6764
6784
|
/** Shorthand to define an event schema */
|
|
6765
6785
|
function event(data) {
|
|
6766
6786
|
return { data };
|
|
6767
6787
|
}
|
|
6788
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6789
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6790
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6768
6791
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6769
6792
|
var VersionOutputSchema = object({ version: string() });
|
|
6770
6793
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6946,6 +6969,36 @@ var ModelFormatsSchema = object({
|
|
|
6946
6969
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6947
6970
|
pt: ModelFormatEntrySchema.optional()
|
|
6948
6971
|
});
|
|
6972
|
+
/**
|
|
6973
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6974
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6975
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6976
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6977
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6978
|
+
* to an `id`.
|
|
6979
|
+
*/
|
|
6980
|
+
var ModelVariantGroupSchema = object({
|
|
6981
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6982
|
+
family: string(),
|
|
6983
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6984
|
+
tier: string(),
|
|
6985
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6986
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6987
|
+
/**
|
|
6988
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6989
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6990
|
+
* future performance variants plug into.
|
|
6991
|
+
*/
|
|
6992
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6993
|
+
/**
|
|
6994
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6995
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6996
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6997
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6998
|
+
* the group so the selector can offer it as a variant axis.
|
|
6999
|
+
*/
|
|
7000
|
+
resolution: number().int().positive().optional()
|
|
7001
|
+
});
|
|
6949
7002
|
var ModelCatalogEntrySchema = object({
|
|
6950
7003
|
id: string(),
|
|
6951
7004
|
name: string(),
|
|
@@ -6975,7 +7028,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6975
7028
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6976
7029
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6977
7030
|
*/
|
|
6978
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7031
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7032
|
+
/**
|
|
7033
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7034
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7035
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7036
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7037
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7038
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7039
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7040
|
+
*/
|
|
7041
|
+
legacy: boolean().optional(),
|
|
7042
|
+
/**
|
|
7043
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7044
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7045
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7046
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7047
|
+
*/
|
|
7048
|
+
metrics: object({
|
|
7049
|
+
map50: number().optional(),
|
|
7050
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7051
|
+
}).optional(),
|
|
7052
|
+
/**
|
|
7053
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7054
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7055
|
+
* the retraining addon and any future commercial distribution.
|
|
7056
|
+
*/
|
|
7057
|
+
license: string().optional(),
|
|
7058
|
+
/**
|
|
7059
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7060
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7061
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7062
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7063
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7064
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7065
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7066
|
+
*/
|
|
7067
|
+
group: ModelVariantGroupSchema.optional()
|
|
6979
7068
|
});
|
|
6980
7069
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6981
7070
|
format: literal("openvino"),
|
|
@@ -7036,8 +7125,8 @@ var RecordingModeSchema = _enum([
|
|
|
7036
7125
|
"onAudioThreshold"
|
|
7037
7126
|
]);
|
|
7038
7127
|
/**
|
|
7039
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7040
|
-
* reads directly (never inferred from `rules`):
|
|
7128
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7129
|
+
* UI reads directly (never inferred from `rules`):
|
|
7041
7130
|
* - `off` — not recording.
|
|
7042
7131
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7043
7132
|
* with pre/post-buffer.
|
|
@@ -9200,26 +9289,13 @@ onBrightnessChanged: { data: object({
|
|
|
9200
9289
|
*/
|
|
9201
9290
|
runtimeState: BrightnessStatusSchema
|
|
9202
9291
|
};
|
|
9292
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9203
9293
|
var StreamFormatSchema = _enum([
|
|
9204
9294
|
"webrtc",
|
|
9205
9295
|
"hls",
|
|
9206
9296
|
"mjpeg",
|
|
9207
9297
|
"rtsp"
|
|
9208
9298
|
]);
|
|
9209
|
-
var StreamInfoSchema = object({
|
|
9210
|
-
streamId: string(),
|
|
9211
|
-
format: StreamFormatSchema,
|
|
9212
|
-
url: string().nullable(),
|
|
9213
|
-
active: boolean()
|
|
9214
|
-
});
|
|
9215
|
-
method(object({
|
|
9216
|
-
streamId: string(),
|
|
9217
|
-
sourceUrl: string(),
|
|
9218
|
-
codec: string().optional()
|
|
9219
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
9220
|
-
streamId: string(),
|
|
9221
|
-
format: StreamFormatSchema
|
|
9222
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9223
9299
|
var RtspRestreamEntrySchema = object({
|
|
9224
9300
|
brokerId: string(),
|
|
9225
9301
|
url: string(),
|
|
@@ -10087,37 +10163,7 @@ var consumablesCapability = {
|
|
|
10087
10163
|
scope: "device",
|
|
10088
10164
|
deviceNative: true,
|
|
10089
10165
|
mode: "singleton",
|
|
10090
|
-
deviceTypes:
|
|
10091
|
-
DeviceType.Camera,
|
|
10092
|
-
DeviceType.Hub,
|
|
10093
|
-
DeviceType.Light,
|
|
10094
|
-
DeviceType.Siren,
|
|
10095
|
-
DeviceType.Switch,
|
|
10096
|
-
DeviceType.Sensor,
|
|
10097
|
-
DeviceType.Thermostat,
|
|
10098
|
-
DeviceType.Button,
|
|
10099
|
-
DeviceType.EventEmitter,
|
|
10100
|
-
DeviceType.Update,
|
|
10101
|
-
DeviceType.Generic,
|
|
10102
|
-
DeviceType.Notifier,
|
|
10103
|
-
DeviceType.Script,
|
|
10104
|
-
DeviceType.Automation,
|
|
10105
|
-
DeviceType.Lock,
|
|
10106
|
-
DeviceType.Cover,
|
|
10107
|
-
DeviceType.Valve,
|
|
10108
|
-
DeviceType.Humidifier,
|
|
10109
|
-
DeviceType.WaterHeater,
|
|
10110
|
-
DeviceType.Fan,
|
|
10111
|
-
DeviceType.MediaPlayer,
|
|
10112
|
-
DeviceType.AlarmPanel,
|
|
10113
|
-
DeviceType.Control,
|
|
10114
|
-
DeviceType.Presence,
|
|
10115
|
-
DeviceType.Weather,
|
|
10116
|
-
DeviceType.Vacuum,
|
|
10117
|
-
DeviceType.LawnMower,
|
|
10118
|
-
DeviceType.Container,
|
|
10119
|
-
DeviceType.Image
|
|
10120
|
-
],
|
|
10166
|
+
deviceTypes: Object.values(DeviceType),
|
|
10121
10167
|
deviceConfig: { ui: {
|
|
10122
10168
|
kind: "widget",
|
|
10123
10169
|
widgetId: "host/consumables-panel",
|
|
@@ -11575,7 +11621,7 @@ var BoundingBoxSchema = object({
|
|
|
11575
11621
|
w: number(),
|
|
11576
11622
|
h: number()
|
|
11577
11623
|
});
|
|
11578
|
-
|
|
11624
|
+
object({
|
|
11579
11625
|
class: string(),
|
|
11580
11626
|
originalClass: string(),
|
|
11581
11627
|
score: number(),
|
|
@@ -11710,7 +11756,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11710
11756
|
enabled: boolean(),
|
|
11711
11757
|
modelId: string(),
|
|
11712
11758
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11713
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11714
11759
|
group: string().optional(),
|
|
11715
11760
|
settings: record(string(), unknown()).optional()
|
|
11716
11761
|
}));
|
|
@@ -11735,7 +11780,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11735
11780
|
formats: record(string(), object({
|
|
11736
11781
|
downloaded: boolean(),
|
|
11737
11782
|
sizeMB: number()
|
|
11738
|
-
}))
|
|
11783
|
+
})),
|
|
11784
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11785
|
+
legacy: boolean().optional()
|
|
11739
11786
|
});
|
|
11740
11787
|
var ConfigFieldBridge = custom();
|
|
11741
11788
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11749,6 +11796,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11749
11796
|
defaultModelId: string(),
|
|
11750
11797
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
11751
11798
|
enabledByDefault: boolean().optional(),
|
|
11799
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11752
11800
|
defaultConfidence: number(),
|
|
11753
11801
|
group: string().optional(),
|
|
11754
11802
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11765,11 +11813,6 @@ var PipelineSchemaSchema = object({
|
|
|
11765
11813
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11766
11814
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11767
11815
|
});
|
|
11768
|
-
var DetectorOutputSchema = object({
|
|
11769
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11770
|
-
inferenceMs: number(),
|
|
11771
|
-
modelId: string()
|
|
11772
|
-
});
|
|
11773
11816
|
var EngineProvisioningSchema = object({
|
|
11774
11817
|
runtimeId: _enum([
|
|
11775
11818
|
"onnx",
|
|
@@ -11786,15 +11829,42 @@ var EngineProvisioningSchema = object({
|
|
|
11786
11829
|
]),
|
|
11787
11830
|
progress: number().optional(),
|
|
11788
11831
|
error: string().optional(),
|
|
11789
|
-
nextRetryAt: number().optional()
|
|
11832
|
+
nextRetryAt: number().optional(),
|
|
11833
|
+
/**
|
|
11834
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11835
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11836
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11837
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11838
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11839
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11840
|
+
*/
|
|
11841
|
+
configIssues: array(string()).optional()
|
|
11790
11842
|
});
|
|
11791
11843
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11792
11844
|
addonId: string(),
|
|
11793
|
-
modelId: string(),
|
|
11845
|
+
modelId: string().optional(),
|
|
11794
11846
|
enabled: boolean().default(true),
|
|
11795
11847
|
children: array(PipelineStepInputSchema).optional(),
|
|
11796
11848
|
settings: record(string(), unknown()).optional()
|
|
11797
11849
|
}));
|
|
11850
|
+
var ModelSubstitutionSchema = object({
|
|
11851
|
+
addonId: string(),
|
|
11852
|
+
chosen: string(),
|
|
11853
|
+
running: string(),
|
|
11854
|
+
format: string()
|
|
11855
|
+
});
|
|
11856
|
+
var PipelineValidationIssueSchema = object({
|
|
11857
|
+
addonId: string(),
|
|
11858
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11859
|
+
detail: string()
|
|
11860
|
+
});
|
|
11861
|
+
var PipelineValidationResultSchema = object({
|
|
11862
|
+
ok: boolean(),
|
|
11863
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11864
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11865
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11866
|
+
format: string()
|
|
11867
|
+
});
|
|
11798
11868
|
var ReferenceImageEntrySchema = object({
|
|
11799
11869
|
filename: string(),
|
|
11800
11870
|
stepIds: array(string()).readonly().optional()
|
|
@@ -11865,7 +11935,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11865
11935
|
})) }), object({ success: literal(true) }), {
|
|
11866
11936
|
kind: "mutation",
|
|
11867
11937
|
auth: "admin"
|
|
11868
|
-
}), method(
|
|
11938
|
+
}), method(object({ nodeId: string() }), object({
|
|
11939
|
+
success: literal(true),
|
|
11940
|
+
clearedDevices: number()
|
|
11941
|
+
}), {
|
|
11942
|
+
kind: "mutation",
|
|
11943
|
+
auth: "admin"
|
|
11944
|
+
}), 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({
|
|
11869
11945
|
name: string(),
|
|
11870
11946
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11871
11947
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11882,10 +11958,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11882
11958
|
modelId: string(),
|
|
11883
11959
|
format: ModelFormatSchema$1
|
|
11884
11960
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11885
|
-
addonId: string(),
|
|
11886
|
-
frame: FrameInputSchema,
|
|
11887
|
-
config: record(string(), unknown()).optional()
|
|
11888
|
-
}), DetectorOutputSchema), method(object({
|
|
11889
11961
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11890
11962
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11891
11963
|
frame: FrameInputSchema.optional(),
|
|
@@ -11906,7 +11978,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11906
11978
|
image: _instanceof(Uint8Array).optional(),
|
|
11907
11979
|
referenceImage: string().optional(),
|
|
11908
11980
|
deviceId: number().optional(),
|
|
11909
|
-
sessionId: string().optional()
|
|
11981
|
+
sessionId: string().optional(),
|
|
11982
|
+
/**
|
|
11983
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11984
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11985
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11986
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11987
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11988
|
+
*/
|
|
11989
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11910
11990
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11911
11991
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11912
11992
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12064,6 +12144,47 @@ var zonesCapability = {
|
|
|
12064
12144
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12065
12145
|
};
|
|
12066
12146
|
/**
|
|
12147
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12148
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12149
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12150
|
+
* dims — no native resolution to plumb.
|
|
12151
|
+
*/
|
|
12152
|
+
var NativeCropBboxSchema = object({
|
|
12153
|
+
x: number(),
|
|
12154
|
+
y: number(),
|
|
12155
|
+
w: number(),
|
|
12156
|
+
h: number()
|
|
12157
|
+
});
|
|
12158
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12159
|
+
var NativeCropResultSchema = object({
|
|
12160
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12161
|
+
bytes: _instanceof(Uint8Array),
|
|
12162
|
+
width: number().int().positive(),
|
|
12163
|
+
height: number().int().positive()
|
|
12164
|
+
});
|
|
12165
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12166
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12167
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12168
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12169
|
+
* normalized [0,1] convention). */
|
|
12170
|
+
var DetailParentSchema = object({
|
|
12171
|
+
bbox: NativeCropBboxSchema,
|
|
12172
|
+
className: string()
|
|
12173
|
+
});
|
|
12174
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12175
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12176
|
+
* single tracked detection. */
|
|
12177
|
+
var DetailResultSchema = object({
|
|
12178
|
+
stepId: string(),
|
|
12179
|
+
className: string(),
|
|
12180
|
+
score: number(),
|
|
12181
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12182
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12183
|
+
embedding: string().optional(),
|
|
12184
|
+
label: string().optional(),
|
|
12185
|
+
alignedCropJpeg: string().optional()
|
|
12186
|
+
});
|
|
12187
|
+
/**
|
|
12067
12188
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12068
12189
|
* by both the Zod data schema (validation + default fallback) and
|
|
12069
12190
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12158,6 +12279,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12158
12279
|
kind: literal("remote-restream"),
|
|
12159
12280
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12160
12281
|
ownerNodeId: string(),
|
|
12282
|
+
/**
|
|
12283
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12284
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12285
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12286
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12287
|
+
*/
|
|
12288
|
+
ownerReachableHost: string().optional(),
|
|
12161
12289
|
/** Operator override for the owner host the runner dials. */
|
|
12162
12290
|
hubHostnameOverride: string().optional()
|
|
12163
12291
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12166,13 +12294,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12166
12294
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12167
12295
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12168
12296
|
*
|
|
12169
|
-
* Stateless-pipeline model: the
|
|
12170
|
-
*
|
|
12171
|
-
*
|
|
12172
|
-
*
|
|
12173
|
-
*
|
|
12174
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12175
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12297
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12298
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12299
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12300
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12301
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12176
12302
|
*/
|
|
12177
12303
|
var RunnerCameraConfigSchema = object({
|
|
12178
12304
|
deviceId: number(),
|
|
@@ -12223,14 +12349,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12223
12349
|
*/
|
|
12224
12350
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12225
12351
|
pipelineEnabled: boolean().default(true),
|
|
12226
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12227
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12228
12352
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12229
12353
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12230
12354
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12231
12355
|
audio: object({
|
|
12232
|
-
|
|
12233
|
-
modelId: string(),
|
|
12356
|
+
modelId: string().optional(),
|
|
12234
12357
|
enabled: boolean()
|
|
12235
12358
|
}).nullable().optional(),
|
|
12236
12359
|
/**
|
|
@@ -12317,7 +12440,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12317
12440
|
avgInferenceTimeMs: number(),
|
|
12318
12441
|
queueDepth: number()
|
|
12319
12442
|
});
|
|
12320
|
-
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())
|
|
12443
|
+
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({
|
|
12444
|
+
handle: FrameHandleSchema,
|
|
12445
|
+
bbox: NativeCropBboxSchema,
|
|
12446
|
+
maxWidth: number().int().positive().optional()
|
|
12447
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12448
|
+
deviceId: number(),
|
|
12449
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12450
|
+
cropJpeg: string().optional(),
|
|
12451
|
+
parent: DetailParentSchema,
|
|
12452
|
+
steps: array(string()).optional()
|
|
12453
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12321
12454
|
/**
|
|
12322
12455
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12323
12456
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15248,7 +15381,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15248
15381
|
icon: string(),
|
|
15249
15382
|
path: string(),
|
|
15250
15383
|
remoteName: string(),
|
|
15251
|
-
bundle: string()
|
|
15384
|
+
bundle: string(),
|
|
15385
|
+
section: string().optional(),
|
|
15386
|
+
sectionLabel: string().optional()
|
|
15252
15387
|
});
|
|
15253
15388
|
var AddonPageInfoSchema = object({
|
|
15254
15389
|
addonId: string(),
|
|
@@ -15288,7 +15423,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15288
15423
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15289
15424
|
* without a separate filesystem stat.
|
|
15290
15425
|
*/
|
|
15291
|
-
bundle: string()
|
|
15426
|
+
bundle: string(),
|
|
15427
|
+
/**
|
|
15428
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15429
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15430
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15431
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15432
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15433
|
+
* "Addon Pages" group.
|
|
15434
|
+
*/
|
|
15435
|
+
section: string().optional(),
|
|
15436
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15437
|
+
sectionLabel: string().optional()
|
|
15292
15438
|
});
|
|
15293
15439
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15294
15440
|
var AddonHttpRouteSchema = object({
|
|
@@ -15504,6 +15650,17 @@ var WidgetMetadataSchema = object({
|
|
|
15504
15650
|
deviceContext: boolean().default(false),
|
|
15505
15651
|
integrationContext: boolean().default(false)
|
|
15506
15652
|
}),
|
|
15653
|
+
/**
|
|
15654
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15655
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15656
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15657
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15658
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15659
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15660
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15661
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15662
|
+
*/
|
|
15663
|
+
preAuth: boolean().optional().default(false),
|
|
15507
15664
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15508
15665
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15509
15666
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15805,6 +15962,66 @@ method(object({
|
|
|
15805
15962
|
password: string()
|
|
15806
15963
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
15807
15964
|
/**
|
|
15965
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15966
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15967
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15968
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15969
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15970
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15971
|
+
*
|
|
15972
|
+
* A contribution is a discriminated union on `kind`:
|
|
15973
|
+
*
|
|
15974
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15975
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15976
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15977
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15978
|
+
* login page needs NO change.
|
|
15979
|
+
*
|
|
15980
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15981
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15982
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15983
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15984
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
15985
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
15986
|
+
*
|
|
15987
|
+
* Every contribution carries a `stage`:
|
|
15988
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
15989
|
+
* magic-link buttons; a future usernameless passkey).
|
|
15990
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
15991
|
+
* returned `factors` (passkey-as-2FA today).
|
|
15992
|
+
*
|
|
15993
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
15994
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
15995
|
+
* tRPC router.
|
|
15996
|
+
*/
|
|
15997
|
+
/** When a login method renders in the two-phase login flow. */
|
|
15998
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
15999
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
16000
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
16001
|
+
kind: literal("redirect"),
|
|
16002
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
16003
|
+
id: string(),
|
|
16004
|
+
/** Operator-facing button label. */
|
|
16005
|
+
label: string(),
|
|
16006
|
+
/** lucide-react icon name. */
|
|
16007
|
+
icon: string().optional(),
|
|
16008
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16009
|
+
startUrl: string(),
|
|
16010
|
+
stage: LoginStageEnum
|
|
16011
|
+
}), object({
|
|
16012
|
+
kind: literal("widget"),
|
|
16013
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
16014
|
+
id: string(),
|
|
16015
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
16016
|
+
addonId: string(),
|
|
16017
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
16018
|
+
bundle: string(),
|
|
16019
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
16020
|
+
remote: WidgetRemoteSchema,
|
|
16021
|
+
stage: LoginStageEnum
|
|
16022
|
+
})]);
|
|
16023
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16024
|
+
/**
|
|
15808
16025
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15809
16026
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15810
16027
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17925,7 +18142,17 @@ var TrackSchema = object({
|
|
|
17925
18142
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17926
18143
|
totalDistance: number(),
|
|
17927
18144
|
state: TrackStateSchema,
|
|
17928
|
-
active: boolean()
|
|
18145
|
+
active: boolean(),
|
|
18146
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18147
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18148
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18149
|
+
importance: number().optional(),
|
|
18150
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18151
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18152
|
+
bestEventId: string().optional(),
|
|
18153
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18154
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18155
|
+
importanceReason: string().optional()
|
|
17929
18156
|
});
|
|
17930
18157
|
var BaseEventFields = {
|
|
17931
18158
|
id: string(),
|
|
@@ -17990,8 +18217,18 @@ var ObjectEventSchema = object({
|
|
|
17990
18217
|
frameHeight: number().optional(),
|
|
17991
18218
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
17992
18219
|
mediaKey: string().optional(),
|
|
18220
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18221
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18222
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18223
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18224
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18225
|
+
keyFrameMediaKey: string().optional(),
|
|
17993
18226
|
/** Populated by B5 (recording playback URL for this event). */
|
|
17994
|
-
mediaUrl: string().optional()
|
|
18227
|
+
mediaUrl: string().optional(),
|
|
18228
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18229
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18230
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18231
|
+
importance: number().optional()
|
|
17995
18232
|
});
|
|
17996
18233
|
var AudioEventSchema = object({
|
|
17997
18234
|
...BaseEventFields,
|
|
@@ -18015,7 +18252,8 @@ var MediaFileKindEnum = _enum([
|
|
|
18015
18252
|
"fullFrame",
|
|
18016
18253
|
"fullFrameBoxed",
|
|
18017
18254
|
"faceCrop",
|
|
18018
|
-
"plateCrop"
|
|
18255
|
+
"plateCrop",
|
|
18256
|
+
"keyFrame"
|
|
18019
18257
|
]);
|
|
18020
18258
|
var MediaFileSchema = object({
|
|
18021
18259
|
key: string(),
|
|
@@ -18036,6 +18274,32 @@ var DeviceEventQueryInput = object({
|
|
|
18036
18274
|
projection: _enum(["full", "slim"]).optional()
|
|
18037
18275
|
});
|
|
18038
18276
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18277
|
+
var KeyEventQueryInput = object({
|
|
18278
|
+
deviceId: number(),
|
|
18279
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18280
|
+
since: number(),
|
|
18281
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18282
|
+
until: number(),
|
|
18283
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18284
|
+
/** Drop tracks scoring below this importance. */
|
|
18285
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18286
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18287
|
+
classFilter: string().optional()
|
|
18288
|
+
});
|
|
18289
|
+
var KeyEventSchema = object({
|
|
18290
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18291
|
+
id: string(),
|
|
18292
|
+
trackId: string(),
|
|
18293
|
+
/** Track start time (firstSeen). */
|
|
18294
|
+
timestamp: number(),
|
|
18295
|
+
className: string(),
|
|
18296
|
+
label: string().optional(),
|
|
18297
|
+
importance: number(),
|
|
18298
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18299
|
+
bestEventId: string(),
|
|
18300
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18301
|
+
windowMs: number().optional()
|
|
18302
|
+
});
|
|
18039
18303
|
var TrackedDetectionSchema = object({
|
|
18040
18304
|
trackId: string(),
|
|
18041
18305
|
className: string(),
|
|
@@ -18065,7 +18329,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18065
18329
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18066
18330
|
kind: "mutation",
|
|
18067
18331
|
auth: "admin"
|
|
18068
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18332
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18069
18333
|
deviceId: number(),
|
|
18070
18334
|
since: number(),
|
|
18071
18335
|
until: number(),
|
|
@@ -18110,11 +18374,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18110
18374
|
timestamp: number()
|
|
18111
18375
|
});
|
|
18112
18376
|
var CameraPipelineConfigSchema = object({
|
|
18113
|
-
engine: PipelineEngineChoiceSchema,
|
|
18377
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18114
18378
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18115
18379
|
audio: object({
|
|
18116
|
-
engine: PipelineEngineChoiceSchema,
|
|
18117
|
-
modelId: string(),
|
|
18380
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18381
|
+
modelId: string().optional(),
|
|
18118
18382
|
enabled: boolean(),
|
|
18119
18383
|
settings: record(string(), unknown()).readonly().optional()
|
|
18120
18384
|
}).nullable().optional()
|
|
@@ -18129,7 +18393,7 @@ var PipelineTemplateSchema = object({
|
|
|
18129
18393
|
});
|
|
18130
18394
|
var AgentAddonConfigSchema = object({
|
|
18131
18395
|
enabled: boolean(),
|
|
18132
|
-
modelId: string(),
|
|
18396
|
+
modelId: string().optional(),
|
|
18133
18397
|
settings: record(string(), unknown()).readonly()
|
|
18134
18398
|
});
|
|
18135
18399
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18139,12 +18403,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18139
18403
|
detectWeight: number().positive().optional(),
|
|
18140
18404
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18141
18405
|
detect: boolean().optional(),
|
|
18142
|
-
/**
|
|
18406
|
+
/**
|
|
18407
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18408
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18409
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18410
|
+
* parse — no code reads it and no write path emits it.
|
|
18411
|
+
*/
|
|
18143
18412
|
decode: boolean().optional(),
|
|
18144
18413
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18145
18414
|
audio: boolean().optional(),
|
|
18146
18415
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18147
|
-
ingest: boolean().optional()
|
|
18416
|
+
ingest: boolean().optional(),
|
|
18417
|
+
/**
|
|
18418
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18419
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18420
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18421
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18422
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18423
|
+
*/
|
|
18424
|
+
reachableHost: string().optional()
|
|
18148
18425
|
});
|
|
18149
18426
|
var CameraPipelineForAgentSchema = object({
|
|
18150
18427
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18192,25 +18469,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18192
18469
|
assignedAt: number()
|
|
18193
18470
|
});
|
|
18194
18471
|
/**
|
|
18195
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18196
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18197
|
-
* → co-located with pipeline → capacity).
|
|
18198
|
-
*/
|
|
18199
|
-
var DecoderAssignmentSchema = object({
|
|
18200
|
-
deviceId: number(),
|
|
18201
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18202
|
-
decoderNodeId: string(),
|
|
18203
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18204
|
-
pinned: boolean(),
|
|
18205
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18206
|
-
reason: _enum([
|
|
18207
|
-
"manual",
|
|
18208
|
-
"co-located",
|
|
18209
|
-
"capacity",
|
|
18210
|
-
"hardware-affinity"
|
|
18211
|
-
])
|
|
18212
|
-
});
|
|
18213
|
-
/**
|
|
18214
18472
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18215
18473
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18216
18474
|
*/
|
|
@@ -18250,6 +18508,15 @@ var GlobalMetricsSchema = object({
|
|
|
18250
18508
|
* capability providers.
|
|
18251
18509
|
*/
|
|
18252
18510
|
var CapabilityBindingsSchema = record(string(), string());
|
|
18511
|
+
/**
|
|
18512
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18513
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18514
|
+
*/
|
|
18515
|
+
var IngestOwnerSchema = object({
|
|
18516
|
+
ownerNodeId: string(),
|
|
18517
|
+
reachableHost: string().optional(),
|
|
18518
|
+
configIssue: string().optional()
|
|
18519
|
+
});
|
|
18253
18520
|
/** Source block — always present; derives from the stream catalog. */
|
|
18254
18521
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18255
18522
|
camStreamId: string(),
|
|
@@ -18264,6 +18531,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18264
18531
|
detectionNodeId: string().nullable(),
|
|
18265
18532
|
decoderNodeId: string().nullable(),
|
|
18266
18533
|
audioNodeId: string().nullable(),
|
|
18534
|
+
/**
|
|
18535
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18536
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18537
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18538
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18539
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18540
|
+
*/
|
|
18541
|
+
sourceNodeId: string().nullable(),
|
|
18267
18542
|
pinned: object({
|
|
18268
18543
|
detection: boolean(),
|
|
18269
18544
|
decoder: boolean(),
|
|
@@ -18396,16 +18671,7 @@ method(object({
|
|
|
18396
18671
|
}), object({ success: literal(true) }), {
|
|
18397
18672
|
kind: "mutation",
|
|
18398
18673
|
auth: "admin"
|
|
18399
|
-
}), method(object({
|
|
18400
|
-
deviceId: number(),
|
|
18401
|
-
nodeId: string()
|
|
18402
|
-
}), _void(), {
|
|
18403
|
-
kind: "mutation",
|
|
18404
|
-
auth: "admin"
|
|
18405
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18406
|
-
kind: "mutation",
|
|
18407
|
-
auth: "admin"
|
|
18408
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18674
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18409
18675
|
deviceId: number(),
|
|
18410
18676
|
nodeId: string()
|
|
18411
18677
|
}), object({ success: literal(true) }), {
|
|
@@ -18426,10 +18692,7 @@ method(object({
|
|
|
18426
18692
|
nodeId: string(),
|
|
18427
18693
|
pinned: boolean(),
|
|
18428
18694
|
assignedAt: number()
|
|
18429
|
-
}))), method(object({
|
|
18430
|
-
deviceId: number(),
|
|
18431
|
-
pipelineNodeId: string().optional()
|
|
18432
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18695
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18433
18696
|
nodeId: string(),
|
|
18434
18697
|
settings: AgentPipelineSettingsSchema
|
|
18435
18698
|
})).readonly()), method(object({
|
|
@@ -18459,12 +18722,26 @@ method(object({
|
|
|
18459
18722
|
}), method(object({
|
|
18460
18723
|
agentNodeId: string(),
|
|
18461
18724
|
detect: boolean().nullable().optional(),
|
|
18462
|
-
decode: boolean().nullable().optional(),
|
|
18463
18725
|
audio: boolean().nullable().optional(),
|
|
18464
18726
|
ingest: boolean().nullable().optional()
|
|
18465
18727
|
}), object({ success: literal(true) }), {
|
|
18466
18728
|
kind: "mutation",
|
|
18467
18729
|
auth: "admin"
|
|
18730
|
+
}), method(object({
|
|
18731
|
+
agentNodeId: string(),
|
|
18732
|
+
reachableHost: string().nullable()
|
|
18733
|
+
}), object({ success: literal(true) }), {
|
|
18734
|
+
kind: "mutation",
|
|
18735
|
+
auth: "admin"
|
|
18736
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18737
|
+
success: literal(true),
|
|
18738
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18739
|
+
effectiveModelId: string().nullable(),
|
|
18740
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18741
|
+
clearedCameraOverrides: number()
|
|
18742
|
+
}), {
|
|
18743
|
+
kind: "mutation",
|
|
18744
|
+
auth: "admin"
|
|
18468
18745
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18469
18746
|
deviceId: number(),
|
|
18470
18747
|
addonId: string(),
|
|
@@ -18509,22 +18786,131 @@ method(object({
|
|
|
18509
18786
|
kind: "mutation",
|
|
18510
18787
|
auth: "admin"
|
|
18511
18788
|
});
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18789
|
+
/**
|
|
18790
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18791
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18792
|
+
* agents).
|
|
18793
|
+
*
|
|
18794
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18795
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18796
|
+
* version describes the node. Updates install into
|
|
18797
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18798
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18799
|
+
*
|
|
18800
|
+
* Providers:
|
|
18801
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18802
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18803
|
+
* unpinned calls.
|
|
18804
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18805
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18806
|
+
* `$hub.registerNode` manifest.
|
|
18807
|
+
*
|
|
18808
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18809
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18810
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18811
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18812
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18813
|
+
*
|
|
18814
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18815
|
+
*/
|
|
18816
|
+
/**
|
|
18817
|
+
* Where the running hub's code was loaded from:
|
|
18818
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18819
|
+
* plain resolution and runtime updates are refused.
|
|
18820
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18821
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18822
|
+
*/
|
|
18823
|
+
var ServerBootModeSchema = _enum([
|
|
18824
|
+
"workspace",
|
|
18825
|
+
"baked",
|
|
18826
|
+
"data-root"
|
|
18827
|
+
]);
|
|
18828
|
+
/**
|
|
18829
|
+
* Update lifecycle state:
|
|
18830
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18831
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18832
|
+
* restarted onto it (still running the OLD version).
|
|
18833
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18834
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18835
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18836
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18837
|
+
*/
|
|
18838
|
+
var ServerUpdateStateSchema = _enum([
|
|
18839
|
+
"idle",
|
|
18840
|
+
"checking",
|
|
18841
|
+
"staging",
|
|
18842
|
+
"pending-restart",
|
|
18843
|
+
"awaiting-confirmation"
|
|
18844
|
+
]);
|
|
18845
|
+
var ServerRollbackInfoSchema = object({
|
|
18846
|
+
/** The version that failed (or was manually rolled back). */
|
|
18847
|
+
fromVersion: string(),
|
|
18848
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18849
|
+
toVersion: string().nullable(),
|
|
18850
|
+
atMs: number(),
|
|
18851
|
+
reason: string()
|
|
18518
18852
|
});
|
|
18519
|
-
var
|
|
18520
|
-
|
|
18521
|
-
|
|
18522
|
-
|
|
18853
|
+
var ServerPackageStatusSchema = object({
|
|
18854
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18855
|
+
packageName: string(),
|
|
18856
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18857
|
+
runningVersion: string().nullable(),
|
|
18858
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18859
|
+
nodeRuntimeVersion: string().nullable(),
|
|
18860
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18861
|
+
activeVersion: string().nullable(),
|
|
18862
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18863
|
+
previousVersion: string().nullable(),
|
|
18864
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18865
|
+
seedVersion: string().nullable(),
|
|
18866
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18867
|
+
latestVersion: string().nullable(),
|
|
18868
|
+
updateAvailable: boolean(),
|
|
18869
|
+
bootMode: ServerBootModeSchema,
|
|
18870
|
+
updateState: ServerUpdateStateSchema,
|
|
18871
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18872
|
+
pendingVersion: string().nullable(),
|
|
18873
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18874
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18875
|
+
/**
|
|
18876
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18877
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18878
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18879
|
+
*/
|
|
18880
|
+
stateFileCorrupt: boolean(),
|
|
18881
|
+
lastCheckedAtMs: number().nullable()
|
|
18882
|
+
});
|
|
18883
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18884
|
+
packageName: string(),
|
|
18885
|
+
runningVersion: string().nullable(),
|
|
18886
|
+
latestVersion: string().nullable(),
|
|
18887
|
+
updateAvailable: boolean(),
|
|
18888
|
+
checkedAtMs: number(),
|
|
18889
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18890
|
+
error: string().nullable()
|
|
18891
|
+
});
|
|
18892
|
+
var ServerUpdateActionResultSchema = object({
|
|
18893
|
+
accepted: boolean(),
|
|
18894
|
+
targetVersion: string().nullable(),
|
|
18895
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18896
|
+
restarting: boolean(),
|
|
18897
|
+
message: string()
|
|
18898
|
+
});
|
|
18899
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18900
|
+
kind: "mutation",
|
|
18901
|
+
auth: "admin"
|
|
18902
|
+
}), method(object({
|
|
18903
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18904
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
18905
|
+
kind: "mutation",
|
|
18906
|
+
auth: "admin"
|
|
18907
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18908
|
+
kind: "mutation",
|
|
18909
|
+
auth: "admin"
|
|
18910
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18911
|
+
kind: "mutation",
|
|
18912
|
+
auth: "admin"
|
|
18523
18913
|
});
|
|
18524
|
-
method(object({
|
|
18525
|
-
deviceId: number(),
|
|
18526
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18527
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18528
18914
|
/**
|
|
18529
18915
|
* Query filter for settings-store collections.
|
|
18530
18916
|
*/
|
|
@@ -18677,9 +19063,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18677
19063
|
/**
|
|
18678
19064
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18679
19065
|
*
|
|
18680
|
-
*
|
|
18681
|
-
*
|
|
18682
|
-
*
|
|
19066
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19067
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19068
|
+
* prebuffer fallback.
|
|
18683
19069
|
*/
|
|
18684
19070
|
var SnapshotImageSchema = object({
|
|
18685
19071
|
base64: string(),
|
|
@@ -18710,11 +19096,12 @@ DeviceType.Camera, method(object({
|
|
|
18710
19096
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18711
19097
|
kind: "mutation",
|
|
18712
19098
|
auth: "admin"
|
|
18713
|
-
})
|
|
18714
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
19099
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
18715
19100
|
deviceId: number(),
|
|
18716
|
-
|
|
18717
|
-
|
|
19101
|
+
lastCapturedAt: number().nullable(),
|
|
19102
|
+
cacheAgeMs: number().nullable(),
|
|
19103
|
+
etag: string().nullable()
|
|
19104
|
+
})));
|
|
18718
19105
|
/**
|
|
18719
19106
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18720
19107
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -18965,10 +19352,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
18965
19352
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
18966
19353
|
* the assertion, bumps the credential counter, returns ok.
|
|
18967
19354
|
*
|
|
19355
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19356
|
+
* passkey IS the primary factor, no password leg:
|
|
19357
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19358
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19359
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19360
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19361
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19362
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19363
|
+
* resolves the credential by the response's credential id,
|
|
19364
|
+
* verifies the assertion against the stored challenge + that
|
|
19365
|
+
* credential's public key/counter, and returns the OWNING
|
|
19366
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19367
|
+
*
|
|
18968
19368
|
* 3. Management:
|
|
18969
19369
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
18970
19370
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
18971
19371
|
*
|
|
19372
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19373
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19374
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19375
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19376
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19377
|
+
* row ⇒ `enabled: false`).
|
|
19378
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19379
|
+
* the providing addon beside its credentials.
|
|
19380
|
+
*
|
|
18972
19381
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
18973
19382
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
18974
19383
|
* the cap to non-admins.
|
|
@@ -19011,6 +19420,17 @@ method(object({
|
|
|
19011
19420
|
}), object({ verified: boolean() }), {
|
|
19012
19421
|
kind: "mutation",
|
|
19013
19422
|
access: "view"
|
|
19423
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19424
|
+
kind: "mutation",
|
|
19425
|
+
access: "view"
|
|
19426
|
+
}), method(object({
|
|
19427
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19428
|
+
response: record(string(), unknown()) }), object({
|
|
19429
|
+
verified: boolean(),
|
|
19430
|
+
userId: string().nullable()
|
|
19431
|
+
}), {
|
|
19432
|
+
kind: "mutation",
|
|
19433
|
+
access: "view"
|
|
19014
19434
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
19015
19435
|
userId: string(),
|
|
19016
19436
|
credentialId: string()
|
|
@@ -19018,6 +19438,13 @@ method(object({
|
|
|
19018
19438
|
kind: "mutation",
|
|
19019
19439
|
auth: "admin",
|
|
19020
19440
|
access: "delete"
|
|
19441
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19442
|
+
userId: string(),
|
|
19443
|
+
enabled: boolean()
|
|
19444
|
+
}), object({ success: literal(true) }), {
|
|
19445
|
+
kind: "mutation",
|
|
19446
|
+
auth: "admin",
|
|
19447
|
+
access: "create"
|
|
19021
19448
|
});
|
|
19022
19449
|
/**
|
|
19023
19450
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19075,9 +19502,10 @@ method(object({
|
|
|
19075
19502
|
auth: "admin"
|
|
19076
19503
|
});
|
|
19077
19504
|
/**
|
|
19078
|
-
* Optional client-side hints sent at session creation to help the
|
|
19079
|
-
*
|
|
19080
|
-
*
|
|
19505
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19506
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19507
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19508
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19081
19509
|
*/
|
|
19082
19510
|
var webrtcClientHintsSchema = object({
|
|
19083
19511
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19088,22 +19516,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19088
19516
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19089
19517
|
prefersTier: string().optional()
|
|
19090
19518
|
}).partial();
|
|
19091
|
-
method(object({
|
|
19092
|
-
streamId: string(),
|
|
19093
|
-
sdpOffer: string()
|
|
19094
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
19095
|
-
streamId: string(),
|
|
19096
|
-
codec: string()
|
|
19097
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
19098
|
-
streamId: string(),
|
|
19099
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19100
|
-
}), object({
|
|
19101
|
-
sessionId: string(),
|
|
19102
|
-
sdpOffer: string()
|
|
19103
|
-
}), { kind: "mutation" }), method(object({
|
|
19104
|
-
sessionId: string(),
|
|
19105
|
-
sdpAnswer: string()
|
|
19106
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
19107
19519
|
/**
|
|
19108
19520
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19109
19521
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19834,7 +20246,17 @@ var FaceInfoSchema = object({
|
|
|
19834
20246
|
recognizedIdentityId: string().optional(),
|
|
19835
20247
|
identityName: string().optional(),
|
|
19836
20248
|
assigned: boolean(),
|
|
19837
|
-
base64: string().optional()
|
|
20249
|
+
base64: string().optional(),
|
|
20250
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20251
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20252
|
+
* legacy rows written before design B. */
|
|
20253
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20254
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20255
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20256
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20257
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20258
|
+
* back to the inline `base64` face crop. */
|
|
20259
|
+
keyFrameMediaKey: string().optional()
|
|
19838
20260
|
});
|
|
19839
20261
|
var FaceFilterEnum = _enum([
|
|
19840
20262
|
"unassigned",
|
|
@@ -20531,6 +20953,16 @@ var TopologyCategorySchema = object({
|
|
|
20531
20953
|
healthy: number(),
|
|
20532
20954
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20533
20955
|
});
|
|
20956
|
+
/**
|
|
20957
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
20958
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
20959
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
20960
|
+
* rows and pre-phase-2 nodes report none.
|
|
20961
|
+
*/
|
|
20962
|
+
var TopologyRootPackageSchema = object({
|
|
20963
|
+
name: string(),
|
|
20964
|
+
version: string()
|
|
20965
|
+
});
|
|
20534
20966
|
var TopologyNodeSchema = object({
|
|
20535
20967
|
id: string(),
|
|
20536
20968
|
name: string(),
|
|
@@ -20554,7 +20986,8 @@ var TopologyNodeSchema = object({
|
|
|
20554
20986
|
status: string()
|
|
20555
20987
|
})).readonly(),
|
|
20556
20988
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20557
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
20989
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
20990
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20558
20991
|
});
|
|
20559
20992
|
var CapUsageEdgeSchema = object({
|
|
20560
20993
|
callerAddonId: string(),
|
|
@@ -23354,6 +23787,12 @@ Object.freeze({
|
|
|
23354
23787
|
addonId: null,
|
|
23355
23788
|
access: "create"
|
|
23356
23789
|
},
|
|
23790
|
+
"loginMethod.getLoginMethods": {
|
|
23791
|
+
capName: "login-method",
|
|
23792
|
+
capScope: "system",
|
|
23793
|
+
addonId: null,
|
|
23794
|
+
access: "view"
|
|
23795
|
+
},
|
|
23357
23796
|
"mediaPlayer.next": {
|
|
23358
23797
|
capName: "media-player",
|
|
23359
23798
|
capScope: "device",
|
|
@@ -23936,6 +24375,12 @@ Object.freeze({
|
|
|
23936
24375
|
addonId: null,
|
|
23937
24376
|
access: "view"
|
|
23938
24377
|
},
|
|
24378
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24379
|
+
capName: "pipeline-analytics",
|
|
24380
|
+
capScope: "device",
|
|
24381
|
+
addonId: null,
|
|
24382
|
+
access: "view"
|
|
24383
|
+
},
|
|
23939
24384
|
"pipelineAnalytics.getMotionEvents": {
|
|
23940
24385
|
capName: "pipeline-analytics",
|
|
23941
24386
|
capScope: "device",
|
|
@@ -23984,23 +24429,23 @@ Object.freeze({
|
|
|
23984
24429
|
addonId: null,
|
|
23985
24430
|
access: "create"
|
|
23986
24431
|
},
|
|
23987
|
-
"pipelineExecutor.
|
|
24432
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
23988
24433
|
capName: "pipeline-executor",
|
|
23989
24434
|
capScope: "system",
|
|
23990
24435
|
addonId: null,
|
|
23991
24436
|
access: "delete"
|
|
23992
24437
|
},
|
|
23993
|
-
"pipelineExecutor.
|
|
24438
|
+
"pipelineExecutor.deleteModel": {
|
|
23994
24439
|
capName: "pipeline-executor",
|
|
23995
24440
|
capScope: "system",
|
|
23996
24441
|
addonId: null,
|
|
23997
24442
|
access: "delete"
|
|
23998
24443
|
},
|
|
23999
|
-
"pipelineExecutor.
|
|
24444
|
+
"pipelineExecutor.deleteTemplate": {
|
|
24000
24445
|
capName: "pipeline-executor",
|
|
24001
24446
|
capScope: "system",
|
|
24002
24447
|
addonId: null,
|
|
24003
|
-
access: "
|
|
24448
|
+
access: "delete"
|
|
24004
24449
|
},
|
|
24005
24450
|
"pipelineExecutor.downloadModel": {
|
|
24006
24451
|
capName: "pipeline-executor",
|
|
@@ -24194,13 +24639,13 @@ Object.freeze({
|
|
|
24194
24639
|
addonId: null,
|
|
24195
24640
|
access: "create"
|
|
24196
24641
|
},
|
|
24197
|
-
"
|
|
24198
|
-
capName: "pipeline-
|
|
24642
|
+
"pipelineExecutor.validatePipeline": {
|
|
24643
|
+
capName: "pipeline-executor",
|
|
24199
24644
|
capScope: "system",
|
|
24200
24645
|
addonId: null,
|
|
24201
|
-
access: "
|
|
24646
|
+
access: "view"
|
|
24202
24647
|
},
|
|
24203
|
-
"pipelineOrchestrator.
|
|
24648
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24204
24649
|
capName: "pipeline-orchestrator",
|
|
24205
24650
|
capScope: "system",
|
|
24206
24651
|
addonId: null,
|
|
@@ -24284,19 +24729,13 @@ Object.freeze({
|
|
|
24284
24729
|
addonId: null,
|
|
24285
24730
|
access: "view"
|
|
24286
24731
|
},
|
|
24287
|
-
"pipelineOrchestrator.
|
|
24732
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24288
24733
|
capName: "pipeline-orchestrator",
|
|
24289
24734
|
capScope: "system",
|
|
24290
24735
|
addonId: null,
|
|
24291
24736
|
access: "view"
|
|
24292
24737
|
},
|
|
24293
|
-
"pipelineOrchestrator.
|
|
24294
|
-
capName: "pipeline-orchestrator",
|
|
24295
|
-
capScope: "system",
|
|
24296
|
-
addonId: null,
|
|
24297
|
-
access: "view"
|
|
24298
|
-
},
|
|
24299
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24738
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24300
24739
|
capName: "pipeline-orchestrator",
|
|
24301
24740
|
capScope: "system",
|
|
24302
24741
|
addonId: null,
|
|
@@ -24338,6 +24777,12 @@ Object.freeze({
|
|
|
24338
24777
|
addonId: null,
|
|
24339
24778
|
access: "delete"
|
|
24340
24779
|
},
|
|
24780
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24781
|
+
capName: "pipeline-orchestrator",
|
|
24782
|
+
capScope: "system",
|
|
24783
|
+
addonId: null,
|
|
24784
|
+
access: "delete"
|
|
24785
|
+
},
|
|
24341
24786
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24342
24787
|
capName: "pipeline-orchestrator",
|
|
24343
24788
|
capScope: "system",
|
|
@@ -24374,37 +24819,37 @@ Object.freeze({
|
|
|
24374
24819
|
addonId: null,
|
|
24375
24820
|
access: "create"
|
|
24376
24821
|
},
|
|
24377
|
-
"pipelineOrchestrator.
|
|
24822
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24378
24823
|
capName: "pipeline-orchestrator",
|
|
24379
24824
|
capScope: "system",
|
|
24380
24825
|
addonId: null,
|
|
24381
24826
|
access: "create"
|
|
24382
24827
|
},
|
|
24383
|
-
"pipelineOrchestrator.
|
|
24828
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24384
24829
|
capName: "pipeline-orchestrator",
|
|
24385
24830
|
capScope: "system",
|
|
24386
24831
|
addonId: null,
|
|
24387
24832
|
access: "create"
|
|
24388
24833
|
},
|
|
24389
|
-
"pipelineOrchestrator.
|
|
24834
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24390
24835
|
capName: "pipeline-orchestrator",
|
|
24391
24836
|
capScope: "system",
|
|
24392
24837
|
addonId: null,
|
|
24393
24838
|
access: "create"
|
|
24394
24839
|
},
|
|
24395
|
-
"pipelineOrchestrator.
|
|
24840
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24396
24841
|
capName: "pipeline-orchestrator",
|
|
24397
24842
|
capScope: "system",
|
|
24398
24843
|
addonId: null,
|
|
24399
24844
|
access: "create"
|
|
24400
24845
|
},
|
|
24401
|
-
"pipelineOrchestrator.
|
|
24846
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24402
24847
|
capName: "pipeline-orchestrator",
|
|
24403
24848
|
capScope: "system",
|
|
24404
24849
|
addonId: null,
|
|
24405
24850
|
access: "create"
|
|
24406
24851
|
},
|
|
24407
|
-
"pipelineOrchestrator.
|
|
24852
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24408
24853
|
capName: "pipeline-orchestrator",
|
|
24409
24854
|
capScope: "system",
|
|
24410
24855
|
addonId: null,
|
|
@@ -24464,12 +24909,24 @@ Object.freeze({
|
|
|
24464
24909
|
addonId: null,
|
|
24465
24910
|
access: "view"
|
|
24466
24911
|
},
|
|
24912
|
+
"pipelineRunner.getNativeCrop": {
|
|
24913
|
+
capName: "pipeline-runner",
|
|
24914
|
+
capScope: "system",
|
|
24915
|
+
addonId: null,
|
|
24916
|
+
access: "view"
|
|
24917
|
+
},
|
|
24467
24918
|
"pipelineRunner.reportMotion": {
|
|
24468
24919
|
capName: "pipeline-runner",
|
|
24469
24920
|
capScope: "system",
|
|
24470
24921
|
addonId: null,
|
|
24471
24922
|
access: "create"
|
|
24472
24923
|
},
|
|
24924
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24925
|
+
capName: "pipeline-runner",
|
|
24926
|
+
capScope: "system",
|
|
24927
|
+
addonId: null,
|
|
24928
|
+
access: "create"
|
|
24929
|
+
},
|
|
24473
24930
|
"plateGallery.correctPlateText": {
|
|
24474
24931
|
capName: "plate-gallery",
|
|
24475
24932
|
capScope: "system",
|
|
@@ -24704,33 +25161,45 @@ Object.freeze({
|
|
|
24704
25161
|
addonId: null,
|
|
24705
25162
|
access: "create"
|
|
24706
25163
|
},
|
|
24707
|
-
"
|
|
24708
|
-
capName: "
|
|
25164
|
+
"scriptRunner.run": {
|
|
25165
|
+
capName: "script-runner",
|
|
25166
|
+
capScope: "device",
|
|
25167
|
+
addonId: null,
|
|
25168
|
+
access: "create"
|
|
25169
|
+
},
|
|
25170
|
+
"scriptRunner.stop": {
|
|
25171
|
+
capName: "script-runner",
|
|
25172
|
+
capScope: "device",
|
|
25173
|
+
addonId: null,
|
|
25174
|
+
access: "create"
|
|
25175
|
+
},
|
|
25176
|
+
"serverManagement.applyServerUpdate": {
|
|
25177
|
+
capName: "server-management",
|
|
24709
25178
|
capScope: "system",
|
|
24710
25179
|
addonId: null,
|
|
24711
|
-
access: "
|
|
25180
|
+
access: "create"
|
|
24712
25181
|
},
|
|
24713
|
-
"
|
|
24714
|
-
capName: "
|
|
25182
|
+
"serverManagement.checkServerUpdate": {
|
|
25183
|
+
capName: "server-management",
|
|
24715
25184
|
capScope: "system",
|
|
24716
25185
|
addonId: null,
|
|
24717
25186
|
access: "create"
|
|
24718
25187
|
},
|
|
24719
|
-
"
|
|
24720
|
-
capName: "
|
|
25188
|
+
"serverManagement.getServerPackageStatus": {
|
|
25189
|
+
capName: "server-management",
|
|
24721
25190
|
capScope: "system",
|
|
24722
25191
|
addonId: null,
|
|
24723
|
-
access: "
|
|
25192
|
+
access: "view"
|
|
24724
25193
|
},
|
|
24725
|
-
"
|
|
24726
|
-
capName: "
|
|
24727
|
-
capScope: "
|
|
25194
|
+
"serverManagement.restartServer": {
|
|
25195
|
+
capName: "server-management",
|
|
25196
|
+
capScope: "system",
|
|
24728
25197
|
addonId: null,
|
|
24729
25198
|
access: "create"
|
|
24730
25199
|
},
|
|
24731
|
-
"
|
|
24732
|
-
capName: "
|
|
24733
|
-
capScope: "
|
|
25200
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25201
|
+
capName: "server-management",
|
|
25202
|
+
capScope: "system",
|
|
24734
25203
|
addonId: null,
|
|
24735
25204
|
access: "create"
|
|
24736
25205
|
},
|
|
@@ -24818,23 +25287,17 @@ Object.freeze({
|
|
|
24818
25287
|
addonId: null,
|
|
24819
25288
|
access: "view"
|
|
24820
25289
|
},
|
|
24821
|
-
"snapshot.
|
|
25290
|
+
"snapshot.getSnapshotOverview": {
|
|
24822
25291
|
capName: "snapshot",
|
|
24823
25292
|
capScope: "device",
|
|
24824
25293
|
addonId: null,
|
|
24825
|
-
access: "create"
|
|
24826
|
-
},
|
|
24827
|
-
"snapshotProvider.getSnapshot": {
|
|
24828
|
-
capName: "snapshot-provider",
|
|
24829
|
-
capScope: "system",
|
|
24830
|
-
addonId: null,
|
|
24831
25294
|
access: "view"
|
|
24832
25295
|
},
|
|
24833
|
-
"
|
|
24834
|
-
capName: "snapshot
|
|
24835
|
-
capScope: "
|
|
25296
|
+
"snapshot.invalidateCache": {
|
|
25297
|
+
capName: "snapshot",
|
|
25298
|
+
capScope: "device",
|
|
24836
25299
|
addonId: null,
|
|
24837
|
-
access: "
|
|
25300
|
+
access: "create"
|
|
24838
25301
|
},
|
|
24839
25302
|
"ssoBridge.signBridgeToken": {
|
|
24840
25303
|
capName: "sso-bridge",
|
|
@@ -25262,30 +25725,6 @@ Object.freeze({
|
|
|
25262
25725
|
addonId: null,
|
|
25263
25726
|
access: "view"
|
|
25264
25727
|
},
|
|
25265
|
-
"streamingEngine.getStreamUrl": {
|
|
25266
|
-
capName: "streaming-engine",
|
|
25267
|
-
capScope: "system",
|
|
25268
|
-
addonId: null,
|
|
25269
|
-
access: "view"
|
|
25270
|
-
},
|
|
25271
|
-
"streamingEngine.listStreams": {
|
|
25272
|
-
capName: "streaming-engine",
|
|
25273
|
-
capScope: "system",
|
|
25274
|
-
addonId: null,
|
|
25275
|
-
access: "view"
|
|
25276
|
-
},
|
|
25277
|
-
"streamingEngine.registerStream": {
|
|
25278
|
-
capName: "streaming-engine",
|
|
25279
|
-
capScope: "system",
|
|
25280
|
-
addonId: null,
|
|
25281
|
-
access: "create"
|
|
25282
|
-
},
|
|
25283
|
-
"streamingEngine.unregisterStream": {
|
|
25284
|
-
capName: "streaming-engine",
|
|
25285
|
-
capScope: "system",
|
|
25286
|
-
addonId: null,
|
|
25287
|
-
access: "delete"
|
|
25288
|
-
},
|
|
25289
25728
|
"streamParams.getConfigSchema": {
|
|
25290
25729
|
capName: "stream-params",
|
|
25291
25730
|
capScope: "device",
|
|
@@ -25532,6 +25971,12 @@ Object.freeze({
|
|
|
25532
25971
|
addonId: null,
|
|
25533
25972
|
access: "view"
|
|
25534
25973
|
},
|
|
25974
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
25975
|
+
capName: "user-passkeys",
|
|
25976
|
+
capScope: "system",
|
|
25977
|
+
addonId: null,
|
|
25978
|
+
access: "view"
|
|
25979
|
+
},
|
|
25535
25980
|
"userPasskeys.beginRegistration": {
|
|
25536
25981
|
capName: "user-passkeys",
|
|
25537
25982
|
capScope: "system",
|
|
@@ -25544,12 +25989,24 @@ Object.freeze({
|
|
|
25544
25989
|
addonId: null,
|
|
25545
25990
|
access: "view"
|
|
25546
25991
|
},
|
|
25992
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
25993
|
+
capName: "user-passkeys",
|
|
25994
|
+
capScope: "system",
|
|
25995
|
+
addonId: null,
|
|
25996
|
+
access: "view"
|
|
25997
|
+
},
|
|
25547
25998
|
"userPasskeys.finishRegistration": {
|
|
25548
25999
|
capName: "user-passkeys",
|
|
25549
26000
|
capScope: "system",
|
|
25550
26001
|
addonId: null,
|
|
25551
26002
|
access: "create"
|
|
25552
26003
|
},
|
|
26004
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
26005
|
+
capName: "user-passkeys",
|
|
26006
|
+
capScope: "system",
|
|
26007
|
+
addonId: null,
|
|
26008
|
+
access: "view"
|
|
26009
|
+
},
|
|
25553
26010
|
"userPasskeys.listPasskeys": {
|
|
25554
26011
|
capName: "user-passkeys",
|
|
25555
26012
|
capScope: "system",
|
|
@@ -25562,6 +26019,12 @@ Object.freeze({
|
|
|
25562
26019
|
addonId: null,
|
|
25563
26020
|
access: "delete"
|
|
25564
26021
|
},
|
|
26022
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26023
|
+
capName: "user-passkeys",
|
|
26024
|
+
capScope: "system",
|
|
26025
|
+
addonId: null,
|
|
26026
|
+
access: "create"
|
|
26027
|
+
},
|
|
25565
26028
|
"vacuumControl.locate": {
|
|
25566
26029
|
capName: "vacuum-control",
|
|
25567
26030
|
capScope: "device",
|
|
@@ -25634,6 +26097,18 @@ Object.freeze({
|
|
|
25634
26097
|
addonId: null,
|
|
25635
26098
|
access: "view"
|
|
25636
26099
|
},
|
|
26100
|
+
"viewerUi.getStaticDir": {
|
|
26101
|
+
capName: "viewer-ui",
|
|
26102
|
+
capScope: "system",
|
|
26103
|
+
addonId: null,
|
|
26104
|
+
access: "view"
|
|
26105
|
+
},
|
|
26106
|
+
"viewerUi.getVersion": {
|
|
26107
|
+
capName: "viewer-ui",
|
|
26108
|
+
capScope: "system",
|
|
26109
|
+
addonId: null,
|
|
26110
|
+
access: "view"
|
|
26111
|
+
},
|
|
25637
26112
|
"waterHeater.setAway": {
|
|
25638
26113
|
capName: "water-heater",
|
|
25639
26114
|
capScope: "device",
|
|
@@ -25652,54 +26127,6 @@ Object.freeze({
|
|
|
25652
26127
|
addonId: null,
|
|
25653
26128
|
access: "create"
|
|
25654
26129
|
},
|
|
25655
|
-
"webrtc.closeSession": {
|
|
25656
|
-
capName: "webrtc",
|
|
25657
|
-
capScope: "system",
|
|
25658
|
-
addonId: null,
|
|
25659
|
-
access: "create"
|
|
25660
|
-
},
|
|
25661
|
-
"webrtc.createSession": {
|
|
25662
|
-
capName: "webrtc",
|
|
25663
|
-
capScope: "system",
|
|
25664
|
-
addonId: null,
|
|
25665
|
-
access: "create"
|
|
25666
|
-
},
|
|
25667
|
-
"webrtc.handleAnswer": {
|
|
25668
|
-
capName: "webrtc",
|
|
25669
|
-
capScope: "system",
|
|
25670
|
-
addonId: null,
|
|
25671
|
-
access: "create"
|
|
25672
|
-
},
|
|
25673
|
-
"webrtc.handleOffer": {
|
|
25674
|
-
capName: "webrtc",
|
|
25675
|
-
capScope: "system",
|
|
25676
|
-
addonId: null,
|
|
25677
|
-
access: "create"
|
|
25678
|
-
},
|
|
25679
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25680
|
-
capName: "webrtc",
|
|
25681
|
-
capScope: "system",
|
|
25682
|
-
addonId: null,
|
|
25683
|
-
access: "view"
|
|
25684
|
-
},
|
|
25685
|
-
"webrtc.registerStream": {
|
|
25686
|
-
capName: "webrtc",
|
|
25687
|
-
capScope: "system",
|
|
25688
|
-
addonId: null,
|
|
25689
|
-
access: "create"
|
|
25690
|
-
},
|
|
25691
|
-
"webrtc.supportsStream": {
|
|
25692
|
-
capName: "webrtc",
|
|
25693
|
-
capScope: "system",
|
|
25694
|
-
addonId: null,
|
|
25695
|
-
access: "view"
|
|
25696
|
-
},
|
|
25697
|
-
"webrtc.unregisterStream": {
|
|
25698
|
-
capName: "webrtc",
|
|
25699
|
-
capScope: "system",
|
|
25700
|
-
addonId: null,
|
|
25701
|
-
access: "delete"
|
|
25702
|
-
},
|
|
25703
26130
|
"webrtcSession.addIceCandidate": {
|
|
25704
26131
|
capName: "webrtc-session",
|
|
25705
26132
|
capScope: "device",
|