@camstack/addon-provider-homematic 1.1.19 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +715 -288
- package/dist/addon.mjs +715 -288
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4651,7 +4651,7 @@ function preprocess(fn, schema) {
|
|
|
4651
4651
|
});
|
|
4652
4652
|
}
|
|
4653
4653
|
//#endregion
|
|
4654
|
-
//#region ../types/dist/sleep-
|
|
4654
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4655
4655
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4656
4656
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4657
4657
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4837,6 +4837,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4837
4837
|
*/
|
|
4838
4838
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4839
4839
|
/**
|
|
4840
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4841
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4842
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4843
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4844
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4845
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4846
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4847
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4848
|
+
* broker's long backstop reconcile query).
|
|
4849
|
+
*/
|
|
4850
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4851
|
+
/**
|
|
4840
4852
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4841
4853
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4842
4854
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5360,10 +5372,6 @@ function hydrateField(field, values) {
|
|
|
5360
5372
|
};
|
|
5361
5373
|
}
|
|
5362
5374
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5363
|
-
if (field.type === "password") return {
|
|
5364
|
-
...field,
|
|
5365
|
-
value: ""
|
|
5366
|
-
};
|
|
5367
5375
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5368
5376
|
return {
|
|
5369
5377
|
...field,
|
|
@@ -6747,10 +6755,25 @@ function method(input, output, options) {
|
|
|
6747
6755
|
timeoutMs: options?.timeoutMs
|
|
6748
6756
|
};
|
|
6749
6757
|
}
|
|
6758
|
+
/**
|
|
6759
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6760
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6761
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6762
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6763
|
+
*/
|
|
6764
|
+
function systemMethod(input, output, options) {
|
|
6765
|
+
return {
|
|
6766
|
+
...method(input, output, options),
|
|
6767
|
+
systemOnly: true
|
|
6768
|
+
};
|
|
6769
|
+
}
|
|
6750
6770
|
/** Shorthand to define an event schema */
|
|
6751
6771
|
function event(data) {
|
|
6752
6772
|
return { data };
|
|
6753
6773
|
}
|
|
6774
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6775
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6776
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6754
6777
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6755
6778
|
var VersionOutputSchema = object({ version: string() });
|
|
6756
6779
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6932,6 +6955,36 @@ var ModelFormatsSchema = object({
|
|
|
6932
6955
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6933
6956
|
pt: ModelFormatEntrySchema.optional()
|
|
6934
6957
|
});
|
|
6958
|
+
/**
|
|
6959
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6960
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6961
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6962
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6963
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6964
|
+
* to an `id`.
|
|
6965
|
+
*/
|
|
6966
|
+
var ModelVariantGroupSchema = object({
|
|
6967
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6968
|
+
family: string(),
|
|
6969
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6970
|
+
tier: string(),
|
|
6971
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6972
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6973
|
+
/**
|
|
6974
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6975
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6976
|
+
* future performance variants plug into.
|
|
6977
|
+
*/
|
|
6978
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6979
|
+
/**
|
|
6980
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6981
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6982
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6983
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6984
|
+
* the group so the selector can offer it as a variant axis.
|
|
6985
|
+
*/
|
|
6986
|
+
resolution: number().int().positive().optional()
|
|
6987
|
+
});
|
|
6935
6988
|
var ModelCatalogEntrySchema = object({
|
|
6936
6989
|
id: string(),
|
|
6937
6990
|
name: string(),
|
|
@@ -6961,7 +7014,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6961
7014
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6962
7015
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6963
7016
|
*/
|
|
6964
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7017
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7018
|
+
/**
|
|
7019
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7020
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7021
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7022
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7023
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7024
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7025
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7026
|
+
*/
|
|
7027
|
+
legacy: boolean().optional(),
|
|
7028
|
+
/**
|
|
7029
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7030
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7031
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7032
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7033
|
+
*/
|
|
7034
|
+
metrics: object({
|
|
7035
|
+
map50: number().optional(),
|
|
7036
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7037
|
+
}).optional(),
|
|
7038
|
+
/**
|
|
7039
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7040
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7041
|
+
* the retraining addon and any future commercial distribution.
|
|
7042
|
+
*/
|
|
7043
|
+
license: string().optional(),
|
|
7044
|
+
/**
|
|
7045
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7046
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7047
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7048
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7049
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7050
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7051
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7052
|
+
*/
|
|
7053
|
+
group: ModelVariantGroupSchema.optional()
|
|
6965
7054
|
});
|
|
6966
7055
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6967
7056
|
format: literal("openvino"),
|
|
@@ -7022,8 +7111,8 @@ var RecordingModeSchema = _enum([
|
|
|
7022
7111
|
"onAudioThreshold"
|
|
7023
7112
|
]);
|
|
7024
7113
|
/**
|
|
7025
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7026
|
-
* reads directly (never inferred from `rules`):
|
|
7114
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7115
|
+
* UI reads directly (never inferred from `rules`):
|
|
7027
7116
|
* - `off` — not recording.
|
|
7028
7117
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7029
7118
|
* with pre/post-buffer.
|
|
@@ -9186,26 +9275,13 @@ onBrightnessChanged: { data: object({
|
|
|
9186
9275
|
*/
|
|
9187
9276
|
runtimeState: BrightnessStatusSchema
|
|
9188
9277
|
};
|
|
9278
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9189
9279
|
var StreamFormatSchema = _enum([
|
|
9190
9280
|
"webrtc",
|
|
9191
9281
|
"hls",
|
|
9192
9282
|
"mjpeg",
|
|
9193
9283
|
"rtsp"
|
|
9194
9284
|
]);
|
|
9195
|
-
var StreamInfoSchema = object({
|
|
9196
|
-
streamId: string(),
|
|
9197
|
-
format: StreamFormatSchema,
|
|
9198
|
-
url: string().nullable(),
|
|
9199
|
-
active: boolean()
|
|
9200
|
-
});
|
|
9201
|
-
method(object({
|
|
9202
|
-
streamId: string(),
|
|
9203
|
-
sourceUrl: string(),
|
|
9204
|
-
codec: string().optional()
|
|
9205
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
9206
|
-
streamId: string(),
|
|
9207
|
-
format: StreamFormatSchema
|
|
9208
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9209
9285
|
var RtspRestreamEntrySchema = object({
|
|
9210
9286
|
brokerId: string(),
|
|
9211
9287
|
url: string(),
|
|
@@ -10073,37 +10149,7 @@ var consumablesCapability = {
|
|
|
10073
10149
|
scope: "device",
|
|
10074
10150
|
deviceNative: true,
|
|
10075
10151
|
mode: "singleton",
|
|
10076
|
-
deviceTypes:
|
|
10077
|
-
DeviceType.Camera,
|
|
10078
|
-
DeviceType.Hub,
|
|
10079
|
-
DeviceType.Light,
|
|
10080
|
-
DeviceType.Siren,
|
|
10081
|
-
DeviceType.Switch,
|
|
10082
|
-
DeviceType.Sensor,
|
|
10083
|
-
DeviceType.Thermostat,
|
|
10084
|
-
DeviceType.Button,
|
|
10085
|
-
DeviceType.EventEmitter,
|
|
10086
|
-
DeviceType.Update,
|
|
10087
|
-
DeviceType.Generic,
|
|
10088
|
-
DeviceType.Notifier,
|
|
10089
|
-
DeviceType.Script,
|
|
10090
|
-
DeviceType.Automation,
|
|
10091
|
-
DeviceType.Lock,
|
|
10092
|
-
DeviceType.Cover,
|
|
10093
|
-
DeviceType.Valve,
|
|
10094
|
-
DeviceType.Humidifier,
|
|
10095
|
-
DeviceType.WaterHeater,
|
|
10096
|
-
DeviceType.Fan,
|
|
10097
|
-
DeviceType.MediaPlayer,
|
|
10098
|
-
DeviceType.AlarmPanel,
|
|
10099
|
-
DeviceType.Control,
|
|
10100
|
-
DeviceType.Presence,
|
|
10101
|
-
DeviceType.Weather,
|
|
10102
|
-
DeviceType.Vacuum,
|
|
10103
|
-
DeviceType.LawnMower,
|
|
10104
|
-
DeviceType.Container,
|
|
10105
|
-
DeviceType.Image
|
|
10106
|
-
],
|
|
10152
|
+
deviceTypes: Object.values(DeviceType),
|
|
10107
10153
|
deviceConfig: { ui: {
|
|
10108
10154
|
kind: "widget",
|
|
10109
10155
|
widgetId: "host/consumables-panel",
|
|
@@ -11561,7 +11607,7 @@ var BoundingBoxSchema = object({
|
|
|
11561
11607
|
w: number(),
|
|
11562
11608
|
h: number()
|
|
11563
11609
|
});
|
|
11564
|
-
|
|
11610
|
+
object({
|
|
11565
11611
|
class: string(),
|
|
11566
11612
|
originalClass: string(),
|
|
11567
11613
|
score: number(),
|
|
@@ -11696,7 +11742,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11696
11742
|
enabled: boolean(),
|
|
11697
11743
|
modelId: string(),
|
|
11698
11744
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11699
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11700
11745
|
group: string().optional(),
|
|
11701
11746
|
settings: record(string(), unknown()).optional()
|
|
11702
11747
|
}));
|
|
@@ -11721,7 +11766,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11721
11766
|
formats: record(string(), object({
|
|
11722
11767
|
downloaded: boolean(),
|
|
11723
11768
|
sizeMB: number()
|
|
11724
|
-
}))
|
|
11769
|
+
})),
|
|
11770
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11771
|
+
legacy: boolean().optional()
|
|
11725
11772
|
});
|
|
11726
11773
|
var ConfigFieldBridge = custom();
|
|
11727
11774
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11735,6 +11782,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11735
11782
|
defaultModelId: string(),
|
|
11736
11783
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
11737
11784
|
enabledByDefault: boolean().optional(),
|
|
11785
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11738
11786
|
defaultConfidence: number(),
|
|
11739
11787
|
group: string().optional(),
|
|
11740
11788
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11751,11 +11799,6 @@ var PipelineSchemaSchema = object({
|
|
|
11751
11799
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11752
11800
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11753
11801
|
});
|
|
11754
|
-
var DetectorOutputSchema = object({
|
|
11755
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11756
|
-
inferenceMs: number(),
|
|
11757
|
-
modelId: string()
|
|
11758
|
-
});
|
|
11759
11802
|
var EngineProvisioningSchema = object({
|
|
11760
11803
|
runtimeId: _enum([
|
|
11761
11804
|
"onnx",
|
|
@@ -11772,15 +11815,42 @@ var EngineProvisioningSchema = object({
|
|
|
11772
11815
|
]),
|
|
11773
11816
|
progress: number().optional(),
|
|
11774
11817
|
error: string().optional(),
|
|
11775
|
-
nextRetryAt: number().optional()
|
|
11818
|
+
nextRetryAt: number().optional(),
|
|
11819
|
+
/**
|
|
11820
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11821
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11822
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11823
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11824
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11825
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11826
|
+
*/
|
|
11827
|
+
configIssues: array(string()).optional()
|
|
11776
11828
|
});
|
|
11777
11829
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11778
11830
|
addonId: string(),
|
|
11779
|
-
modelId: string(),
|
|
11831
|
+
modelId: string().optional(),
|
|
11780
11832
|
enabled: boolean().default(true),
|
|
11781
11833
|
children: array(PipelineStepInputSchema).optional(),
|
|
11782
11834
|
settings: record(string(), unknown()).optional()
|
|
11783
11835
|
}));
|
|
11836
|
+
var ModelSubstitutionSchema = object({
|
|
11837
|
+
addonId: string(),
|
|
11838
|
+
chosen: string(),
|
|
11839
|
+
running: string(),
|
|
11840
|
+
format: string()
|
|
11841
|
+
});
|
|
11842
|
+
var PipelineValidationIssueSchema = object({
|
|
11843
|
+
addonId: string(),
|
|
11844
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11845
|
+
detail: string()
|
|
11846
|
+
});
|
|
11847
|
+
var PipelineValidationResultSchema = object({
|
|
11848
|
+
ok: boolean(),
|
|
11849
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11850
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11851
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11852
|
+
format: string()
|
|
11853
|
+
});
|
|
11784
11854
|
var ReferenceImageEntrySchema = object({
|
|
11785
11855
|
filename: string(),
|
|
11786
11856
|
stepIds: array(string()).readonly().optional()
|
|
@@ -11851,7 +11921,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11851
11921
|
})) }), object({ success: literal(true) }), {
|
|
11852
11922
|
kind: "mutation",
|
|
11853
11923
|
auth: "admin"
|
|
11854
|
-
}), method(
|
|
11924
|
+
}), method(object({ nodeId: string() }), object({
|
|
11925
|
+
success: literal(true),
|
|
11926
|
+
clearedDevices: number()
|
|
11927
|
+
}), {
|
|
11928
|
+
kind: "mutation",
|
|
11929
|
+
auth: "admin"
|
|
11930
|
+
}), 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({
|
|
11855
11931
|
name: string(),
|
|
11856
11932
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11857
11933
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11868,10 +11944,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11868
11944
|
modelId: string(),
|
|
11869
11945
|
format: ModelFormatSchema$1
|
|
11870
11946
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11871
|
-
addonId: string(),
|
|
11872
|
-
frame: FrameInputSchema,
|
|
11873
|
-
config: record(string(), unknown()).optional()
|
|
11874
|
-
}), DetectorOutputSchema), method(object({
|
|
11875
11947
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11876
11948
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11877
11949
|
frame: FrameInputSchema.optional(),
|
|
@@ -11892,7 +11964,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11892
11964
|
image: _instanceof(Uint8Array).optional(),
|
|
11893
11965
|
referenceImage: string().optional(),
|
|
11894
11966
|
deviceId: number().optional(),
|
|
11895
|
-
sessionId: string().optional()
|
|
11967
|
+
sessionId: string().optional(),
|
|
11968
|
+
/**
|
|
11969
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11970
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11971
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11972
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11973
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11974
|
+
*/
|
|
11975
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11896
11976
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11897
11977
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11898
11978
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12050,6 +12130,47 @@ var zonesCapability = {
|
|
|
12050
12130
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12051
12131
|
};
|
|
12052
12132
|
/**
|
|
12133
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12134
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12135
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12136
|
+
* dims — no native resolution to plumb.
|
|
12137
|
+
*/
|
|
12138
|
+
var NativeCropBboxSchema = object({
|
|
12139
|
+
x: number(),
|
|
12140
|
+
y: number(),
|
|
12141
|
+
w: number(),
|
|
12142
|
+
h: number()
|
|
12143
|
+
});
|
|
12144
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12145
|
+
var NativeCropResultSchema = object({
|
|
12146
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12147
|
+
bytes: _instanceof(Uint8Array),
|
|
12148
|
+
width: number().int().positive(),
|
|
12149
|
+
height: number().int().positive()
|
|
12150
|
+
});
|
|
12151
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12152
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12153
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12154
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12155
|
+
* normalized [0,1] convention). */
|
|
12156
|
+
var DetailParentSchema = object({
|
|
12157
|
+
bbox: NativeCropBboxSchema,
|
|
12158
|
+
className: string()
|
|
12159
|
+
});
|
|
12160
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12161
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12162
|
+
* single tracked detection. */
|
|
12163
|
+
var DetailResultSchema = object({
|
|
12164
|
+
stepId: string(),
|
|
12165
|
+
className: string(),
|
|
12166
|
+
score: number(),
|
|
12167
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12168
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12169
|
+
embedding: string().optional(),
|
|
12170
|
+
label: string().optional(),
|
|
12171
|
+
alignedCropJpeg: string().optional()
|
|
12172
|
+
});
|
|
12173
|
+
/**
|
|
12053
12174
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12054
12175
|
* by both the Zod data schema (validation + default fallback) and
|
|
12055
12176
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12144,6 +12265,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12144
12265
|
kind: literal("remote-restream"),
|
|
12145
12266
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12146
12267
|
ownerNodeId: string(),
|
|
12268
|
+
/**
|
|
12269
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12270
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12271
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12272
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12273
|
+
*/
|
|
12274
|
+
ownerReachableHost: string().optional(),
|
|
12147
12275
|
/** Operator override for the owner host the runner dials. */
|
|
12148
12276
|
hubHostnameOverride: string().optional()
|
|
12149
12277
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12152,13 +12280,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12152
12280
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12153
12281
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12154
12282
|
*
|
|
12155
|
-
* Stateless-pipeline model: the
|
|
12156
|
-
*
|
|
12157
|
-
*
|
|
12158
|
-
*
|
|
12159
|
-
*
|
|
12160
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12161
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12283
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12284
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12285
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12286
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12287
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12162
12288
|
*/
|
|
12163
12289
|
var RunnerCameraConfigSchema = object({
|
|
12164
12290
|
deviceId: number(),
|
|
@@ -12209,14 +12335,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12209
12335
|
*/
|
|
12210
12336
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12211
12337
|
pipelineEnabled: boolean().default(true),
|
|
12212
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12213
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12214
12338
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12215
12339
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12216
12340
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12217
12341
|
audio: object({
|
|
12218
|
-
|
|
12219
|
-
modelId: string(),
|
|
12342
|
+
modelId: string().optional(),
|
|
12220
12343
|
enabled: boolean()
|
|
12221
12344
|
}).nullable().optional(),
|
|
12222
12345
|
/**
|
|
@@ -12303,7 +12426,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12303
12426
|
avgInferenceTimeMs: number(),
|
|
12304
12427
|
queueDepth: number()
|
|
12305
12428
|
});
|
|
12306
|
-
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())
|
|
12429
|
+
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({
|
|
12430
|
+
handle: FrameHandleSchema,
|
|
12431
|
+
bbox: NativeCropBboxSchema,
|
|
12432
|
+
maxWidth: number().int().positive().optional()
|
|
12433
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12434
|
+
deviceId: number(),
|
|
12435
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12436
|
+
cropJpeg: string().optional(),
|
|
12437
|
+
parent: DetailParentSchema,
|
|
12438
|
+
steps: array(string()).optional()
|
|
12439
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12307
12440
|
/**
|
|
12308
12441
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12309
12442
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15234,7 +15367,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15234
15367
|
icon: string(),
|
|
15235
15368
|
path: string(),
|
|
15236
15369
|
remoteName: string(),
|
|
15237
|
-
bundle: string()
|
|
15370
|
+
bundle: string(),
|
|
15371
|
+
section: string().optional(),
|
|
15372
|
+
sectionLabel: string().optional()
|
|
15238
15373
|
});
|
|
15239
15374
|
var AddonPageInfoSchema = object({
|
|
15240
15375
|
addonId: string(),
|
|
@@ -15274,7 +15409,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15274
15409
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15275
15410
|
* without a separate filesystem stat.
|
|
15276
15411
|
*/
|
|
15277
|
-
bundle: string()
|
|
15412
|
+
bundle: string(),
|
|
15413
|
+
/**
|
|
15414
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15415
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15416
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15417
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15418
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15419
|
+
* "Addon Pages" group.
|
|
15420
|
+
*/
|
|
15421
|
+
section: string().optional(),
|
|
15422
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15423
|
+
sectionLabel: string().optional()
|
|
15278
15424
|
});
|
|
15279
15425
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15280
15426
|
var AddonHttpRouteSchema = object({
|
|
@@ -15490,6 +15636,17 @@ var WidgetMetadataSchema = object({
|
|
|
15490
15636
|
deviceContext: boolean().default(false),
|
|
15491
15637
|
integrationContext: boolean().default(false)
|
|
15492
15638
|
}),
|
|
15639
|
+
/**
|
|
15640
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15641
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15642
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15643
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15644
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15645
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15646
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15647
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15648
|
+
*/
|
|
15649
|
+
preAuth: boolean().optional().default(false),
|
|
15493
15650
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15494
15651
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15495
15652
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15791,6 +15948,66 @@ method(object({
|
|
|
15791
15948
|
password: string()
|
|
15792
15949
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
15793
15950
|
/**
|
|
15951
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15952
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15953
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15954
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15955
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15956
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15957
|
+
*
|
|
15958
|
+
* A contribution is a discriminated union on `kind`:
|
|
15959
|
+
*
|
|
15960
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15961
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15962
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15963
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15964
|
+
* login page needs NO change.
|
|
15965
|
+
*
|
|
15966
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15967
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15968
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15969
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15970
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
15971
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
15972
|
+
*
|
|
15973
|
+
* Every contribution carries a `stage`:
|
|
15974
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
15975
|
+
* magic-link buttons; a future usernameless passkey).
|
|
15976
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
15977
|
+
* returned `factors` (passkey-as-2FA today).
|
|
15978
|
+
*
|
|
15979
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
15980
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
15981
|
+
* tRPC router.
|
|
15982
|
+
*/
|
|
15983
|
+
/** When a login method renders in the two-phase login flow. */
|
|
15984
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
15985
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
15986
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
15987
|
+
kind: literal("redirect"),
|
|
15988
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
15989
|
+
id: string(),
|
|
15990
|
+
/** Operator-facing button label. */
|
|
15991
|
+
label: string(),
|
|
15992
|
+
/** lucide-react icon name. */
|
|
15993
|
+
icon: string().optional(),
|
|
15994
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
15995
|
+
startUrl: string(),
|
|
15996
|
+
stage: LoginStageEnum
|
|
15997
|
+
}), object({
|
|
15998
|
+
kind: literal("widget"),
|
|
15999
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
16000
|
+
id: string(),
|
|
16001
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
16002
|
+
addonId: string(),
|
|
16003
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
16004
|
+
bundle: string(),
|
|
16005
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
16006
|
+
remote: WidgetRemoteSchema,
|
|
16007
|
+
stage: LoginStageEnum
|
|
16008
|
+
})]);
|
|
16009
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16010
|
+
/**
|
|
15794
16011
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15795
16012
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15796
16013
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17960,7 +18177,17 @@ var TrackSchema = object({
|
|
|
17960
18177
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17961
18178
|
totalDistance: number(),
|
|
17962
18179
|
state: TrackStateSchema,
|
|
17963
|
-
active: boolean()
|
|
18180
|
+
active: boolean(),
|
|
18181
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18182
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18183
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18184
|
+
importance: number().optional(),
|
|
18185
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18186
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18187
|
+
bestEventId: string().optional(),
|
|
18188
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18189
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18190
|
+
importanceReason: string().optional()
|
|
17964
18191
|
});
|
|
17965
18192
|
var BaseEventFields = {
|
|
17966
18193
|
id: string(),
|
|
@@ -18025,8 +18252,18 @@ var ObjectEventSchema = object({
|
|
|
18025
18252
|
frameHeight: number().optional(),
|
|
18026
18253
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
18027
18254
|
mediaKey: string().optional(),
|
|
18255
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18256
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18257
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18258
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18259
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18260
|
+
keyFrameMediaKey: string().optional(),
|
|
18028
18261
|
/** Populated by B5 (recording playback URL for this event). */
|
|
18029
|
-
mediaUrl: string().optional()
|
|
18262
|
+
mediaUrl: string().optional(),
|
|
18263
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18264
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18265
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18266
|
+
importance: number().optional()
|
|
18030
18267
|
});
|
|
18031
18268
|
var AudioEventSchema = object({
|
|
18032
18269
|
...BaseEventFields,
|
|
@@ -18050,7 +18287,8 @@ var MediaFileKindEnum = _enum([
|
|
|
18050
18287
|
"fullFrame",
|
|
18051
18288
|
"fullFrameBoxed",
|
|
18052
18289
|
"faceCrop",
|
|
18053
|
-
"plateCrop"
|
|
18290
|
+
"plateCrop",
|
|
18291
|
+
"keyFrame"
|
|
18054
18292
|
]);
|
|
18055
18293
|
var MediaFileSchema = object({
|
|
18056
18294
|
key: string(),
|
|
@@ -18071,6 +18309,32 @@ var DeviceEventQueryInput = object({
|
|
|
18071
18309
|
projection: _enum(["full", "slim"]).optional()
|
|
18072
18310
|
});
|
|
18073
18311
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18312
|
+
var KeyEventQueryInput = object({
|
|
18313
|
+
deviceId: number(),
|
|
18314
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18315
|
+
since: number(),
|
|
18316
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18317
|
+
until: number(),
|
|
18318
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18319
|
+
/** Drop tracks scoring below this importance. */
|
|
18320
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18321
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18322
|
+
classFilter: string().optional()
|
|
18323
|
+
});
|
|
18324
|
+
var KeyEventSchema = object({
|
|
18325
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18326
|
+
id: string(),
|
|
18327
|
+
trackId: string(),
|
|
18328
|
+
/** Track start time (firstSeen). */
|
|
18329
|
+
timestamp: number(),
|
|
18330
|
+
className: string(),
|
|
18331
|
+
label: string().optional(),
|
|
18332
|
+
importance: number(),
|
|
18333
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18334
|
+
bestEventId: string(),
|
|
18335
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18336
|
+
windowMs: number().optional()
|
|
18337
|
+
});
|
|
18074
18338
|
var TrackedDetectionSchema = object({
|
|
18075
18339
|
trackId: string(),
|
|
18076
18340
|
className: string(),
|
|
@@ -18100,7 +18364,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18100
18364
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18101
18365
|
kind: "mutation",
|
|
18102
18366
|
auth: "admin"
|
|
18103
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18367
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18104
18368
|
deviceId: number(),
|
|
18105
18369
|
since: number(),
|
|
18106
18370
|
until: number(),
|
|
@@ -18145,11 +18409,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18145
18409
|
timestamp: number()
|
|
18146
18410
|
});
|
|
18147
18411
|
var CameraPipelineConfigSchema = object({
|
|
18148
|
-
engine: PipelineEngineChoiceSchema,
|
|
18412
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18149
18413
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18150
18414
|
audio: object({
|
|
18151
|
-
engine: PipelineEngineChoiceSchema,
|
|
18152
|
-
modelId: string(),
|
|
18415
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18416
|
+
modelId: string().optional(),
|
|
18153
18417
|
enabled: boolean(),
|
|
18154
18418
|
settings: record(string(), unknown()).readonly().optional()
|
|
18155
18419
|
}).nullable().optional()
|
|
@@ -18164,7 +18428,7 @@ var PipelineTemplateSchema = object({
|
|
|
18164
18428
|
});
|
|
18165
18429
|
var AgentAddonConfigSchema = object({
|
|
18166
18430
|
enabled: boolean(),
|
|
18167
|
-
modelId: string(),
|
|
18431
|
+
modelId: string().optional(),
|
|
18168
18432
|
settings: record(string(), unknown()).readonly()
|
|
18169
18433
|
});
|
|
18170
18434
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18174,12 +18438,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18174
18438
|
detectWeight: number().positive().optional(),
|
|
18175
18439
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18176
18440
|
detect: boolean().optional(),
|
|
18177
|
-
/**
|
|
18441
|
+
/**
|
|
18442
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18443
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18444
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18445
|
+
* parse — no code reads it and no write path emits it.
|
|
18446
|
+
*/
|
|
18178
18447
|
decode: boolean().optional(),
|
|
18179
18448
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18180
18449
|
audio: boolean().optional(),
|
|
18181
18450
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18182
|
-
ingest: boolean().optional()
|
|
18451
|
+
ingest: boolean().optional(),
|
|
18452
|
+
/**
|
|
18453
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18454
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18455
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18456
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18457
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18458
|
+
*/
|
|
18459
|
+
reachableHost: string().optional()
|
|
18183
18460
|
});
|
|
18184
18461
|
var CameraPipelineForAgentSchema = object({
|
|
18185
18462
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18227,25 +18504,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18227
18504
|
assignedAt: number()
|
|
18228
18505
|
});
|
|
18229
18506
|
/**
|
|
18230
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18231
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18232
|
-
* → co-located with pipeline → capacity).
|
|
18233
|
-
*/
|
|
18234
|
-
var DecoderAssignmentSchema = object({
|
|
18235
|
-
deviceId: number(),
|
|
18236
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18237
|
-
decoderNodeId: string(),
|
|
18238
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18239
|
-
pinned: boolean(),
|
|
18240
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18241
|
-
reason: _enum([
|
|
18242
|
-
"manual",
|
|
18243
|
-
"co-located",
|
|
18244
|
-
"capacity",
|
|
18245
|
-
"hardware-affinity"
|
|
18246
|
-
])
|
|
18247
|
-
});
|
|
18248
|
-
/**
|
|
18249
18507
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18250
18508
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18251
18509
|
*/
|
|
@@ -18285,6 +18543,15 @@ var GlobalMetricsSchema = object({
|
|
|
18285
18543
|
* capability providers.
|
|
18286
18544
|
*/
|
|
18287
18545
|
var CapabilityBindingsSchema = record(string(), string());
|
|
18546
|
+
/**
|
|
18547
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18548
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18549
|
+
*/
|
|
18550
|
+
var IngestOwnerSchema = object({
|
|
18551
|
+
ownerNodeId: string(),
|
|
18552
|
+
reachableHost: string().optional(),
|
|
18553
|
+
configIssue: string().optional()
|
|
18554
|
+
});
|
|
18288
18555
|
/** Source block — always present; derives from the stream catalog. */
|
|
18289
18556
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18290
18557
|
camStreamId: string(),
|
|
@@ -18299,6 +18566,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18299
18566
|
detectionNodeId: string().nullable(),
|
|
18300
18567
|
decoderNodeId: string().nullable(),
|
|
18301
18568
|
audioNodeId: string().nullable(),
|
|
18569
|
+
/**
|
|
18570
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18571
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18572
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18573
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18574
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18575
|
+
*/
|
|
18576
|
+
sourceNodeId: string().nullable(),
|
|
18302
18577
|
pinned: object({
|
|
18303
18578
|
detection: boolean(),
|
|
18304
18579
|
decoder: boolean(),
|
|
@@ -18431,16 +18706,7 @@ method(object({
|
|
|
18431
18706
|
}), object({ success: literal(true) }), {
|
|
18432
18707
|
kind: "mutation",
|
|
18433
18708
|
auth: "admin"
|
|
18434
|
-
}), method(object({
|
|
18435
|
-
deviceId: number(),
|
|
18436
|
-
nodeId: string()
|
|
18437
|
-
}), _void(), {
|
|
18438
|
-
kind: "mutation",
|
|
18439
|
-
auth: "admin"
|
|
18440
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18441
|
-
kind: "mutation",
|
|
18442
|
-
auth: "admin"
|
|
18443
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18709
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18444
18710
|
deviceId: number(),
|
|
18445
18711
|
nodeId: string()
|
|
18446
18712
|
}), object({ success: literal(true) }), {
|
|
@@ -18461,10 +18727,7 @@ method(object({
|
|
|
18461
18727
|
nodeId: string(),
|
|
18462
18728
|
pinned: boolean(),
|
|
18463
18729
|
assignedAt: number()
|
|
18464
|
-
}))), method(object({
|
|
18465
|
-
deviceId: number(),
|
|
18466
|
-
pipelineNodeId: string().optional()
|
|
18467
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18730
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18468
18731
|
nodeId: string(),
|
|
18469
18732
|
settings: AgentPipelineSettingsSchema
|
|
18470
18733
|
})).readonly()), method(object({
|
|
@@ -18494,12 +18757,26 @@ method(object({
|
|
|
18494
18757
|
}), method(object({
|
|
18495
18758
|
agentNodeId: string(),
|
|
18496
18759
|
detect: boolean().nullable().optional(),
|
|
18497
|
-
decode: boolean().nullable().optional(),
|
|
18498
18760
|
audio: boolean().nullable().optional(),
|
|
18499
18761
|
ingest: boolean().nullable().optional()
|
|
18500
18762
|
}), object({ success: literal(true) }), {
|
|
18501
18763
|
kind: "mutation",
|
|
18502
18764
|
auth: "admin"
|
|
18765
|
+
}), method(object({
|
|
18766
|
+
agentNodeId: string(),
|
|
18767
|
+
reachableHost: string().nullable()
|
|
18768
|
+
}), object({ success: literal(true) }), {
|
|
18769
|
+
kind: "mutation",
|
|
18770
|
+
auth: "admin"
|
|
18771
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18772
|
+
success: literal(true),
|
|
18773
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18774
|
+
effectiveModelId: string().nullable(),
|
|
18775
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18776
|
+
clearedCameraOverrides: number()
|
|
18777
|
+
}), {
|
|
18778
|
+
kind: "mutation",
|
|
18779
|
+
auth: "admin"
|
|
18503
18780
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18504
18781
|
deviceId: number(),
|
|
18505
18782
|
addonId: string(),
|
|
@@ -18544,22 +18821,131 @@ method(object({
|
|
|
18544
18821
|
kind: "mutation",
|
|
18545
18822
|
auth: "admin"
|
|
18546
18823
|
});
|
|
18547
|
-
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
|
|
18551
|
-
|
|
18552
|
-
|
|
18824
|
+
/**
|
|
18825
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18826
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18827
|
+
* agents).
|
|
18828
|
+
*
|
|
18829
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18830
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18831
|
+
* version describes the node. Updates install into
|
|
18832
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18833
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18834
|
+
*
|
|
18835
|
+
* Providers:
|
|
18836
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18837
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18838
|
+
* unpinned calls.
|
|
18839
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18840
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18841
|
+
* `$hub.registerNode` manifest.
|
|
18842
|
+
*
|
|
18843
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18844
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18845
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18846
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18847
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18848
|
+
*
|
|
18849
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18850
|
+
*/
|
|
18851
|
+
/**
|
|
18852
|
+
* Where the running hub's code was loaded from:
|
|
18853
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18854
|
+
* plain resolution and runtime updates are refused.
|
|
18855
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18856
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18857
|
+
*/
|
|
18858
|
+
var ServerBootModeSchema = _enum([
|
|
18859
|
+
"workspace",
|
|
18860
|
+
"baked",
|
|
18861
|
+
"data-root"
|
|
18862
|
+
]);
|
|
18863
|
+
/**
|
|
18864
|
+
* Update lifecycle state:
|
|
18865
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18866
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18867
|
+
* restarted onto it (still running the OLD version).
|
|
18868
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18869
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18870
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18871
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18872
|
+
*/
|
|
18873
|
+
var ServerUpdateStateSchema = _enum([
|
|
18874
|
+
"idle",
|
|
18875
|
+
"checking",
|
|
18876
|
+
"staging",
|
|
18877
|
+
"pending-restart",
|
|
18878
|
+
"awaiting-confirmation"
|
|
18879
|
+
]);
|
|
18880
|
+
var ServerRollbackInfoSchema = object({
|
|
18881
|
+
/** The version that failed (or was manually rolled back). */
|
|
18882
|
+
fromVersion: string(),
|
|
18883
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18884
|
+
toVersion: string().nullable(),
|
|
18885
|
+
atMs: number(),
|
|
18886
|
+
reason: string()
|
|
18553
18887
|
});
|
|
18554
|
-
var
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
|
|
18888
|
+
var ServerPackageStatusSchema = object({
|
|
18889
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18890
|
+
packageName: string(),
|
|
18891
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18892
|
+
runningVersion: string().nullable(),
|
|
18893
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18894
|
+
nodeRuntimeVersion: string().nullable(),
|
|
18895
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18896
|
+
activeVersion: string().nullable(),
|
|
18897
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18898
|
+
previousVersion: string().nullable(),
|
|
18899
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18900
|
+
seedVersion: string().nullable(),
|
|
18901
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18902
|
+
latestVersion: string().nullable(),
|
|
18903
|
+
updateAvailable: boolean(),
|
|
18904
|
+
bootMode: ServerBootModeSchema,
|
|
18905
|
+
updateState: ServerUpdateStateSchema,
|
|
18906
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18907
|
+
pendingVersion: string().nullable(),
|
|
18908
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18909
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18910
|
+
/**
|
|
18911
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18912
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18913
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18914
|
+
*/
|
|
18915
|
+
stateFileCorrupt: boolean(),
|
|
18916
|
+
lastCheckedAtMs: number().nullable()
|
|
18917
|
+
});
|
|
18918
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18919
|
+
packageName: string(),
|
|
18920
|
+
runningVersion: string().nullable(),
|
|
18921
|
+
latestVersion: string().nullable(),
|
|
18922
|
+
updateAvailable: boolean(),
|
|
18923
|
+
checkedAtMs: number(),
|
|
18924
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18925
|
+
error: string().nullable()
|
|
18926
|
+
});
|
|
18927
|
+
var ServerUpdateActionResultSchema = object({
|
|
18928
|
+
accepted: boolean(),
|
|
18929
|
+
targetVersion: string().nullable(),
|
|
18930
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18931
|
+
restarting: boolean(),
|
|
18932
|
+
message: string()
|
|
18933
|
+
});
|
|
18934
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18935
|
+
kind: "mutation",
|
|
18936
|
+
auth: "admin"
|
|
18937
|
+
}), method(object({
|
|
18938
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18939
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
18940
|
+
kind: "mutation",
|
|
18941
|
+
auth: "admin"
|
|
18942
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18943
|
+
kind: "mutation",
|
|
18944
|
+
auth: "admin"
|
|
18945
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18946
|
+
kind: "mutation",
|
|
18947
|
+
auth: "admin"
|
|
18558
18948
|
});
|
|
18559
|
-
method(object({
|
|
18560
|
-
deviceId: number(),
|
|
18561
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18562
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18563
18949
|
/**
|
|
18564
18950
|
* Query filter for settings-store collections.
|
|
18565
18951
|
*/
|
|
@@ -18712,9 +19098,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18712
19098
|
/**
|
|
18713
19099
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18714
19100
|
*
|
|
18715
|
-
*
|
|
18716
|
-
*
|
|
18717
|
-
*
|
|
19101
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19102
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19103
|
+
* prebuffer fallback.
|
|
18718
19104
|
*/
|
|
18719
19105
|
var SnapshotImageSchema = object({
|
|
18720
19106
|
base64: string(),
|
|
@@ -18745,11 +19131,12 @@ DeviceType.Camera, method(object({
|
|
|
18745
19131
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18746
19132
|
kind: "mutation",
|
|
18747
19133
|
auth: "admin"
|
|
18748
|
-
})
|
|
18749
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
19134
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
18750
19135
|
deviceId: number(),
|
|
18751
|
-
|
|
18752
|
-
|
|
19136
|
+
lastCapturedAt: number().nullable(),
|
|
19137
|
+
cacheAgeMs: number().nullable(),
|
|
19138
|
+
etag: string().nullable()
|
|
19139
|
+
})));
|
|
18753
19140
|
/**
|
|
18754
19141
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18755
19142
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -19000,10 +19387,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
19000
19387
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
19001
19388
|
* the assertion, bumps the credential counter, returns ok.
|
|
19002
19389
|
*
|
|
19390
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19391
|
+
* passkey IS the primary factor, no password leg:
|
|
19392
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19393
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19394
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19395
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19396
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19397
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19398
|
+
* resolves the credential by the response's credential id,
|
|
19399
|
+
* verifies the assertion against the stored challenge + that
|
|
19400
|
+
* credential's public key/counter, and returns the OWNING
|
|
19401
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19402
|
+
*
|
|
19003
19403
|
* 3. Management:
|
|
19004
19404
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
19005
19405
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
19006
19406
|
*
|
|
19407
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19408
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19409
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19410
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19411
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19412
|
+
* row ⇒ `enabled: false`).
|
|
19413
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19414
|
+
* the providing addon beside its credentials.
|
|
19415
|
+
*
|
|
19007
19416
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
19008
19417
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
19009
19418
|
* the cap to non-admins.
|
|
@@ -19046,6 +19455,17 @@ method(object({
|
|
|
19046
19455
|
}), object({ verified: boolean() }), {
|
|
19047
19456
|
kind: "mutation",
|
|
19048
19457
|
access: "view"
|
|
19458
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19459
|
+
kind: "mutation",
|
|
19460
|
+
access: "view"
|
|
19461
|
+
}), method(object({
|
|
19462
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19463
|
+
response: record(string(), unknown()) }), object({
|
|
19464
|
+
verified: boolean(),
|
|
19465
|
+
userId: string().nullable()
|
|
19466
|
+
}), {
|
|
19467
|
+
kind: "mutation",
|
|
19468
|
+
access: "view"
|
|
19049
19469
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
19050
19470
|
userId: string(),
|
|
19051
19471
|
credentialId: string()
|
|
@@ -19053,6 +19473,13 @@ method(object({
|
|
|
19053
19473
|
kind: "mutation",
|
|
19054
19474
|
auth: "admin",
|
|
19055
19475
|
access: "delete"
|
|
19476
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19477
|
+
userId: string(),
|
|
19478
|
+
enabled: boolean()
|
|
19479
|
+
}), object({ success: literal(true) }), {
|
|
19480
|
+
kind: "mutation",
|
|
19481
|
+
auth: "admin",
|
|
19482
|
+
access: "create"
|
|
19056
19483
|
});
|
|
19057
19484
|
/**
|
|
19058
19485
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19110,9 +19537,10 @@ method(object({
|
|
|
19110
19537
|
auth: "admin"
|
|
19111
19538
|
});
|
|
19112
19539
|
/**
|
|
19113
|
-
* Optional client-side hints sent at session creation to help the
|
|
19114
|
-
*
|
|
19115
|
-
*
|
|
19540
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19541
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19542
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19543
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19116
19544
|
*/
|
|
19117
19545
|
var webrtcClientHintsSchema = object({
|
|
19118
19546
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19123,22 +19551,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19123
19551
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19124
19552
|
prefersTier: string().optional()
|
|
19125
19553
|
}).partial();
|
|
19126
|
-
method(object({
|
|
19127
|
-
streamId: string(),
|
|
19128
|
-
sdpOffer: string()
|
|
19129
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
19130
|
-
streamId: string(),
|
|
19131
|
-
codec: string()
|
|
19132
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
19133
|
-
streamId: string(),
|
|
19134
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19135
|
-
}), object({
|
|
19136
|
-
sessionId: string(),
|
|
19137
|
-
sdpOffer: string()
|
|
19138
|
-
}), { kind: "mutation" }), method(object({
|
|
19139
|
-
sessionId: string(),
|
|
19140
|
-
sdpAnswer: string()
|
|
19141
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
19142
19554
|
/**
|
|
19143
19555
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19144
19556
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19869,7 +20281,17 @@ var FaceInfoSchema = object({
|
|
|
19869
20281
|
recognizedIdentityId: string().optional(),
|
|
19870
20282
|
identityName: string().optional(),
|
|
19871
20283
|
assigned: boolean(),
|
|
19872
|
-
base64: string().optional()
|
|
20284
|
+
base64: string().optional(),
|
|
20285
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20286
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20287
|
+
* legacy rows written before design B. */
|
|
20288
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20289
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20290
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20291
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20292
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20293
|
+
* back to the inline `base64` face crop. */
|
|
20294
|
+
keyFrameMediaKey: string().optional()
|
|
19873
20295
|
});
|
|
19874
20296
|
var FaceFilterEnum = _enum([
|
|
19875
20297
|
"unassigned",
|
|
@@ -20566,6 +20988,16 @@ var TopologyCategorySchema = object({
|
|
|
20566
20988
|
healthy: number(),
|
|
20567
20989
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20568
20990
|
});
|
|
20991
|
+
/**
|
|
20992
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
20993
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
20994
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
20995
|
+
* rows and pre-phase-2 nodes report none.
|
|
20996
|
+
*/
|
|
20997
|
+
var TopologyRootPackageSchema = object({
|
|
20998
|
+
name: string(),
|
|
20999
|
+
version: string()
|
|
21000
|
+
});
|
|
20569
21001
|
var TopologyNodeSchema = object({
|
|
20570
21002
|
id: string(),
|
|
20571
21003
|
name: string(),
|
|
@@ -20589,7 +21021,8 @@ var TopologyNodeSchema = object({
|
|
|
20589
21021
|
status: string()
|
|
20590
21022
|
})).readonly(),
|
|
20591
21023
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20592
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
21024
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
21025
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20593
21026
|
});
|
|
20594
21027
|
var CapUsageEdgeSchema = object({
|
|
20595
21028
|
callerAddonId: string(),
|
|
@@ -23389,6 +23822,12 @@ Object.freeze({
|
|
|
23389
23822
|
addonId: null,
|
|
23390
23823
|
access: "create"
|
|
23391
23824
|
},
|
|
23825
|
+
"loginMethod.getLoginMethods": {
|
|
23826
|
+
capName: "login-method",
|
|
23827
|
+
capScope: "system",
|
|
23828
|
+
addonId: null,
|
|
23829
|
+
access: "view"
|
|
23830
|
+
},
|
|
23392
23831
|
"mediaPlayer.next": {
|
|
23393
23832
|
capName: "media-player",
|
|
23394
23833
|
capScope: "device",
|
|
@@ -23971,6 +24410,12 @@ Object.freeze({
|
|
|
23971
24410
|
addonId: null,
|
|
23972
24411
|
access: "view"
|
|
23973
24412
|
},
|
|
24413
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24414
|
+
capName: "pipeline-analytics",
|
|
24415
|
+
capScope: "device",
|
|
24416
|
+
addonId: null,
|
|
24417
|
+
access: "view"
|
|
24418
|
+
},
|
|
23974
24419
|
"pipelineAnalytics.getMotionEvents": {
|
|
23975
24420
|
capName: "pipeline-analytics",
|
|
23976
24421
|
capScope: "device",
|
|
@@ -24019,23 +24464,23 @@ Object.freeze({
|
|
|
24019
24464
|
addonId: null,
|
|
24020
24465
|
access: "create"
|
|
24021
24466
|
},
|
|
24022
|
-
"pipelineExecutor.
|
|
24467
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
24023
24468
|
capName: "pipeline-executor",
|
|
24024
24469
|
capScope: "system",
|
|
24025
24470
|
addonId: null,
|
|
24026
24471
|
access: "delete"
|
|
24027
24472
|
},
|
|
24028
|
-
"pipelineExecutor.
|
|
24473
|
+
"pipelineExecutor.deleteModel": {
|
|
24029
24474
|
capName: "pipeline-executor",
|
|
24030
24475
|
capScope: "system",
|
|
24031
24476
|
addonId: null,
|
|
24032
24477
|
access: "delete"
|
|
24033
24478
|
},
|
|
24034
|
-
"pipelineExecutor.
|
|
24479
|
+
"pipelineExecutor.deleteTemplate": {
|
|
24035
24480
|
capName: "pipeline-executor",
|
|
24036
24481
|
capScope: "system",
|
|
24037
24482
|
addonId: null,
|
|
24038
|
-
access: "
|
|
24483
|
+
access: "delete"
|
|
24039
24484
|
},
|
|
24040
24485
|
"pipelineExecutor.downloadModel": {
|
|
24041
24486
|
capName: "pipeline-executor",
|
|
@@ -24229,13 +24674,13 @@ Object.freeze({
|
|
|
24229
24674
|
addonId: null,
|
|
24230
24675
|
access: "create"
|
|
24231
24676
|
},
|
|
24232
|
-
"
|
|
24233
|
-
capName: "pipeline-
|
|
24677
|
+
"pipelineExecutor.validatePipeline": {
|
|
24678
|
+
capName: "pipeline-executor",
|
|
24234
24679
|
capScope: "system",
|
|
24235
24680
|
addonId: null,
|
|
24236
|
-
access: "
|
|
24681
|
+
access: "view"
|
|
24237
24682
|
},
|
|
24238
|
-
"pipelineOrchestrator.
|
|
24683
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24239
24684
|
capName: "pipeline-orchestrator",
|
|
24240
24685
|
capScope: "system",
|
|
24241
24686
|
addonId: null,
|
|
@@ -24319,19 +24764,13 @@ Object.freeze({
|
|
|
24319
24764
|
addonId: null,
|
|
24320
24765
|
access: "view"
|
|
24321
24766
|
},
|
|
24322
|
-
"pipelineOrchestrator.
|
|
24767
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24323
24768
|
capName: "pipeline-orchestrator",
|
|
24324
24769
|
capScope: "system",
|
|
24325
24770
|
addonId: null,
|
|
24326
24771
|
access: "view"
|
|
24327
24772
|
},
|
|
24328
|
-
"pipelineOrchestrator.
|
|
24329
|
-
capName: "pipeline-orchestrator",
|
|
24330
|
-
capScope: "system",
|
|
24331
|
-
addonId: null,
|
|
24332
|
-
access: "view"
|
|
24333
|
-
},
|
|
24334
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24773
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24335
24774
|
capName: "pipeline-orchestrator",
|
|
24336
24775
|
capScope: "system",
|
|
24337
24776
|
addonId: null,
|
|
@@ -24373,6 +24812,12 @@ Object.freeze({
|
|
|
24373
24812
|
addonId: null,
|
|
24374
24813
|
access: "delete"
|
|
24375
24814
|
},
|
|
24815
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24816
|
+
capName: "pipeline-orchestrator",
|
|
24817
|
+
capScope: "system",
|
|
24818
|
+
addonId: null,
|
|
24819
|
+
access: "delete"
|
|
24820
|
+
},
|
|
24376
24821
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24377
24822
|
capName: "pipeline-orchestrator",
|
|
24378
24823
|
capScope: "system",
|
|
@@ -24409,37 +24854,37 @@ Object.freeze({
|
|
|
24409
24854
|
addonId: null,
|
|
24410
24855
|
access: "create"
|
|
24411
24856
|
},
|
|
24412
|
-
"pipelineOrchestrator.
|
|
24857
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24413
24858
|
capName: "pipeline-orchestrator",
|
|
24414
24859
|
capScope: "system",
|
|
24415
24860
|
addonId: null,
|
|
24416
24861
|
access: "create"
|
|
24417
24862
|
},
|
|
24418
|
-
"pipelineOrchestrator.
|
|
24863
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24419
24864
|
capName: "pipeline-orchestrator",
|
|
24420
24865
|
capScope: "system",
|
|
24421
24866
|
addonId: null,
|
|
24422
24867
|
access: "create"
|
|
24423
24868
|
},
|
|
24424
|
-
"pipelineOrchestrator.
|
|
24869
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24425
24870
|
capName: "pipeline-orchestrator",
|
|
24426
24871
|
capScope: "system",
|
|
24427
24872
|
addonId: null,
|
|
24428
24873
|
access: "create"
|
|
24429
24874
|
},
|
|
24430
|
-
"pipelineOrchestrator.
|
|
24875
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24431
24876
|
capName: "pipeline-orchestrator",
|
|
24432
24877
|
capScope: "system",
|
|
24433
24878
|
addonId: null,
|
|
24434
24879
|
access: "create"
|
|
24435
24880
|
},
|
|
24436
|
-
"pipelineOrchestrator.
|
|
24881
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24437
24882
|
capName: "pipeline-orchestrator",
|
|
24438
24883
|
capScope: "system",
|
|
24439
24884
|
addonId: null,
|
|
24440
24885
|
access: "create"
|
|
24441
24886
|
},
|
|
24442
|
-
"pipelineOrchestrator.
|
|
24887
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24443
24888
|
capName: "pipeline-orchestrator",
|
|
24444
24889
|
capScope: "system",
|
|
24445
24890
|
addonId: null,
|
|
@@ -24499,12 +24944,24 @@ Object.freeze({
|
|
|
24499
24944
|
addonId: null,
|
|
24500
24945
|
access: "view"
|
|
24501
24946
|
},
|
|
24947
|
+
"pipelineRunner.getNativeCrop": {
|
|
24948
|
+
capName: "pipeline-runner",
|
|
24949
|
+
capScope: "system",
|
|
24950
|
+
addonId: null,
|
|
24951
|
+
access: "view"
|
|
24952
|
+
},
|
|
24502
24953
|
"pipelineRunner.reportMotion": {
|
|
24503
24954
|
capName: "pipeline-runner",
|
|
24504
24955
|
capScope: "system",
|
|
24505
24956
|
addonId: null,
|
|
24506
24957
|
access: "create"
|
|
24507
24958
|
},
|
|
24959
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24960
|
+
capName: "pipeline-runner",
|
|
24961
|
+
capScope: "system",
|
|
24962
|
+
addonId: null,
|
|
24963
|
+
access: "create"
|
|
24964
|
+
},
|
|
24508
24965
|
"plateGallery.correctPlateText": {
|
|
24509
24966
|
capName: "plate-gallery",
|
|
24510
24967
|
capScope: "system",
|
|
@@ -24739,33 +25196,45 @@ Object.freeze({
|
|
|
24739
25196
|
addonId: null,
|
|
24740
25197
|
access: "create"
|
|
24741
25198
|
},
|
|
24742
|
-
"
|
|
24743
|
-
capName: "
|
|
25199
|
+
"scriptRunner.run": {
|
|
25200
|
+
capName: "script-runner",
|
|
25201
|
+
capScope: "device",
|
|
25202
|
+
addonId: null,
|
|
25203
|
+
access: "create"
|
|
25204
|
+
},
|
|
25205
|
+
"scriptRunner.stop": {
|
|
25206
|
+
capName: "script-runner",
|
|
25207
|
+
capScope: "device",
|
|
25208
|
+
addonId: null,
|
|
25209
|
+
access: "create"
|
|
25210
|
+
},
|
|
25211
|
+
"serverManagement.applyServerUpdate": {
|
|
25212
|
+
capName: "server-management",
|
|
24744
25213
|
capScope: "system",
|
|
24745
25214
|
addonId: null,
|
|
24746
|
-
access: "
|
|
25215
|
+
access: "create"
|
|
24747
25216
|
},
|
|
24748
|
-
"
|
|
24749
|
-
capName: "
|
|
25217
|
+
"serverManagement.checkServerUpdate": {
|
|
25218
|
+
capName: "server-management",
|
|
24750
25219
|
capScope: "system",
|
|
24751
25220
|
addonId: null,
|
|
24752
25221
|
access: "create"
|
|
24753
25222
|
},
|
|
24754
|
-
"
|
|
24755
|
-
capName: "
|
|
25223
|
+
"serverManagement.getServerPackageStatus": {
|
|
25224
|
+
capName: "server-management",
|
|
24756
25225
|
capScope: "system",
|
|
24757
25226
|
addonId: null,
|
|
24758
|
-
access: "
|
|
25227
|
+
access: "view"
|
|
24759
25228
|
},
|
|
24760
|
-
"
|
|
24761
|
-
capName: "
|
|
24762
|
-
capScope: "
|
|
25229
|
+
"serverManagement.restartServer": {
|
|
25230
|
+
capName: "server-management",
|
|
25231
|
+
capScope: "system",
|
|
24763
25232
|
addonId: null,
|
|
24764
25233
|
access: "create"
|
|
24765
25234
|
},
|
|
24766
|
-
"
|
|
24767
|
-
capName: "
|
|
24768
|
-
capScope: "
|
|
25235
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25236
|
+
capName: "server-management",
|
|
25237
|
+
capScope: "system",
|
|
24769
25238
|
addonId: null,
|
|
24770
25239
|
access: "create"
|
|
24771
25240
|
},
|
|
@@ -24853,23 +25322,17 @@ Object.freeze({
|
|
|
24853
25322
|
addonId: null,
|
|
24854
25323
|
access: "view"
|
|
24855
25324
|
},
|
|
24856
|
-
"snapshot.
|
|
25325
|
+
"snapshot.getSnapshotOverview": {
|
|
24857
25326
|
capName: "snapshot",
|
|
24858
25327
|
capScope: "device",
|
|
24859
25328
|
addonId: null,
|
|
24860
|
-
access: "create"
|
|
24861
|
-
},
|
|
24862
|
-
"snapshotProvider.getSnapshot": {
|
|
24863
|
-
capName: "snapshot-provider",
|
|
24864
|
-
capScope: "system",
|
|
24865
|
-
addonId: null,
|
|
24866
25329
|
access: "view"
|
|
24867
25330
|
},
|
|
24868
|
-
"
|
|
24869
|
-
capName: "snapshot
|
|
24870
|
-
capScope: "
|
|
25331
|
+
"snapshot.invalidateCache": {
|
|
25332
|
+
capName: "snapshot",
|
|
25333
|
+
capScope: "device",
|
|
24871
25334
|
addonId: null,
|
|
24872
|
-
access: "
|
|
25335
|
+
access: "create"
|
|
24873
25336
|
},
|
|
24874
25337
|
"ssoBridge.signBridgeToken": {
|
|
24875
25338
|
capName: "sso-bridge",
|
|
@@ -25297,30 +25760,6 @@ Object.freeze({
|
|
|
25297
25760
|
addonId: null,
|
|
25298
25761
|
access: "view"
|
|
25299
25762
|
},
|
|
25300
|
-
"streamingEngine.getStreamUrl": {
|
|
25301
|
-
capName: "streaming-engine",
|
|
25302
|
-
capScope: "system",
|
|
25303
|
-
addonId: null,
|
|
25304
|
-
access: "view"
|
|
25305
|
-
},
|
|
25306
|
-
"streamingEngine.listStreams": {
|
|
25307
|
-
capName: "streaming-engine",
|
|
25308
|
-
capScope: "system",
|
|
25309
|
-
addonId: null,
|
|
25310
|
-
access: "view"
|
|
25311
|
-
},
|
|
25312
|
-
"streamingEngine.registerStream": {
|
|
25313
|
-
capName: "streaming-engine",
|
|
25314
|
-
capScope: "system",
|
|
25315
|
-
addonId: null,
|
|
25316
|
-
access: "create"
|
|
25317
|
-
},
|
|
25318
|
-
"streamingEngine.unregisterStream": {
|
|
25319
|
-
capName: "streaming-engine",
|
|
25320
|
-
capScope: "system",
|
|
25321
|
-
addonId: null,
|
|
25322
|
-
access: "delete"
|
|
25323
|
-
},
|
|
25324
25763
|
"streamParams.getConfigSchema": {
|
|
25325
25764
|
capName: "stream-params",
|
|
25326
25765
|
capScope: "device",
|
|
@@ -25567,6 +26006,12 @@ Object.freeze({
|
|
|
25567
26006
|
addonId: null,
|
|
25568
26007
|
access: "view"
|
|
25569
26008
|
},
|
|
26009
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
26010
|
+
capName: "user-passkeys",
|
|
26011
|
+
capScope: "system",
|
|
26012
|
+
addonId: null,
|
|
26013
|
+
access: "view"
|
|
26014
|
+
},
|
|
25570
26015
|
"userPasskeys.beginRegistration": {
|
|
25571
26016
|
capName: "user-passkeys",
|
|
25572
26017
|
capScope: "system",
|
|
@@ -25579,12 +26024,24 @@ Object.freeze({
|
|
|
25579
26024
|
addonId: null,
|
|
25580
26025
|
access: "view"
|
|
25581
26026
|
},
|
|
26027
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
26028
|
+
capName: "user-passkeys",
|
|
26029
|
+
capScope: "system",
|
|
26030
|
+
addonId: null,
|
|
26031
|
+
access: "view"
|
|
26032
|
+
},
|
|
25582
26033
|
"userPasskeys.finishRegistration": {
|
|
25583
26034
|
capName: "user-passkeys",
|
|
25584
26035
|
capScope: "system",
|
|
25585
26036
|
addonId: null,
|
|
25586
26037
|
access: "create"
|
|
25587
26038
|
},
|
|
26039
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
26040
|
+
capName: "user-passkeys",
|
|
26041
|
+
capScope: "system",
|
|
26042
|
+
addonId: null,
|
|
26043
|
+
access: "view"
|
|
26044
|
+
},
|
|
25588
26045
|
"userPasskeys.listPasskeys": {
|
|
25589
26046
|
capName: "user-passkeys",
|
|
25590
26047
|
capScope: "system",
|
|
@@ -25597,6 +26054,12 @@ Object.freeze({
|
|
|
25597
26054
|
addonId: null,
|
|
25598
26055
|
access: "delete"
|
|
25599
26056
|
},
|
|
26057
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26058
|
+
capName: "user-passkeys",
|
|
26059
|
+
capScope: "system",
|
|
26060
|
+
addonId: null,
|
|
26061
|
+
access: "create"
|
|
26062
|
+
},
|
|
25600
26063
|
"vacuumControl.locate": {
|
|
25601
26064
|
capName: "vacuum-control",
|
|
25602
26065
|
capScope: "device",
|
|
@@ -25669,6 +26132,18 @@ Object.freeze({
|
|
|
25669
26132
|
addonId: null,
|
|
25670
26133
|
access: "view"
|
|
25671
26134
|
},
|
|
26135
|
+
"viewerUi.getStaticDir": {
|
|
26136
|
+
capName: "viewer-ui",
|
|
26137
|
+
capScope: "system",
|
|
26138
|
+
addonId: null,
|
|
26139
|
+
access: "view"
|
|
26140
|
+
},
|
|
26141
|
+
"viewerUi.getVersion": {
|
|
26142
|
+
capName: "viewer-ui",
|
|
26143
|
+
capScope: "system",
|
|
26144
|
+
addonId: null,
|
|
26145
|
+
access: "view"
|
|
26146
|
+
},
|
|
25672
26147
|
"waterHeater.setAway": {
|
|
25673
26148
|
capName: "water-heater",
|
|
25674
26149
|
capScope: "device",
|
|
@@ -25687,54 +26162,6 @@ Object.freeze({
|
|
|
25687
26162
|
addonId: null,
|
|
25688
26163
|
access: "create"
|
|
25689
26164
|
},
|
|
25690
|
-
"webrtc.closeSession": {
|
|
25691
|
-
capName: "webrtc",
|
|
25692
|
-
capScope: "system",
|
|
25693
|
-
addonId: null,
|
|
25694
|
-
access: "create"
|
|
25695
|
-
},
|
|
25696
|
-
"webrtc.createSession": {
|
|
25697
|
-
capName: "webrtc",
|
|
25698
|
-
capScope: "system",
|
|
25699
|
-
addonId: null,
|
|
25700
|
-
access: "create"
|
|
25701
|
-
},
|
|
25702
|
-
"webrtc.handleAnswer": {
|
|
25703
|
-
capName: "webrtc",
|
|
25704
|
-
capScope: "system",
|
|
25705
|
-
addonId: null,
|
|
25706
|
-
access: "create"
|
|
25707
|
-
},
|
|
25708
|
-
"webrtc.handleOffer": {
|
|
25709
|
-
capName: "webrtc",
|
|
25710
|
-
capScope: "system",
|
|
25711
|
-
addonId: null,
|
|
25712
|
-
access: "create"
|
|
25713
|
-
},
|
|
25714
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25715
|
-
capName: "webrtc",
|
|
25716
|
-
capScope: "system",
|
|
25717
|
-
addonId: null,
|
|
25718
|
-
access: "view"
|
|
25719
|
-
},
|
|
25720
|
-
"webrtc.registerStream": {
|
|
25721
|
-
capName: "webrtc",
|
|
25722
|
-
capScope: "system",
|
|
25723
|
-
addonId: null,
|
|
25724
|
-
access: "create"
|
|
25725
|
-
},
|
|
25726
|
-
"webrtc.supportsStream": {
|
|
25727
|
-
capName: "webrtc",
|
|
25728
|
-
capScope: "system",
|
|
25729
|
-
addonId: null,
|
|
25730
|
-
access: "view"
|
|
25731
|
-
},
|
|
25732
|
-
"webrtc.unregisterStream": {
|
|
25733
|
-
capName: "webrtc",
|
|
25734
|
-
capScope: "system",
|
|
25735
|
-
addonId: null,
|
|
25736
|
-
access: "delete"
|
|
25737
|
-
},
|
|
25738
26165
|
"webrtcSession.addIceCandidate": {
|
|
25739
26166
|
capName: "webrtc-session",
|
|
25740
26167
|
capScope: "device",
|