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