@camstack/addon-provider-tuya 0.1.6 → 0.1.8
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
|
@@ -4646,7 +4646,7 @@ function preprocess(fn, schema) {
|
|
|
4646
4646
|
});
|
|
4647
4647
|
}
|
|
4648
4648
|
//#endregion
|
|
4649
|
-
//#region ../types/dist/sleep-
|
|
4649
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4650
4650
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4651
4651
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4652
4652
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4832,6 +4832,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4832
4832
|
*/
|
|
4833
4833
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4834
4834
|
/**
|
|
4835
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4836
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4837
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4838
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4839
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4840
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4841
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4842
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4843
|
+
* broker's long backstop reconcile query).
|
|
4844
|
+
*/
|
|
4845
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4846
|
+
/**
|
|
4835
4847
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4836
4848
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4837
4849
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5355,10 +5367,6 @@ function hydrateField(field, values) {
|
|
|
5355
5367
|
};
|
|
5356
5368
|
}
|
|
5357
5369
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5358
|
-
if (field.type === "password") return {
|
|
5359
|
-
...field,
|
|
5360
|
-
value: ""
|
|
5361
|
-
};
|
|
5362
5370
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5363
5371
|
return {
|
|
5364
5372
|
...field,
|
|
@@ -6742,10 +6750,25 @@ function method(input, output, options) {
|
|
|
6742
6750
|
timeoutMs: options?.timeoutMs
|
|
6743
6751
|
};
|
|
6744
6752
|
}
|
|
6753
|
+
/**
|
|
6754
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6755
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6756
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6757
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6758
|
+
*/
|
|
6759
|
+
function systemMethod(input, output, options) {
|
|
6760
|
+
return {
|
|
6761
|
+
...method(input, output, options),
|
|
6762
|
+
systemOnly: true
|
|
6763
|
+
};
|
|
6764
|
+
}
|
|
6745
6765
|
/** Shorthand to define an event schema */
|
|
6746
6766
|
function event(data) {
|
|
6747
6767
|
return { data };
|
|
6748
6768
|
}
|
|
6769
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6770
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6771
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6749
6772
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6750
6773
|
var VersionOutputSchema = object({ version: string() });
|
|
6751
6774
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6927,6 +6950,36 @@ var ModelFormatsSchema = object({
|
|
|
6927
6950
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6928
6951
|
pt: ModelFormatEntrySchema.optional()
|
|
6929
6952
|
});
|
|
6953
|
+
/**
|
|
6954
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6955
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6956
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6957
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6958
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6959
|
+
* to an `id`.
|
|
6960
|
+
*/
|
|
6961
|
+
var ModelVariantGroupSchema = object({
|
|
6962
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6963
|
+
family: string(),
|
|
6964
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6965
|
+
tier: string(),
|
|
6966
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6967
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6968
|
+
/**
|
|
6969
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6970
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6971
|
+
* future performance variants plug into.
|
|
6972
|
+
*/
|
|
6973
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6974
|
+
/**
|
|
6975
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6976
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6977
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6978
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6979
|
+
* the group so the selector can offer it as a variant axis.
|
|
6980
|
+
*/
|
|
6981
|
+
resolution: number().int().positive().optional()
|
|
6982
|
+
});
|
|
6930
6983
|
var ModelCatalogEntrySchema = object({
|
|
6931
6984
|
id: string(),
|
|
6932
6985
|
name: string(),
|
|
@@ -6956,7 +7009,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6956
7009
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6957
7010
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6958
7011
|
*/
|
|
6959
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7012
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7013
|
+
/**
|
|
7014
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7015
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7016
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7017
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7018
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7019
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7020
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7021
|
+
*/
|
|
7022
|
+
legacy: boolean().optional(),
|
|
7023
|
+
/**
|
|
7024
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7025
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7026
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7027
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7028
|
+
*/
|
|
7029
|
+
metrics: object({
|
|
7030
|
+
map50: number().optional(),
|
|
7031
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7032
|
+
}).optional(),
|
|
7033
|
+
/**
|
|
7034
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7035
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7036
|
+
* the retraining addon and any future commercial distribution.
|
|
7037
|
+
*/
|
|
7038
|
+
license: string().optional(),
|
|
7039
|
+
/**
|
|
7040
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7041
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7042
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7043
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7044
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7045
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7046
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7047
|
+
*/
|
|
7048
|
+
group: ModelVariantGroupSchema.optional()
|
|
6960
7049
|
});
|
|
6961
7050
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6962
7051
|
format: literal("openvino"),
|
|
@@ -7017,8 +7106,8 @@ var RecordingModeSchema = _enum([
|
|
|
7017
7106
|
"onAudioThreshold"
|
|
7018
7107
|
]);
|
|
7019
7108
|
/**
|
|
7020
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7021
|
-
* reads directly (never inferred from `rules`):
|
|
7109
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7110
|
+
* UI reads directly (never inferred from `rules`):
|
|
7022
7111
|
* - `off` — not recording.
|
|
7023
7112
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7024
7113
|
* with pre/post-buffer.
|
|
@@ -9181,26 +9270,13 @@ onBrightnessChanged: { data: object({
|
|
|
9181
9270
|
*/
|
|
9182
9271
|
runtimeState: BrightnessStatusSchema
|
|
9183
9272
|
};
|
|
9273
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9184
9274
|
var StreamFormatSchema = _enum([
|
|
9185
9275
|
"webrtc",
|
|
9186
9276
|
"hls",
|
|
9187
9277
|
"mjpeg",
|
|
9188
9278
|
"rtsp"
|
|
9189
9279
|
]);
|
|
9190
|
-
var StreamInfoSchema = object({
|
|
9191
|
-
streamId: string(),
|
|
9192
|
-
format: StreamFormatSchema,
|
|
9193
|
-
url: string().nullable(),
|
|
9194
|
-
active: boolean()
|
|
9195
|
-
});
|
|
9196
|
-
method(object({
|
|
9197
|
-
streamId: string(),
|
|
9198
|
-
sourceUrl: string(),
|
|
9199
|
-
codec: string().optional()
|
|
9200
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
9201
|
-
streamId: string(),
|
|
9202
|
-
format: StreamFormatSchema
|
|
9203
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9204
9280
|
var RtspRestreamEntrySchema = object({
|
|
9205
9281
|
brokerId: string(),
|
|
9206
9282
|
url: string(),
|
|
@@ -10068,37 +10144,7 @@ var consumablesCapability = {
|
|
|
10068
10144
|
scope: "device",
|
|
10069
10145
|
deviceNative: true,
|
|
10070
10146
|
mode: "singleton",
|
|
10071
|
-
deviceTypes:
|
|
10072
|
-
DeviceType.Camera,
|
|
10073
|
-
DeviceType.Hub,
|
|
10074
|
-
DeviceType.Light,
|
|
10075
|
-
DeviceType.Siren,
|
|
10076
|
-
DeviceType.Switch,
|
|
10077
|
-
DeviceType.Sensor,
|
|
10078
|
-
DeviceType.Thermostat,
|
|
10079
|
-
DeviceType.Button,
|
|
10080
|
-
DeviceType.EventEmitter,
|
|
10081
|
-
DeviceType.Update,
|
|
10082
|
-
DeviceType.Generic,
|
|
10083
|
-
DeviceType.Notifier,
|
|
10084
|
-
DeviceType.Script,
|
|
10085
|
-
DeviceType.Automation,
|
|
10086
|
-
DeviceType.Lock,
|
|
10087
|
-
DeviceType.Cover,
|
|
10088
|
-
DeviceType.Valve,
|
|
10089
|
-
DeviceType.Humidifier,
|
|
10090
|
-
DeviceType.WaterHeater,
|
|
10091
|
-
DeviceType.Fan,
|
|
10092
|
-
DeviceType.MediaPlayer,
|
|
10093
|
-
DeviceType.AlarmPanel,
|
|
10094
|
-
DeviceType.Control,
|
|
10095
|
-
DeviceType.Presence,
|
|
10096
|
-
DeviceType.Weather,
|
|
10097
|
-
DeviceType.Vacuum,
|
|
10098
|
-
DeviceType.LawnMower,
|
|
10099
|
-
DeviceType.Container,
|
|
10100
|
-
DeviceType.Image
|
|
10101
|
-
],
|
|
10147
|
+
deviceTypes: Object.values(DeviceType),
|
|
10102
10148
|
deviceConfig: { ui: {
|
|
10103
10149
|
kind: "widget",
|
|
10104
10150
|
widgetId: "host/consumables-panel",
|
|
@@ -11556,7 +11602,7 @@ var BoundingBoxSchema = object({
|
|
|
11556
11602
|
w: number(),
|
|
11557
11603
|
h: number()
|
|
11558
11604
|
});
|
|
11559
|
-
|
|
11605
|
+
object({
|
|
11560
11606
|
class: string(),
|
|
11561
11607
|
originalClass: string(),
|
|
11562
11608
|
score: number(),
|
|
@@ -11691,7 +11737,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11691
11737
|
enabled: boolean(),
|
|
11692
11738
|
modelId: string(),
|
|
11693
11739
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11694
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11695
11740
|
group: string().optional(),
|
|
11696
11741
|
settings: record(string(), unknown()).optional()
|
|
11697
11742
|
}));
|
|
@@ -11716,7 +11761,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11716
11761
|
formats: record(string(), object({
|
|
11717
11762
|
downloaded: boolean(),
|
|
11718
11763
|
sizeMB: number()
|
|
11719
|
-
}))
|
|
11764
|
+
})),
|
|
11765
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11766
|
+
legacy: boolean().optional()
|
|
11720
11767
|
});
|
|
11721
11768
|
var ConfigFieldBridge = custom();
|
|
11722
11769
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11730,6 +11777,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11730
11777
|
defaultModelId: string(),
|
|
11731
11778
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
11732
11779
|
enabledByDefault: boolean().optional(),
|
|
11780
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11733
11781
|
defaultConfidence: number(),
|
|
11734
11782
|
group: string().optional(),
|
|
11735
11783
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11746,11 +11794,6 @@ var PipelineSchemaSchema = object({
|
|
|
11746
11794
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11747
11795
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11748
11796
|
});
|
|
11749
|
-
var DetectorOutputSchema = object({
|
|
11750
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11751
|
-
inferenceMs: number(),
|
|
11752
|
-
modelId: string()
|
|
11753
|
-
});
|
|
11754
11797
|
var EngineProvisioningSchema = object({
|
|
11755
11798
|
runtimeId: _enum([
|
|
11756
11799
|
"onnx",
|
|
@@ -11767,15 +11810,42 @@ var EngineProvisioningSchema = object({
|
|
|
11767
11810
|
]),
|
|
11768
11811
|
progress: number().optional(),
|
|
11769
11812
|
error: string().optional(),
|
|
11770
|
-
nextRetryAt: number().optional()
|
|
11813
|
+
nextRetryAt: number().optional(),
|
|
11814
|
+
/**
|
|
11815
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11816
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11817
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11818
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11819
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11820
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11821
|
+
*/
|
|
11822
|
+
configIssues: array(string()).optional()
|
|
11771
11823
|
});
|
|
11772
11824
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11773
11825
|
addonId: string(),
|
|
11774
|
-
modelId: string(),
|
|
11826
|
+
modelId: string().optional(),
|
|
11775
11827
|
enabled: boolean().default(true),
|
|
11776
11828
|
children: array(PipelineStepInputSchema).optional(),
|
|
11777
11829
|
settings: record(string(), unknown()).optional()
|
|
11778
11830
|
}));
|
|
11831
|
+
var ModelSubstitutionSchema = object({
|
|
11832
|
+
addonId: string(),
|
|
11833
|
+
chosen: string(),
|
|
11834
|
+
running: string(),
|
|
11835
|
+
format: string()
|
|
11836
|
+
});
|
|
11837
|
+
var PipelineValidationIssueSchema = object({
|
|
11838
|
+
addonId: string(),
|
|
11839
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11840
|
+
detail: string()
|
|
11841
|
+
});
|
|
11842
|
+
var PipelineValidationResultSchema = object({
|
|
11843
|
+
ok: boolean(),
|
|
11844
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11845
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11846
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11847
|
+
format: string()
|
|
11848
|
+
});
|
|
11779
11849
|
var ReferenceImageEntrySchema = object({
|
|
11780
11850
|
filename: string(),
|
|
11781
11851
|
stepIds: array(string()).readonly().optional()
|
|
@@ -11846,7 +11916,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11846
11916
|
})) }), object({ success: literal(true) }), {
|
|
11847
11917
|
kind: "mutation",
|
|
11848
11918
|
auth: "admin"
|
|
11849
|
-
}), method(
|
|
11919
|
+
}), method(object({ nodeId: string() }), object({
|
|
11920
|
+
success: literal(true),
|
|
11921
|
+
clearedDevices: number()
|
|
11922
|
+
}), {
|
|
11923
|
+
kind: "mutation",
|
|
11924
|
+
auth: "admin"
|
|
11925
|
+
}), 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({
|
|
11850
11926
|
name: string(),
|
|
11851
11927
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11852
11928
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11863,10 +11939,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11863
11939
|
modelId: string(),
|
|
11864
11940
|
format: ModelFormatSchema$1
|
|
11865
11941
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11866
|
-
addonId: string(),
|
|
11867
|
-
frame: FrameInputSchema,
|
|
11868
|
-
config: record(string(), unknown()).optional()
|
|
11869
|
-
}), DetectorOutputSchema), method(object({
|
|
11870
11942
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11871
11943
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11872
11944
|
frame: FrameInputSchema.optional(),
|
|
@@ -11887,7 +11959,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11887
11959
|
image: _instanceof(Uint8Array).optional(),
|
|
11888
11960
|
referenceImage: string().optional(),
|
|
11889
11961
|
deviceId: number().optional(),
|
|
11890
|
-
sessionId: string().optional()
|
|
11962
|
+
sessionId: string().optional(),
|
|
11963
|
+
/**
|
|
11964
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11965
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11966
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11967
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11968
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11969
|
+
*/
|
|
11970
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11891
11971
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11892
11972
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11893
11973
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12045,6 +12125,47 @@ var zonesCapability = {
|
|
|
12045
12125
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12046
12126
|
};
|
|
12047
12127
|
/**
|
|
12128
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12129
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12130
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12131
|
+
* dims — no native resolution to plumb.
|
|
12132
|
+
*/
|
|
12133
|
+
var NativeCropBboxSchema = object({
|
|
12134
|
+
x: number(),
|
|
12135
|
+
y: number(),
|
|
12136
|
+
w: number(),
|
|
12137
|
+
h: number()
|
|
12138
|
+
});
|
|
12139
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12140
|
+
var NativeCropResultSchema = object({
|
|
12141
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12142
|
+
bytes: _instanceof(Uint8Array),
|
|
12143
|
+
width: number().int().positive(),
|
|
12144
|
+
height: number().int().positive()
|
|
12145
|
+
});
|
|
12146
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12147
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12148
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12149
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12150
|
+
* normalized [0,1] convention). */
|
|
12151
|
+
var DetailParentSchema = object({
|
|
12152
|
+
bbox: NativeCropBboxSchema,
|
|
12153
|
+
className: string()
|
|
12154
|
+
});
|
|
12155
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12156
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12157
|
+
* single tracked detection. */
|
|
12158
|
+
var DetailResultSchema = object({
|
|
12159
|
+
stepId: string(),
|
|
12160
|
+
className: string(),
|
|
12161
|
+
score: number(),
|
|
12162
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12163
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12164
|
+
embedding: string().optional(),
|
|
12165
|
+
label: string().optional(),
|
|
12166
|
+
alignedCropJpeg: string().optional()
|
|
12167
|
+
});
|
|
12168
|
+
/**
|
|
12048
12169
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12049
12170
|
* by both the Zod data schema (validation + default fallback) and
|
|
12050
12171
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12139,6 +12260,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12139
12260
|
kind: literal("remote-restream"),
|
|
12140
12261
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12141
12262
|
ownerNodeId: string(),
|
|
12263
|
+
/**
|
|
12264
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12265
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12266
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12267
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12268
|
+
*/
|
|
12269
|
+
ownerReachableHost: string().optional(),
|
|
12142
12270
|
/** Operator override for the owner host the runner dials. */
|
|
12143
12271
|
hubHostnameOverride: string().optional()
|
|
12144
12272
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12147,13 +12275,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12147
12275
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12148
12276
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12149
12277
|
*
|
|
12150
|
-
* Stateless-pipeline model: the
|
|
12151
|
-
*
|
|
12152
|
-
*
|
|
12153
|
-
*
|
|
12154
|
-
*
|
|
12155
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12156
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12278
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12279
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12280
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12281
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12282
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12157
12283
|
*/
|
|
12158
12284
|
var RunnerCameraConfigSchema = object({
|
|
12159
12285
|
deviceId: number(),
|
|
@@ -12204,14 +12330,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12204
12330
|
*/
|
|
12205
12331
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12206
12332
|
pipelineEnabled: boolean().default(true),
|
|
12207
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12208
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12209
12333
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12210
12334
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12211
12335
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12212
12336
|
audio: object({
|
|
12213
|
-
|
|
12214
|
-
modelId: string(),
|
|
12337
|
+
modelId: string().optional(),
|
|
12215
12338
|
enabled: boolean()
|
|
12216
12339
|
}).nullable().optional(),
|
|
12217
12340
|
/**
|
|
@@ -12298,7 +12421,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12298
12421
|
avgInferenceTimeMs: number(),
|
|
12299
12422
|
queueDepth: number()
|
|
12300
12423
|
});
|
|
12301
|
-
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())
|
|
12424
|
+
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({
|
|
12425
|
+
handle: FrameHandleSchema,
|
|
12426
|
+
bbox: NativeCropBboxSchema,
|
|
12427
|
+
maxWidth: number().int().positive().optional()
|
|
12428
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12429
|
+
deviceId: number(),
|
|
12430
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12431
|
+
cropJpeg: string().optional(),
|
|
12432
|
+
parent: DetailParentSchema,
|
|
12433
|
+
steps: array(string()).optional()
|
|
12434
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12302
12435
|
/**
|
|
12303
12436
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12304
12437
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15229,7 +15362,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15229
15362
|
icon: string(),
|
|
15230
15363
|
path: string(),
|
|
15231
15364
|
remoteName: string(),
|
|
15232
|
-
bundle: string()
|
|
15365
|
+
bundle: string(),
|
|
15366
|
+
section: string().optional(),
|
|
15367
|
+
sectionLabel: string().optional()
|
|
15233
15368
|
});
|
|
15234
15369
|
var AddonPageInfoSchema = object({
|
|
15235
15370
|
addonId: string(),
|
|
@@ -15269,7 +15404,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15269
15404
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15270
15405
|
* without a separate filesystem stat.
|
|
15271
15406
|
*/
|
|
15272
|
-
bundle: string()
|
|
15407
|
+
bundle: string(),
|
|
15408
|
+
/**
|
|
15409
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15410
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15411
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15412
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15413
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15414
|
+
* "Addon Pages" group.
|
|
15415
|
+
*/
|
|
15416
|
+
section: string().optional(),
|
|
15417
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15418
|
+
sectionLabel: string().optional()
|
|
15273
15419
|
});
|
|
15274
15420
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15275
15421
|
var AddonHttpRouteSchema = object({
|
|
@@ -15485,6 +15631,17 @@ var WidgetMetadataSchema = object({
|
|
|
15485
15631
|
deviceContext: boolean().default(false),
|
|
15486
15632
|
integrationContext: boolean().default(false)
|
|
15487
15633
|
}),
|
|
15634
|
+
/**
|
|
15635
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15636
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15637
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15638
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15639
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15640
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15641
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15642
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15643
|
+
*/
|
|
15644
|
+
preAuth: boolean().optional().default(false),
|
|
15488
15645
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15489
15646
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15490
15647
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15786,6 +15943,66 @@ method(object({
|
|
|
15786
15943
|
password: string()
|
|
15787
15944
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
15788
15945
|
/**
|
|
15946
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15947
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15948
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15949
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15950
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15951
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15952
|
+
*
|
|
15953
|
+
* A contribution is a discriminated union on `kind`:
|
|
15954
|
+
*
|
|
15955
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15956
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15957
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15958
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15959
|
+
* login page needs NO change.
|
|
15960
|
+
*
|
|
15961
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15962
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15963
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15964
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15965
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
15966
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
15967
|
+
*
|
|
15968
|
+
* Every contribution carries a `stage`:
|
|
15969
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
15970
|
+
* magic-link buttons; a future usernameless passkey).
|
|
15971
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
15972
|
+
* returned `factors` (passkey-as-2FA today).
|
|
15973
|
+
*
|
|
15974
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
15975
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
15976
|
+
* tRPC router.
|
|
15977
|
+
*/
|
|
15978
|
+
/** When a login method renders in the two-phase login flow. */
|
|
15979
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
15980
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
15981
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
15982
|
+
kind: literal("redirect"),
|
|
15983
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
15984
|
+
id: string(),
|
|
15985
|
+
/** Operator-facing button label. */
|
|
15986
|
+
label: string(),
|
|
15987
|
+
/** lucide-react icon name. */
|
|
15988
|
+
icon: string().optional(),
|
|
15989
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
15990
|
+
startUrl: string(),
|
|
15991
|
+
stage: LoginStageEnum
|
|
15992
|
+
}), object({
|
|
15993
|
+
kind: literal("widget"),
|
|
15994
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
15995
|
+
id: string(),
|
|
15996
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
15997
|
+
addonId: string(),
|
|
15998
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
15999
|
+
bundle: string(),
|
|
16000
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
16001
|
+
remote: WidgetRemoteSchema,
|
|
16002
|
+
stage: LoginStageEnum
|
|
16003
|
+
})]);
|
|
16004
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16005
|
+
/**
|
|
15789
16006
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15790
16007
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15791
16008
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17906,7 +18123,17 @@ var TrackSchema = object({
|
|
|
17906
18123
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17907
18124
|
totalDistance: number(),
|
|
17908
18125
|
state: TrackStateSchema,
|
|
17909
|
-
active: boolean()
|
|
18126
|
+
active: boolean(),
|
|
18127
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18128
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18129
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18130
|
+
importance: number().optional(),
|
|
18131
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18132
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18133
|
+
bestEventId: string().optional(),
|
|
18134
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18135
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18136
|
+
importanceReason: string().optional()
|
|
17910
18137
|
});
|
|
17911
18138
|
var BaseEventFields = {
|
|
17912
18139
|
id: string(),
|
|
@@ -17971,8 +18198,18 @@ var ObjectEventSchema = object({
|
|
|
17971
18198
|
frameHeight: number().optional(),
|
|
17972
18199
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
17973
18200
|
mediaKey: string().optional(),
|
|
18201
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18202
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18203
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18204
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18205
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18206
|
+
keyFrameMediaKey: string().optional(),
|
|
17974
18207
|
/** Populated by B5 (recording playback URL for this event). */
|
|
17975
|
-
mediaUrl: string().optional()
|
|
18208
|
+
mediaUrl: string().optional(),
|
|
18209
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18210
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18211
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18212
|
+
importance: number().optional()
|
|
17976
18213
|
});
|
|
17977
18214
|
var AudioEventSchema = object({
|
|
17978
18215
|
...BaseEventFields,
|
|
@@ -17996,7 +18233,8 @@ var MediaFileKindEnum = _enum([
|
|
|
17996
18233
|
"fullFrame",
|
|
17997
18234
|
"fullFrameBoxed",
|
|
17998
18235
|
"faceCrop",
|
|
17999
|
-
"plateCrop"
|
|
18236
|
+
"plateCrop",
|
|
18237
|
+
"keyFrame"
|
|
18000
18238
|
]);
|
|
18001
18239
|
var MediaFileSchema = object({
|
|
18002
18240
|
key: string(),
|
|
@@ -18017,6 +18255,32 @@ var DeviceEventQueryInput = object({
|
|
|
18017
18255
|
projection: _enum(["full", "slim"]).optional()
|
|
18018
18256
|
});
|
|
18019
18257
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18258
|
+
var KeyEventQueryInput = object({
|
|
18259
|
+
deviceId: number(),
|
|
18260
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18261
|
+
since: number(),
|
|
18262
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18263
|
+
until: number(),
|
|
18264
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18265
|
+
/** Drop tracks scoring below this importance. */
|
|
18266
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18267
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18268
|
+
classFilter: string().optional()
|
|
18269
|
+
});
|
|
18270
|
+
var KeyEventSchema = object({
|
|
18271
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18272
|
+
id: string(),
|
|
18273
|
+
trackId: string(),
|
|
18274
|
+
/** Track start time (firstSeen). */
|
|
18275
|
+
timestamp: number(),
|
|
18276
|
+
className: string(),
|
|
18277
|
+
label: string().optional(),
|
|
18278
|
+
importance: number(),
|
|
18279
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18280
|
+
bestEventId: string(),
|
|
18281
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18282
|
+
windowMs: number().optional()
|
|
18283
|
+
});
|
|
18020
18284
|
var TrackedDetectionSchema = object({
|
|
18021
18285
|
trackId: string(),
|
|
18022
18286
|
className: string(),
|
|
@@ -18046,7 +18310,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18046
18310
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18047
18311
|
kind: "mutation",
|
|
18048
18312
|
auth: "admin"
|
|
18049
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18313
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18050
18314
|
deviceId: number(),
|
|
18051
18315
|
since: number(),
|
|
18052
18316
|
until: number(),
|
|
@@ -18091,11 +18355,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18091
18355
|
timestamp: number()
|
|
18092
18356
|
});
|
|
18093
18357
|
var CameraPipelineConfigSchema = object({
|
|
18094
|
-
engine: PipelineEngineChoiceSchema,
|
|
18358
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18095
18359
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18096
18360
|
audio: object({
|
|
18097
|
-
engine: PipelineEngineChoiceSchema,
|
|
18098
|
-
modelId: string(),
|
|
18361
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18362
|
+
modelId: string().optional(),
|
|
18099
18363
|
enabled: boolean(),
|
|
18100
18364
|
settings: record(string(), unknown()).readonly().optional()
|
|
18101
18365
|
}).nullable().optional()
|
|
@@ -18110,7 +18374,7 @@ var PipelineTemplateSchema = object({
|
|
|
18110
18374
|
});
|
|
18111
18375
|
var AgentAddonConfigSchema = object({
|
|
18112
18376
|
enabled: boolean(),
|
|
18113
|
-
modelId: string(),
|
|
18377
|
+
modelId: string().optional(),
|
|
18114
18378
|
settings: record(string(), unknown()).readonly()
|
|
18115
18379
|
});
|
|
18116
18380
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18120,12 +18384,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18120
18384
|
detectWeight: number().positive().optional(),
|
|
18121
18385
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18122
18386
|
detect: boolean().optional(),
|
|
18123
|
-
/**
|
|
18387
|
+
/**
|
|
18388
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18389
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18390
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18391
|
+
* parse — no code reads it and no write path emits it.
|
|
18392
|
+
*/
|
|
18124
18393
|
decode: boolean().optional(),
|
|
18125
18394
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18126
18395
|
audio: boolean().optional(),
|
|
18127
18396
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18128
|
-
ingest: boolean().optional()
|
|
18397
|
+
ingest: boolean().optional(),
|
|
18398
|
+
/**
|
|
18399
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18400
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18401
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18402
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18403
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18404
|
+
*/
|
|
18405
|
+
reachableHost: string().optional()
|
|
18129
18406
|
});
|
|
18130
18407
|
var CameraPipelineForAgentSchema = object({
|
|
18131
18408
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18173,25 +18450,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18173
18450
|
assignedAt: number()
|
|
18174
18451
|
});
|
|
18175
18452
|
/**
|
|
18176
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18177
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18178
|
-
* → co-located with pipeline → capacity).
|
|
18179
|
-
*/
|
|
18180
|
-
var DecoderAssignmentSchema = object({
|
|
18181
|
-
deviceId: number(),
|
|
18182
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18183
|
-
decoderNodeId: string(),
|
|
18184
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18185
|
-
pinned: boolean(),
|
|
18186
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18187
|
-
reason: _enum([
|
|
18188
|
-
"manual",
|
|
18189
|
-
"co-located",
|
|
18190
|
-
"capacity",
|
|
18191
|
-
"hardware-affinity"
|
|
18192
|
-
])
|
|
18193
|
-
});
|
|
18194
|
-
/**
|
|
18195
18453
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18196
18454
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18197
18455
|
*/
|
|
@@ -18231,6 +18489,15 @@ var GlobalMetricsSchema = object({
|
|
|
18231
18489
|
* capability providers.
|
|
18232
18490
|
*/
|
|
18233
18491
|
var CapabilityBindingsSchema = record(string(), string());
|
|
18492
|
+
/**
|
|
18493
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18494
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18495
|
+
*/
|
|
18496
|
+
var IngestOwnerSchema = object({
|
|
18497
|
+
ownerNodeId: string(),
|
|
18498
|
+
reachableHost: string().optional(),
|
|
18499
|
+
configIssue: string().optional()
|
|
18500
|
+
});
|
|
18234
18501
|
/** Source block — always present; derives from the stream catalog. */
|
|
18235
18502
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18236
18503
|
camStreamId: string(),
|
|
@@ -18245,6 +18512,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18245
18512
|
detectionNodeId: string().nullable(),
|
|
18246
18513
|
decoderNodeId: string().nullable(),
|
|
18247
18514
|
audioNodeId: string().nullable(),
|
|
18515
|
+
/**
|
|
18516
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18517
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18518
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18519
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18520
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18521
|
+
*/
|
|
18522
|
+
sourceNodeId: string().nullable(),
|
|
18248
18523
|
pinned: object({
|
|
18249
18524
|
detection: boolean(),
|
|
18250
18525
|
decoder: boolean(),
|
|
@@ -18377,16 +18652,7 @@ method(object({
|
|
|
18377
18652
|
}), object({ success: literal(true) }), {
|
|
18378
18653
|
kind: "mutation",
|
|
18379
18654
|
auth: "admin"
|
|
18380
|
-
}), method(object({
|
|
18381
|
-
deviceId: number(),
|
|
18382
|
-
nodeId: string()
|
|
18383
|
-
}), _void(), {
|
|
18384
|
-
kind: "mutation",
|
|
18385
|
-
auth: "admin"
|
|
18386
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18387
|
-
kind: "mutation",
|
|
18388
|
-
auth: "admin"
|
|
18389
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18655
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18390
18656
|
deviceId: number(),
|
|
18391
18657
|
nodeId: string()
|
|
18392
18658
|
}), object({ success: literal(true) }), {
|
|
@@ -18407,10 +18673,7 @@ method(object({
|
|
|
18407
18673
|
nodeId: string(),
|
|
18408
18674
|
pinned: boolean(),
|
|
18409
18675
|
assignedAt: number()
|
|
18410
|
-
}))), method(object({
|
|
18411
|
-
deviceId: number(),
|
|
18412
|
-
pipelineNodeId: string().optional()
|
|
18413
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18676
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18414
18677
|
nodeId: string(),
|
|
18415
18678
|
settings: AgentPipelineSettingsSchema
|
|
18416
18679
|
})).readonly()), method(object({
|
|
@@ -18440,12 +18703,26 @@ method(object({
|
|
|
18440
18703
|
}), method(object({
|
|
18441
18704
|
agentNodeId: string(),
|
|
18442
18705
|
detect: boolean().nullable().optional(),
|
|
18443
|
-
decode: boolean().nullable().optional(),
|
|
18444
18706
|
audio: boolean().nullable().optional(),
|
|
18445
18707
|
ingest: boolean().nullable().optional()
|
|
18446
18708
|
}), object({ success: literal(true) }), {
|
|
18447
18709
|
kind: "mutation",
|
|
18448
18710
|
auth: "admin"
|
|
18711
|
+
}), method(object({
|
|
18712
|
+
agentNodeId: string(),
|
|
18713
|
+
reachableHost: string().nullable()
|
|
18714
|
+
}), object({ success: literal(true) }), {
|
|
18715
|
+
kind: "mutation",
|
|
18716
|
+
auth: "admin"
|
|
18717
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18718
|
+
success: literal(true),
|
|
18719
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18720
|
+
effectiveModelId: string().nullable(),
|
|
18721
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18722
|
+
clearedCameraOverrides: number()
|
|
18723
|
+
}), {
|
|
18724
|
+
kind: "mutation",
|
|
18725
|
+
auth: "admin"
|
|
18449
18726
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18450
18727
|
deviceId: number(),
|
|
18451
18728
|
addonId: string(),
|
|
@@ -18490,22 +18767,131 @@ method(object({
|
|
|
18490
18767
|
kind: "mutation",
|
|
18491
18768
|
auth: "admin"
|
|
18492
18769
|
});
|
|
18493
|
-
|
|
18494
|
-
|
|
18495
|
-
|
|
18496
|
-
|
|
18497
|
-
|
|
18498
|
-
|
|
18770
|
+
/**
|
|
18771
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18772
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18773
|
+
* agents).
|
|
18774
|
+
*
|
|
18775
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18776
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18777
|
+
* version describes the node. Updates install into
|
|
18778
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18779
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18780
|
+
*
|
|
18781
|
+
* Providers:
|
|
18782
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18783
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18784
|
+
* unpinned calls.
|
|
18785
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18786
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18787
|
+
* `$hub.registerNode` manifest.
|
|
18788
|
+
*
|
|
18789
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18790
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18791
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18792
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18793
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18794
|
+
*
|
|
18795
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18796
|
+
*/
|
|
18797
|
+
/**
|
|
18798
|
+
* Where the running hub's code was loaded from:
|
|
18799
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18800
|
+
* plain resolution and runtime updates are refused.
|
|
18801
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18802
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18803
|
+
*/
|
|
18804
|
+
var ServerBootModeSchema = _enum([
|
|
18805
|
+
"workspace",
|
|
18806
|
+
"baked",
|
|
18807
|
+
"data-root"
|
|
18808
|
+
]);
|
|
18809
|
+
/**
|
|
18810
|
+
* Update lifecycle state:
|
|
18811
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18812
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18813
|
+
* restarted onto it (still running the OLD version).
|
|
18814
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18815
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18816
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18817
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18818
|
+
*/
|
|
18819
|
+
var ServerUpdateStateSchema = _enum([
|
|
18820
|
+
"idle",
|
|
18821
|
+
"checking",
|
|
18822
|
+
"staging",
|
|
18823
|
+
"pending-restart",
|
|
18824
|
+
"awaiting-confirmation"
|
|
18825
|
+
]);
|
|
18826
|
+
var ServerRollbackInfoSchema = object({
|
|
18827
|
+
/** The version that failed (or was manually rolled back). */
|
|
18828
|
+
fromVersion: string(),
|
|
18829
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18830
|
+
toVersion: string().nullable(),
|
|
18831
|
+
atMs: number(),
|
|
18832
|
+
reason: string()
|
|
18499
18833
|
});
|
|
18500
|
-
var
|
|
18501
|
-
|
|
18502
|
-
|
|
18503
|
-
|
|
18834
|
+
var ServerPackageStatusSchema = object({
|
|
18835
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18836
|
+
packageName: string(),
|
|
18837
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18838
|
+
runningVersion: string().nullable(),
|
|
18839
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18840
|
+
nodeRuntimeVersion: string().nullable(),
|
|
18841
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18842
|
+
activeVersion: string().nullable(),
|
|
18843
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18844
|
+
previousVersion: string().nullable(),
|
|
18845
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18846
|
+
seedVersion: string().nullable(),
|
|
18847
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18848
|
+
latestVersion: string().nullable(),
|
|
18849
|
+
updateAvailable: boolean(),
|
|
18850
|
+
bootMode: ServerBootModeSchema,
|
|
18851
|
+
updateState: ServerUpdateStateSchema,
|
|
18852
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18853
|
+
pendingVersion: string().nullable(),
|
|
18854
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18855
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18856
|
+
/**
|
|
18857
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18858
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18859
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18860
|
+
*/
|
|
18861
|
+
stateFileCorrupt: boolean(),
|
|
18862
|
+
lastCheckedAtMs: number().nullable()
|
|
18863
|
+
});
|
|
18864
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18865
|
+
packageName: string(),
|
|
18866
|
+
runningVersion: string().nullable(),
|
|
18867
|
+
latestVersion: string().nullable(),
|
|
18868
|
+
updateAvailable: boolean(),
|
|
18869
|
+
checkedAtMs: number(),
|
|
18870
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18871
|
+
error: string().nullable()
|
|
18872
|
+
});
|
|
18873
|
+
var ServerUpdateActionResultSchema = object({
|
|
18874
|
+
accepted: boolean(),
|
|
18875
|
+
targetVersion: string().nullable(),
|
|
18876
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18877
|
+
restarting: boolean(),
|
|
18878
|
+
message: string()
|
|
18879
|
+
});
|
|
18880
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18881
|
+
kind: "mutation",
|
|
18882
|
+
auth: "admin"
|
|
18883
|
+
}), method(object({
|
|
18884
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18885
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
18886
|
+
kind: "mutation",
|
|
18887
|
+
auth: "admin"
|
|
18888
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18889
|
+
kind: "mutation",
|
|
18890
|
+
auth: "admin"
|
|
18891
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18892
|
+
kind: "mutation",
|
|
18893
|
+
auth: "admin"
|
|
18504
18894
|
});
|
|
18505
|
-
method(object({
|
|
18506
|
-
deviceId: number(),
|
|
18507
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18508
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18509
18895
|
/**
|
|
18510
18896
|
* Query filter for settings-store collections.
|
|
18511
18897
|
*/
|
|
@@ -18658,9 +19044,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18658
19044
|
/**
|
|
18659
19045
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18660
19046
|
*
|
|
18661
|
-
*
|
|
18662
|
-
*
|
|
18663
|
-
*
|
|
19047
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19048
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19049
|
+
* prebuffer fallback.
|
|
18664
19050
|
*/
|
|
18665
19051
|
var SnapshotImageSchema = object({
|
|
18666
19052
|
base64: string(),
|
|
@@ -18691,11 +19077,12 @@ DeviceType.Camera, method(object({
|
|
|
18691
19077
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18692
19078
|
kind: "mutation",
|
|
18693
19079
|
auth: "admin"
|
|
18694
|
-
})
|
|
18695
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
19080
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
18696
19081
|
deviceId: number(),
|
|
18697
|
-
|
|
18698
|
-
|
|
19082
|
+
lastCapturedAt: number().nullable(),
|
|
19083
|
+
cacheAgeMs: number().nullable(),
|
|
19084
|
+
etag: string().nullable()
|
|
19085
|
+
})));
|
|
18699
19086
|
/**
|
|
18700
19087
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18701
19088
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -18946,10 +19333,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
18946
19333
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
18947
19334
|
* the assertion, bumps the credential counter, returns ok.
|
|
18948
19335
|
*
|
|
19336
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19337
|
+
* passkey IS the primary factor, no password leg:
|
|
19338
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19339
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19340
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19341
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19342
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19343
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19344
|
+
* resolves the credential by the response's credential id,
|
|
19345
|
+
* verifies the assertion against the stored challenge + that
|
|
19346
|
+
* credential's public key/counter, and returns the OWNING
|
|
19347
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19348
|
+
*
|
|
18949
19349
|
* 3. Management:
|
|
18950
19350
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
18951
19351
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
18952
19352
|
*
|
|
19353
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19354
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19355
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19356
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19357
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19358
|
+
* row ⇒ `enabled: false`).
|
|
19359
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19360
|
+
* the providing addon beside its credentials.
|
|
19361
|
+
*
|
|
18953
19362
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
18954
19363
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
18955
19364
|
* the cap to non-admins.
|
|
@@ -18992,6 +19401,17 @@ method(object({
|
|
|
18992
19401
|
}), object({ verified: boolean() }), {
|
|
18993
19402
|
kind: "mutation",
|
|
18994
19403
|
access: "view"
|
|
19404
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19405
|
+
kind: "mutation",
|
|
19406
|
+
access: "view"
|
|
19407
|
+
}), method(object({
|
|
19408
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19409
|
+
response: record(string(), unknown()) }), object({
|
|
19410
|
+
verified: boolean(),
|
|
19411
|
+
userId: string().nullable()
|
|
19412
|
+
}), {
|
|
19413
|
+
kind: "mutation",
|
|
19414
|
+
access: "view"
|
|
18995
19415
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
18996
19416
|
userId: string(),
|
|
18997
19417
|
credentialId: string()
|
|
@@ -18999,6 +19419,13 @@ method(object({
|
|
|
18999
19419
|
kind: "mutation",
|
|
19000
19420
|
auth: "admin",
|
|
19001
19421
|
access: "delete"
|
|
19422
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19423
|
+
userId: string(),
|
|
19424
|
+
enabled: boolean()
|
|
19425
|
+
}), object({ success: literal(true) }), {
|
|
19426
|
+
kind: "mutation",
|
|
19427
|
+
auth: "admin",
|
|
19428
|
+
access: "create"
|
|
19002
19429
|
});
|
|
19003
19430
|
/**
|
|
19004
19431
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19056,9 +19483,10 @@ method(object({
|
|
|
19056
19483
|
auth: "admin"
|
|
19057
19484
|
});
|
|
19058
19485
|
/**
|
|
19059
|
-
* Optional client-side hints sent at session creation to help the
|
|
19060
|
-
*
|
|
19061
|
-
*
|
|
19486
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19487
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19488
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19489
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19062
19490
|
*/
|
|
19063
19491
|
var webrtcClientHintsSchema = object({
|
|
19064
19492
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19069,22 +19497,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19069
19497
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19070
19498
|
prefersTier: string().optional()
|
|
19071
19499
|
}).partial();
|
|
19072
|
-
method(object({
|
|
19073
|
-
streamId: string(),
|
|
19074
|
-
sdpOffer: string()
|
|
19075
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
19076
|
-
streamId: string(),
|
|
19077
|
-
codec: string()
|
|
19078
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
19079
|
-
streamId: string(),
|
|
19080
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19081
|
-
}), object({
|
|
19082
|
-
sessionId: string(),
|
|
19083
|
-
sdpOffer: string()
|
|
19084
|
-
}), { kind: "mutation" }), method(object({
|
|
19085
|
-
sessionId: string(),
|
|
19086
|
-
sdpAnswer: string()
|
|
19087
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
19088
19500
|
/**
|
|
19089
19501
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19090
19502
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19815,7 +20227,17 @@ var FaceInfoSchema = object({
|
|
|
19815
20227
|
recognizedIdentityId: string().optional(),
|
|
19816
20228
|
identityName: string().optional(),
|
|
19817
20229
|
assigned: boolean(),
|
|
19818
|
-
base64: string().optional()
|
|
20230
|
+
base64: string().optional(),
|
|
20231
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20232
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20233
|
+
* legacy rows written before design B. */
|
|
20234
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20235
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20236
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20237
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20238
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20239
|
+
* back to the inline `base64` face crop. */
|
|
20240
|
+
keyFrameMediaKey: string().optional()
|
|
19819
20241
|
});
|
|
19820
20242
|
var FaceFilterEnum = _enum([
|
|
19821
20243
|
"unassigned",
|
|
@@ -20512,6 +20934,16 @@ var TopologyCategorySchema = object({
|
|
|
20512
20934
|
healthy: number(),
|
|
20513
20935
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20514
20936
|
});
|
|
20937
|
+
/**
|
|
20938
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
20939
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
20940
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
20941
|
+
* rows and pre-phase-2 nodes report none.
|
|
20942
|
+
*/
|
|
20943
|
+
var TopologyRootPackageSchema = object({
|
|
20944
|
+
name: string(),
|
|
20945
|
+
version: string()
|
|
20946
|
+
});
|
|
20515
20947
|
var TopologyNodeSchema = object({
|
|
20516
20948
|
id: string(),
|
|
20517
20949
|
name: string(),
|
|
@@ -20535,7 +20967,8 @@ var TopologyNodeSchema = object({
|
|
|
20535
20967
|
status: string()
|
|
20536
20968
|
})).readonly(),
|
|
20537
20969
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20538
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
20970
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
20971
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20539
20972
|
});
|
|
20540
20973
|
var CapUsageEdgeSchema = object({
|
|
20541
20974
|
callerAddonId: string(),
|
|
@@ -23335,6 +23768,12 @@ Object.freeze({
|
|
|
23335
23768
|
addonId: null,
|
|
23336
23769
|
access: "create"
|
|
23337
23770
|
},
|
|
23771
|
+
"loginMethod.getLoginMethods": {
|
|
23772
|
+
capName: "login-method",
|
|
23773
|
+
capScope: "system",
|
|
23774
|
+
addonId: null,
|
|
23775
|
+
access: "view"
|
|
23776
|
+
},
|
|
23338
23777
|
"mediaPlayer.next": {
|
|
23339
23778
|
capName: "media-player",
|
|
23340
23779
|
capScope: "device",
|
|
@@ -23917,6 +24356,12 @@ Object.freeze({
|
|
|
23917
24356
|
addonId: null,
|
|
23918
24357
|
access: "view"
|
|
23919
24358
|
},
|
|
24359
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24360
|
+
capName: "pipeline-analytics",
|
|
24361
|
+
capScope: "device",
|
|
24362
|
+
addonId: null,
|
|
24363
|
+
access: "view"
|
|
24364
|
+
},
|
|
23920
24365
|
"pipelineAnalytics.getMotionEvents": {
|
|
23921
24366
|
capName: "pipeline-analytics",
|
|
23922
24367
|
capScope: "device",
|
|
@@ -23965,23 +24410,23 @@ Object.freeze({
|
|
|
23965
24410
|
addonId: null,
|
|
23966
24411
|
access: "create"
|
|
23967
24412
|
},
|
|
23968
|
-
"pipelineExecutor.
|
|
24413
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
23969
24414
|
capName: "pipeline-executor",
|
|
23970
24415
|
capScope: "system",
|
|
23971
24416
|
addonId: null,
|
|
23972
24417
|
access: "delete"
|
|
23973
24418
|
},
|
|
23974
|
-
"pipelineExecutor.
|
|
24419
|
+
"pipelineExecutor.deleteModel": {
|
|
23975
24420
|
capName: "pipeline-executor",
|
|
23976
24421
|
capScope: "system",
|
|
23977
24422
|
addonId: null,
|
|
23978
24423
|
access: "delete"
|
|
23979
24424
|
},
|
|
23980
|
-
"pipelineExecutor.
|
|
24425
|
+
"pipelineExecutor.deleteTemplate": {
|
|
23981
24426
|
capName: "pipeline-executor",
|
|
23982
24427
|
capScope: "system",
|
|
23983
24428
|
addonId: null,
|
|
23984
|
-
access: "
|
|
24429
|
+
access: "delete"
|
|
23985
24430
|
},
|
|
23986
24431
|
"pipelineExecutor.downloadModel": {
|
|
23987
24432
|
capName: "pipeline-executor",
|
|
@@ -24175,13 +24620,13 @@ Object.freeze({
|
|
|
24175
24620
|
addonId: null,
|
|
24176
24621
|
access: "create"
|
|
24177
24622
|
},
|
|
24178
|
-
"
|
|
24179
|
-
capName: "pipeline-
|
|
24623
|
+
"pipelineExecutor.validatePipeline": {
|
|
24624
|
+
capName: "pipeline-executor",
|
|
24180
24625
|
capScope: "system",
|
|
24181
24626
|
addonId: null,
|
|
24182
|
-
access: "
|
|
24627
|
+
access: "view"
|
|
24183
24628
|
},
|
|
24184
|
-
"pipelineOrchestrator.
|
|
24629
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24185
24630
|
capName: "pipeline-orchestrator",
|
|
24186
24631
|
capScope: "system",
|
|
24187
24632
|
addonId: null,
|
|
@@ -24265,19 +24710,13 @@ Object.freeze({
|
|
|
24265
24710
|
addonId: null,
|
|
24266
24711
|
access: "view"
|
|
24267
24712
|
},
|
|
24268
|
-
"pipelineOrchestrator.
|
|
24269
|
-
capName: "pipeline-orchestrator",
|
|
24270
|
-
capScope: "system",
|
|
24271
|
-
addonId: null,
|
|
24272
|
-
access: "view"
|
|
24273
|
-
},
|
|
24274
|
-
"pipelineOrchestrator.getDecoderAssignments": {
|
|
24713
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24275
24714
|
capName: "pipeline-orchestrator",
|
|
24276
24715
|
capScope: "system",
|
|
24277
24716
|
addonId: null,
|
|
24278
24717
|
access: "view"
|
|
24279
24718
|
},
|
|
24280
|
-
"pipelineOrchestrator.
|
|
24719
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24281
24720
|
capName: "pipeline-orchestrator",
|
|
24282
24721
|
capScope: "system",
|
|
24283
24722
|
addonId: null,
|
|
@@ -24319,6 +24758,12 @@ Object.freeze({
|
|
|
24319
24758
|
addonId: null,
|
|
24320
24759
|
access: "delete"
|
|
24321
24760
|
},
|
|
24761
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24762
|
+
capName: "pipeline-orchestrator",
|
|
24763
|
+
capScope: "system",
|
|
24764
|
+
addonId: null,
|
|
24765
|
+
access: "delete"
|
|
24766
|
+
},
|
|
24322
24767
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24323
24768
|
capName: "pipeline-orchestrator",
|
|
24324
24769
|
capScope: "system",
|
|
@@ -24355,37 +24800,37 @@ Object.freeze({
|
|
|
24355
24800
|
addonId: null,
|
|
24356
24801
|
access: "create"
|
|
24357
24802
|
},
|
|
24358
|
-
"pipelineOrchestrator.
|
|
24803
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24359
24804
|
capName: "pipeline-orchestrator",
|
|
24360
24805
|
capScope: "system",
|
|
24361
24806
|
addonId: null,
|
|
24362
24807
|
access: "create"
|
|
24363
24808
|
},
|
|
24364
|
-
"pipelineOrchestrator.
|
|
24809
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24365
24810
|
capName: "pipeline-orchestrator",
|
|
24366
24811
|
capScope: "system",
|
|
24367
24812
|
addonId: null,
|
|
24368
24813
|
access: "create"
|
|
24369
24814
|
},
|
|
24370
|
-
"pipelineOrchestrator.
|
|
24815
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24371
24816
|
capName: "pipeline-orchestrator",
|
|
24372
24817
|
capScope: "system",
|
|
24373
24818
|
addonId: null,
|
|
24374
24819
|
access: "create"
|
|
24375
24820
|
},
|
|
24376
|
-
"pipelineOrchestrator.
|
|
24821
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24377
24822
|
capName: "pipeline-orchestrator",
|
|
24378
24823
|
capScope: "system",
|
|
24379
24824
|
addonId: null,
|
|
24380
24825
|
access: "create"
|
|
24381
24826
|
},
|
|
24382
|
-
"pipelineOrchestrator.
|
|
24827
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24383
24828
|
capName: "pipeline-orchestrator",
|
|
24384
24829
|
capScope: "system",
|
|
24385
24830
|
addonId: null,
|
|
24386
24831
|
access: "create"
|
|
24387
24832
|
},
|
|
24388
|
-
"pipelineOrchestrator.
|
|
24833
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24389
24834
|
capName: "pipeline-orchestrator",
|
|
24390
24835
|
capScope: "system",
|
|
24391
24836
|
addonId: null,
|
|
@@ -24445,12 +24890,24 @@ Object.freeze({
|
|
|
24445
24890
|
addonId: null,
|
|
24446
24891
|
access: "view"
|
|
24447
24892
|
},
|
|
24893
|
+
"pipelineRunner.getNativeCrop": {
|
|
24894
|
+
capName: "pipeline-runner",
|
|
24895
|
+
capScope: "system",
|
|
24896
|
+
addonId: null,
|
|
24897
|
+
access: "view"
|
|
24898
|
+
},
|
|
24448
24899
|
"pipelineRunner.reportMotion": {
|
|
24449
24900
|
capName: "pipeline-runner",
|
|
24450
24901
|
capScope: "system",
|
|
24451
24902
|
addonId: null,
|
|
24452
24903
|
access: "create"
|
|
24453
24904
|
},
|
|
24905
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24906
|
+
capName: "pipeline-runner",
|
|
24907
|
+
capScope: "system",
|
|
24908
|
+
addonId: null,
|
|
24909
|
+
access: "create"
|
|
24910
|
+
},
|
|
24454
24911
|
"plateGallery.correctPlateText": {
|
|
24455
24912
|
capName: "plate-gallery",
|
|
24456
24913
|
capScope: "system",
|
|
@@ -24685,33 +25142,45 @@ Object.freeze({
|
|
|
24685
25142
|
addonId: null,
|
|
24686
25143
|
access: "create"
|
|
24687
25144
|
},
|
|
24688
|
-
"
|
|
24689
|
-
capName: "
|
|
25145
|
+
"scriptRunner.run": {
|
|
25146
|
+
capName: "script-runner",
|
|
25147
|
+
capScope: "device",
|
|
25148
|
+
addonId: null,
|
|
25149
|
+
access: "create"
|
|
25150
|
+
},
|
|
25151
|
+
"scriptRunner.stop": {
|
|
25152
|
+
capName: "script-runner",
|
|
25153
|
+
capScope: "device",
|
|
25154
|
+
addonId: null,
|
|
25155
|
+
access: "create"
|
|
25156
|
+
},
|
|
25157
|
+
"serverManagement.applyServerUpdate": {
|
|
25158
|
+
capName: "server-management",
|
|
24690
25159
|
capScope: "system",
|
|
24691
25160
|
addonId: null,
|
|
24692
|
-
access: "
|
|
25161
|
+
access: "create"
|
|
24693
25162
|
},
|
|
24694
|
-
"
|
|
24695
|
-
capName: "
|
|
25163
|
+
"serverManagement.checkServerUpdate": {
|
|
25164
|
+
capName: "server-management",
|
|
24696
25165
|
capScope: "system",
|
|
24697
25166
|
addonId: null,
|
|
24698
25167
|
access: "create"
|
|
24699
25168
|
},
|
|
24700
|
-
"
|
|
24701
|
-
capName: "
|
|
25169
|
+
"serverManagement.getServerPackageStatus": {
|
|
25170
|
+
capName: "server-management",
|
|
24702
25171
|
capScope: "system",
|
|
24703
25172
|
addonId: null,
|
|
24704
|
-
access: "
|
|
25173
|
+
access: "view"
|
|
24705
25174
|
},
|
|
24706
|
-
"
|
|
24707
|
-
capName: "
|
|
24708
|
-
capScope: "
|
|
25175
|
+
"serverManagement.restartServer": {
|
|
25176
|
+
capName: "server-management",
|
|
25177
|
+
capScope: "system",
|
|
24709
25178
|
addonId: null,
|
|
24710
25179
|
access: "create"
|
|
24711
25180
|
},
|
|
24712
|
-
"
|
|
24713
|
-
capName: "
|
|
24714
|
-
capScope: "
|
|
25181
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25182
|
+
capName: "server-management",
|
|
25183
|
+
capScope: "system",
|
|
24715
25184
|
addonId: null,
|
|
24716
25185
|
access: "create"
|
|
24717
25186
|
},
|
|
@@ -24799,23 +25268,17 @@ Object.freeze({
|
|
|
24799
25268
|
addonId: null,
|
|
24800
25269
|
access: "view"
|
|
24801
25270
|
},
|
|
24802
|
-
"snapshot.
|
|
25271
|
+
"snapshot.getSnapshotOverview": {
|
|
24803
25272
|
capName: "snapshot",
|
|
24804
25273
|
capScope: "device",
|
|
24805
25274
|
addonId: null,
|
|
24806
|
-
access: "create"
|
|
24807
|
-
},
|
|
24808
|
-
"snapshotProvider.getSnapshot": {
|
|
24809
|
-
capName: "snapshot-provider",
|
|
24810
|
-
capScope: "system",
|
|
24811
|
-
addonId: null,
|
|
24812
25275
|
access: "view"
|
|
24813
25276
|
},
|
|
24814
|
-
"
|
|
24815
|
-
capName: "snapshot
|
|
24816
|
-
capScope: "
|
|
25277
|
+
"snapshot.invalidateCache": {
|
|
25278
|
+
capName: "snapshot",
|
|
25279
|
+
capScope: "device",
|
|
24817
25280
|
addonId: null,
|
|
24818
|
-
access: "
|
|
25281
|
+
access: "create"
|
|
24819
25282
|
},
|
|
24820
25283
|
"ssoBridge.signBridgeToken": {
|
|
24821
25284
|
capName: "sso-bridge",
|
|
@@ -25243,30 +25706,6 @@ Object.freeze({
|
|
|
25243
25706
|
addonId: null,
|
|
25244
25707
|
access: "view"
|
|
25245
25708
|
},
|
|
25246
|
-
"streamingEngine.getStreamUrl": {
|
|
25247
|
-
capName: "streaming-engine",
|
|
25248
|
-
capScope: "system",
|
|
25249
|
-
addonId: null,
|
|
25250
|
-
access: "view"
|
|
25251
|
-
},
|
|
25252
|
-
"streamingEngine.listStreams": {
|
|
25253
|
-
capName: "streaming-engine",
|
|
25254
|
-
capScope: "system",
|
|
25255
|
-
addonId: null,
|
|
25256
|
-
access: "view"
|
|
25257
|
-
},
|
|
25258
|
-
"streamingEngine.registerStream": {
|
|
25259
|
-
capName: "streaming-engine",
|
|
25260
|
-
capScope: "system",
|
|
25261
|
-
addonId: null,
|
|
25262
|
-
access: "create"
|
|
25263
|
-
},
|
|
25264
|
-
"streamingEngine.unregisterStream": {
|
|
25265
|
-
capName: "streaming-engine",
|
|
25266
|
-
capScope: "system",
|
|
25267
|
-
addonId: null,
|
|
25268
|
-
access: "delete"
|
|
25269
|
-
},
|
|
25270
25709
|
"streamParams.getConfigSchema": {
|
|
25271
25710
|
capName: "stream-params",
|
|
25272
25711
|
capScope: "device",
|
|
@@ -25513,6 +25952,12 @@ Object.freeze({
|
|
|
25513
25952
|
addonId: null,
|
|
25514
25953
|
access: "view"
|
|
25515
25954
|
},
|
|
25955
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
25956
|
+
capName: "user-passkeys",
|
|
25957
|
+
capScope: "system",
|
|
25958
|
+
addonId: null,
|
|
25959
|
+
access: "view"
|
|
25960
|
+
},
|
|
25516
25961
|
"userPasskeys.beginRegistration": {
|
|
25517
25962
|
capName: "user-passkeys",
|
|
25518
25963
|
capScope: "system",
|
|
@@ -25525,12 +25970,24 @@ Object.freeze({
|
|
|
25525
25970
|
addonId: null,
|
|
25526
25971
|
access: "view"
|
|
25527
25972
|
},
|
|
25973
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
25974
|
+
capName: "user-passkeys",
|
|
25975
|
+
capScope: "system",
|
|
25976
|
+
addonId: null,
|
|
25977
|
+
access: "view"
|
|
25978
|
+
},
|
|
25528
25979
|
"userPasskeys.finishRegistration": {
|
|
25529
25980
|
capName: "user-passkeys",
|
|
25530
25981
|
capScope: "system",
|
|
25531
25982
|
addonId: null,
|
|
25532
25983
|
access: "create"
|
|
25533
25984
|
},
|
|
25985
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
25986
|
+
capName: "user-passkeys",
|
|
25987
|
+
capScope: "system",
|
|
25988
|
+
addonId: null,
|
|
25989
|
+
access: "view"
|
|
25990
|
+
},
|
|
25534
25991
|
"userPasskeys.listPasskeys": {
|
|
25535
25992
|
capName: "user-passkeys",
|
|
25536
25993
|
capScope: "system",
|
|
@@ -25543,6 +26000,12 @@ Object.freeze({
|
|
|
25543
26000
|
addonId: null,
|
|
25544
26001
|
access: "delete"
|
|
25545
26002
|
},
|
|
26003
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26004
|
+
capName: "user-passkeys",
|
|
26005
|
+
capScope: "system",
|
|
26006
|
+
addonId: null,
|
|
26007
|
+
access: "create"
|
|
26008
|
+
},
|
|
25546
26009
|
"vacuumControl.locate": {
|
|
25547
26010
|
capName: "vacuum-control",
|
|
25548
26011
|
capScope: "device",
|
|
@@ -25615,6 +26078,18 @@ Object.freeze({
|
|
|
25615
26078
|
addonId: null,
|
|
25616
26079
|
access: "view"
|
|
25617
26080
|
},
|
|
26081
|
+
"viewerUi.getStaticDir": {
|
|
26082
|
+
capName: "viewer-ui",
|
|
26083
|
+
capScope: "system",
|
|
26084
|
+
addonId: null,
|
|
26085
|
+
access: "view"
|
|
26086
|
+
},
|
|
26087
|
+
"viewerUi.getVersion": {
|
|
26088
|
+
capName: "viewer-ui",
|
|
26089
|
+
capScope: "system",
|
|
26090
|
+
addonId: null,
|
|
26091
|
+
access: "view"
|
|
26092
|
+
},
|
|
25618
26093
|
"waterHeater.setAway": {
|
|
25619
26094
|
capName: "water-heater",
|
|
25620
26095
|
capScope: "device",
|
|
@@ -25633,54 +26108,6 @@ Object.freeze({
|
|
|
25633
26108
|
addonId: null,
|
|
25634
26109
|
access: "create"
|
|
25635
26110
|
},
|
|
25636
|
-
"webrtc.closeSession": {
|
|
25637
|
-
capName: "webrtc",
|
|
25638
|
-
capScope: "system",
|
|
25639
|
-
addonId: null,
|
|
25640
|
-
access: "create"
|
|
25641
|
-
},
|
|
25642
|
-
"webrtc.createSession": {
|
|
25643
|
-
capName: "webrtc",
|
|
25644
|
-
capScope: "system",
|
|
25645
|
-
addonId: null,
|
|
25646
|
-
access: "create"
|
|
25647
|
-
},
|
|
25648
|
-
"webrtc.handleAnswer": {
|
|
25649
|
-
capName: "webrtc",
|
|
25650
|
-
capScope: "system",
|
|
25651
|
-
addonId: null,
|
|
25652
|
-
access: "create"
|
|
25653
|
-
},
|
|
25654
|
-
"webrtc.handleOffer": {
|
|
25655
|
-
capName: "webrtc",
|
|
25656
|
-
capScope: "system",
|
|
25657
|
-
addonId: null,
|
|
25658
|
-
access: "create"
|
|
25659
|
-
},
|
|
25660
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25661
|
-
capName: "webrtc",
|
|
25662
|
-
capScope: "system",
|
|
25663
|
-
addonId: null,
|
|
25664
|
-
access: "view"
|
|
25665
|
-
},
|
|
25666
|
-
"webrtc.registerStream": {
|
|
25667
|
-
capName: "webrtc",
|
|
25668
|
-
capScope: "system",
|
|
25669
|
-
addonId: null,
|
|
25670
|
-
access: "create"
|
|
25671
|
-
},
|
|
25672
|
-
"webrtc.supportsStream": {
|
|
25673
|
-
capName: "webrtc",
|
|
25674
|
-
capScope: "system",
|
|
25675
|
-
addonId: null,
|
|
25676
|
-
access: "view"
|
|
25677
|
-
},
|
|
25678
|
-
"webrtc.unregisterStream": {
|
|
25679
|
-
capName: "webrtc",
|
|
25680
|
-
capScope: "system",
|
|
25681
|
-
addonId: null,
|
|
25682
|
-
access: "delete"
|
|
25683
|
-
},
|
|
25684
26111
|
"webrtcSession.addIceCandidate": {
|
|
25685
26112
|
capName: "webrtc-session",
|
|
25686
26113
|
capScope: "device",
|