@camstack/addon-provider-wyze 0.1.17 → 0.1.19
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 +724 -289
- package/dist/addon.mjs +724 -289
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -4638,7 +4638,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4638
4638
|
return inst;
|
|
4639
4639
|
}
|
|
4640
4640
|
//#endregion
|
|
4641
|
-
//#region ../types/dist/sleep-
|
|
4641
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4642
4642
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4643
4643
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4644
4644
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4824,6 +4824,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4824
4824
|
*/
|
|
4825
4825
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4826
4826
|
/**
|
|
4827
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4828
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4829
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4830
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4831
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4832
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4833
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4834
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4835
|
+
* broker's long backstop reconcile query).
|
|
4836
|
+
*/
|
|
4837
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4838
|
+
/**
|
|
4827
4839
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4828
4840
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4829
4841
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5347,10 +5359,6 @@ function hydrateField(field, values) {
|
|
|
5347
5359
|
};
|
|
5348
5360
|
}
|
|
5349
5361
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5350
|
-
if (field.type === "password") return {
|
|
5351
|
-
...field,
|
|
5352
|
-
value: ""
|
|
5353
|
-
};
|
|
5354
5362
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5355
5363
|
return {
|
|
5356
5364
|
...field,
|
|
@@ -6734,10 +6742,25 @@ function method(input, output, options) {
|
|
|
6734
6742
|
timeoutMs: options?.timeoutMs
|
|
6735
6743
|
};
|
|
6736
6744
|
}
|
|
6745
|
+
/**
|
|
6746
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6747
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6748
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6749
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6750
|
+
*/
|
|
6751
|
+
function systemMethod(input, output, options) {
|
|
6752
|
+
return {
|
|
6753
|
+
...method(input, output, options),
|
|
6754
|
+
systemOnly: true
|
|
6755
|
+
};
|
|
6756
|
+
}
|
|
6737
6757
|
/** Shorthand to define an event schema */
|
|
6738
6758
|
function event(data) {
|
|
6739
6759
|
return { data };
|
|
6740
6760
|
}
|
|
6761
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6762
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6763
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6741
6764
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6742
6765
|
var VersionOutputSchema = object({ version: string() });
|
|
6743
6766
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6919,6 +6942,36 @@ var ModelFormatsSchema = object({
|
|
|
6919
6942
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6920
6943
|
pt: ModelFormatEntrySchema.optional()
|
|
6921
6944
|
});
|
|
6945
|
+
/**
|
|
6946
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6947
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6948
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6949
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6950
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6951
|
+
* to an `id`.
|
|
6952
|
+
*/
|
|
6953
|
+
var ModelVariantGroupSchema = object({
|
|
6954
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6955
|
+
family: string(),
|
|
6956
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6957
|
+
tier: string(),
|
|
6958
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6959
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6960
|
+
/**
|
|
6961
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6962
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6963
|
+
* future performance variants plug into.
|
|
6964
|
+
*/
|
|
6965
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6966
|
+
/**
|
|
6967
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6968
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6969
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6970
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6971
|
+
* the group so the selector can offer it as a variant axis.
|
|
6972
|
+
*/
|
|
6973
|
+
resolution: number().int().positive().optional()
|
|
6974
|
+
});
|
|
6922
6975
|
var ModelCatalogEntrySchema = object({
|
|
6923
6976
|
id: string(),
|
|
6924
6977
|
name: string(),
|
|
@@ -6948,7 +7001,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6948
7001
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6949
7002
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6950
7003
|
*/
|
|
6951
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7004
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7005
|
+
/**
|
|
7006
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7007
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7008
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7009
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7010
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7011
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7012
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7013
|
+
*/
|
|
7014
|
+
legacy: boolean().optional(),
|
|
7015
|
+
/**
|
|
7016
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7017
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7018
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7019
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7020
|
+
*/
|
|
7021
|
+
metrics: object({
|
|
7022
|
+
map50: number().optional(),
|
|
7023
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7024
|
+
}).optional(),
|
|
7025
|
+
/**
|
|
7026
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7027
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7028
|
+
* the retraining addon and any future commercial distribution.
|
|
7029
|
+
*/
|
|
7030
|
+
license: string().optional(),
|
|
7031
|
+
/**
|
|
7032
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7033
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7034
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7035
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7036
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7037
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7038
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7039
|
+
*/
|
|
7040
|
+
group: ModelVariantGroupSchema.optional()
|
|
6952
7041
|
});
|
|
6953
7042
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6954
7043
|
format: literal("openvino"),
|
|
@@ -7009,8 +7098,8 @@ var RecordingModeSchema = _enum([
|
|
|
7009
7098
|
"onAudioThreshold"
|
|
7010
7099
|
]);
|
|
7011
7100
|
/**
|
|
7012
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7013
|
-
* reads directly (never inferred from `rules`):
|
|
7101
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7102
|
+
* UI reads directly (never inferred from `rules`):
|
|
7014
7103
|
* - `off` — not recording.
|
|
7015
7104
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7016
7105
|
* with pre/post-buffer.
|
|
@@ -9173,26 +9262,13 @@ onBrightnessChanged: { data: object({
|
|
|
9173
9262
|
*/
|
|
9174
9263
|
runtimeState: BrightnessStatusSchema
|
|
9175
9264
|
};
|
|
9265
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9176
9266
|
var StreamFormatSchema = _enum([
|
|
9177
9267
|
"webrtc",
|
|
9178
9268
|
"hls",
|
|
9179
9269
|
"mjpeg",
|
|
9180
9270
|
"rtsp"
|
|
9181
9271
|
]);
|
|
9182
|
-
var StreamInfoSchema = object({
|
|
9183
|
-
streamId: string(),
|
|
9184
|
-
format: StreamFormatSchema,
|
|
9185
|
-
url: string().nullable(),
|
|
9186
|
-
active: boolean()
|
|
9187
|
-
});
|
|
9188
|
-
method(object({
|
|
9189
|
-
streamId: string(),
|
|
9190
|
-
sourceUrl: string(),
|
|
9191
|
-
codec: string().optional()
|
|
9192
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
9193
|
-
streamId: string(),
|
|
9194
|
-
format: StreamFormatSchema
|
|
9195
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9196
9272
|
var RtspRestreamEntrySchema = object({
|
|
9197
9273
|
brokerId: string(),
|
|
9198
9274
|
url: string(),
|
|
@@ -10060,37 +10136,7 @@ var consumablesCapability = {
|
|
|
10060
10136
|
scope: "device",
|
|
10061
10137
|
deviceNative: true,
|
|
10062
10138
|
mode: "singleton",
|
|
10063
|
-
deviceTypes:
|
|
10064
|
-
DeviceType.Camera,
|
|
10065
|
-
DeviceType.Hub,
|
|
10066
|
-
DeviceType.Light,
|
|
10067
|
-
DeviceType.Siren,
|
|
10068
|
-
DeviceType.Switch,
|
|
10069
|
-
DeviceType.Sensor,
|
|
10070
|
-
DeviceType.Thermostat,
|
|
10071
|
-
DeviceType.Button,
|
|
10072
|
-
DeviceType.EventEmitter,
|
|
10073
|
-
DeviceType.Update,
|
|
10074
|
-
DeviceType.Generic,
|
|
10075
|
-
DeviceType.Notifier,
|
|
10076
|
-
DeviceType.Script,
|
|
10077
|
-
DeviceType.Automation,
|
|
10078
|
-
DeviceType.Lock,
|
|
10079
|
-
DeviceType.Cover,
|
|
10080
|
-
DeviceType.Valve,
|
|
10081
|
-
DeviceType.Humidifier,
|
|
10082
|
-
DeviceType.WaterHeater,
|
|
10083
|
-
DeviceType.Fan,
|
|
10084
|
-
DeviceType.MediaPlayer,
|
|
10085
|
-
DeviceType.AlarmPanel,
|
|
10086
|
-
DeviceType.Control,
|
|
10087
|
-
DeviceType.Presence,
|
|
10088
|
-
DeviceType.Weather,
|
|
10089
|
-
DeviceType.Vacuum,
|
|
10090
|
-
DeviceType.LawnMower,
|
|
10091
|
-
DeviceType.Container,
|
|
10092
|
-
DeviceType.Image
|
|
10093
|
-
],
|
|
10139
|
+
deviceTypes: Object.values(DeviceType),
|
|
10094
10140
|
deviceConfig: { ui: {
|
|
10095
10141
|
kind: "widget",
|
|
10096
10142
|
widgetId: "host/consumables-panel",
|
|
@@ -11548,7 +11594,7 @@ var BoundingBoxSchema = object({
|
|
|
11548
11594
|
w: number(),
|
|
11549
11595
|
h: number()
|
|
11550
11596
|
});
|
|
11551
|
-
|
|
11597
|
+
object({
|
|
11552
11598
|
class: string(),
|
|
11553
11599
|
originalClass: string(),
|
|
11554
11600
|
score: number(),
|
|
@@ -11683,7 +11729,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11683
11729
|
enabled: boolean(),
|
|
11684
11730
|
modelId: string(),
|
|
11685
11731
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11686
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11687
11732
|
group: string().optional(),
|
|
11688
11733
|
settings: record(string(), unknown()).optional()
|
|
11689
11734
|
}));
|
|
@@ -11708,7 +11753,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11708
11753
|
formats: record(string(), object({
|
|
11709
11754
|
downloaded: boolean(),
|
|
11710
11755
|
sizeMB: number()
|
|
11711
|
-
}))
|
|
11756
|
+
})),
|
|
11757
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11758
|
+
legacy: boolean().optional()
|
|
11712
11759
|
});
|
|
11713
11760
|
var ConfigFieldBridge = custom();
|
|
11714
11761
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11722,6 +11769,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11722
11769
|
defaultModelId: string(),
|
|
11723
11770
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
11724
11771
|
enabledByDefault: boolean().optional(),
|
|
11772
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11725
11773
|
defaultConfidence: number(),
|
|
11726
11774
|
group: string().optional(),
|
|
11727
11775
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11738,11 +11786,6 @@ var PipelineSchemaSchema = object({
|
|
|
11738
11786
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11739
11787
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11740
11788
|
});
|
|
11741
|
-
var DetectorOutputSchema = object({
|
|
11742
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11743
|
-
inferenceMs: number(),
|
|
11744
|
-
modelId: string()
|
|
11745
|
-
});
|
|
11746
11789
|
var EngineProvisioningSchema = object({
|
|
11747
11790
|
runtimeId: _enum([
|
|
11748
11791
|
"onnx",
|
|
@@ -11759,15 +11802,42 @@ var EngineProvisioningSchema = object({
|
|
|
11759
11802
|
]),
|
|
11760
11803
|
progress: number().optional(),
|
|
11761
11804
|
error: string().optional(),
|
|
11762
|
-
nextRetryAt: number().optional()
|
|
11805
|
+
nextRetryAt: number().optional(),
|
|
11806
|
+
/**
|
|
11807
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11808
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11809
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11810
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11811
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11812
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11813
|
+
*/
|
|
11814
|
+
configIssues: array(string()).optional()
|
|
11763
11815
|
});
|
|
11764
11816
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11765
11817
|
addonId: string(),
|
|
11766
|
-
modelId: string(),
|
|
11818
|
+
modelId: string().optional(),
|
|
11767
11819
|
enabled: boolean().default(true),
|
|
11768
11820
|
children: array(PipelineStepInputSchema).optional(),
|
|
11769
11821
|
settings: record(string(), unknown()).optional()
|
|
11770
11822
|
}));
|
|
11823
|
+
var ModelSubstitutionSchema = object({
|
|
11824
|
+
addonId: string(),
|
|
11825
|
+
chosen: string(),
|
|
11826
|
+
running: string(),
|
|
11827
|
+
format: string()
|
|
11828
|
+
});
|
|
11829
|
+
var PipelineValidationIssueSchema = object({
|
|
11830
|
+
addonId: string(),
|
|
11831
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11832
|
+
detail: string()
|
|
11833
|
+
});
|
|
11834
|
+
var PipelineValidationResultSchema = object({
|
|
11835
|
+
ok: boolean(),
|
|
11836
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11837
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11838
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11839
|
+
format: string()
|
|
11840
|
+
});
|
|
11771
11841
|
var ReferenceImageEntrySchema = object({
|
|
11772
11842
|
filename: string(),
|
|
11773
11843
|
stepIds: array(string()).readonly().optional()
|
|
@@ -11838,7 +11908,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11838
11908
|
})) }), object({ success: literal(true) }), {
|
|
11839
11909
|
kind: "mutation",
|
|
11840
11910
|
auth: "admin"
|
|
11841
|
-
}), method(
|
|
11911
|
+
}), method(object({ nodeId: string() }), object({
|
|
11912
|
+
success: literal(true),
|
|
11913
|
+
clearedDevices: number()
|
|
11914
|
+
}), {
|
|
11915
|
+
kind: "mutation",
|
|
11916
|
+
auth: "admin"
|
|
11917
|
+
}), 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({
|
|
11842
11918
|
name: string(),
|
|
11843
11919
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11844
11920
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11855,10 +11931,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11855
11931
|
modelId: string(),
|
|
11856
11932
|
format: ModelFormatSchema$1
|
|
11857
11933
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11858
|
-
addonId: string(),
|
|
11859
|
-
frame: FrameInputSchema,
|
|
11860
|
-
config: record(string(), unknown()).optional()
|
|
11861
|
-
}), DetectorOutputSchema), method(object({
|
|
11862
11934
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11863
11935
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11864
11936
|
frame: FrameInputSchema.optional(),
|
|
@@ -11879,7 +11951,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11879
11951
|
image: _instanceof(Uint8Array).optional(),
|
|
11880
11952
|
referenceImage: string().optional(),
|
|
11881
11953
|
deviceId: number().optional(),
|
|
11882
|
-
sessionId: string().optional()
|
|
11954
|
+
sessionId: string().optional(),
|
|
11955
|
+
/**
|
|
11956
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11957
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11958
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11959
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11960
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11961
|
+
*/
|
|
11962
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11883
11963
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11884
11964
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11885
11965
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12037,6 +12117,47 @@ var zonesCapability = {
|
|
|
12037
12117
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12038
12118
|
};
|
|
12039
12119
|
/**
|
|
12120
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12121
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12122
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12123
|
+
* dims — no native resolution to plumb.
|
|
12124
|
+
*/
|
|
12125
|
+
var NativeCropBboxSchema = object({
|
|
12126
|
+
x: number(),
|
|
12127
|
+
y: number(),
|
|
12128
|
+
w: number(),
|
|
12129
|
+
h: number()
|
|
12130
|
+
});
|
|
12131
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12132
|
+
var NativeCropResultSchema = object({
|
|
12133
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12134
|
+
bytes: _instanceof(Uint8Array),
|
|
12135
|
+
width: number().int().positive(),
|
|
12136
|
+
height: number().int().positive()
|
|
12137
|
+
});
|
|
12138
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12139
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12140
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12141
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12142
|
+
* normalized [0,1] convention). */
|
|
12143
|
+
var DetailParentSchema = object({
|
|
12144
|
+
bbox: NativeCropBboxSchema,
|
|
12145
|
+
className: string()
|
|
12146
|
+
});
|
|
12147
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12148
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12149
|
+
* single tracked detection. */
|
|
12150
|
+
var DetailResultSchema = object({
|
|
12151
|
+
stepId: string(),
|
|
12152
|
+
className: string(),
|
|
12153
|
+
score: number(),
|
|
12154
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12155
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12156
|
+
embedding: string().optional(),
|
|
12157
|
+
label: string().optional(),
|
|
12158
|
+
alignedCropJpeg: string().optional()
|
|
12159
|
+
});
|
|
12160
|
+
/**
|
|
12040
12161
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12041
12162
|
* by both the Zod data schema (validation + default fallback) and
|
|
12042
12163
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12131,6 +12252,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12131
12252
|
kind: literal("remote-restream"),
|
|
12132
12253
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12133
12254
|
ownerNodeId: string(),
|
|
12255
|
+
/**
|
|
12256
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12257
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12258
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12259
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12260
|
+
*/
|
|
12261
|
+
ownerReachableHost: string().optional(),
|
|
12134
12262
|
/** Operator override for the owner host the runner dials. */
|
|
12135
12263
|
hubHostnameOverride: string().optional()
|
|
12136
12264
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12139,13 +12267,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12139
12267
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12140
12268
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12141
12269
|
*
|
|
12142
|
-
* Stateless-pipeline model: the
|
|
12143
|
-
*
|
|
12144
|
-
*
|
|
12145
|
-
*
|
|
12146
|
-
*
|
|
12147
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12148
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12270
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12271
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12272
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12273
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12274
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12149
12275
|
*/
|
|
12150
12276
|
var RunnerCameraConfigSchema = object({
|
|
12151
12277
|
deviceId: number(),
|
|
@@ -12196,14 +12322,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12196
12322
|
*/
|
|
12197
12323
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12198
12324
|
pipelineEnabled: boolean().default(true),
|
|
12199
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12200
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12201
12325
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12202
12326
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12203
12327
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12204
12328
|
audio: object({
|
|
12205
|
-
|
|
12206
|
-
modelId: string(),
|
|
12329
|
+
modelId: string().optional(),
|
|
12207
12330
|
enabled: boolean()
|
|
12208
12331
|
}).nullable().optional(),
|
|
12209
12332
|
/**
|
|
@@ -12290,7 +12413,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12290
12413
|
avgInferenceTimeMs: number(),
|
|
12291
12414
|
queueDepth: number()
|
|
12292
12415
|
});
|
|
12293
|
-
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())
|
|
12416
|
+
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({
|
|
12417
|
+
handle: FrameHandleSchema,
|
|
12418
|
+
bbox: NativeCropBboxSchema,
|
|
12419
|
+
maxWidth: number().int().positive().optional()
|
|
12420
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12421
|
+
deviceId: number(),
|
|
12422
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12423
|
+
cropJpeg: string().optional(),
|
|
12424
|
+
parent: DetailParentSchema,
|
|
12425
|
+
steps: array(string()).optional()
|
|
12426
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12294
12427
|
/**
|
|
12295
12428
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12296
12429
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15221,7 +15354,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15221
15354
|
icon: string(),
|
|
15222
15355
|
path: string(),
|
|
15223
15356
|
remoteName: string(),
|
|
15224
|
-
bundle: string()
|
|
15357
|
+
bundle: string(),
|
|
15358
|
+
section: string().optional(),
|
|
15359
|
+
sectionLabel: string().optional()
|
|
15225
15360
|
});
|
|
15226
15361
|
var AddonPageInfoSchema = object({
|
|
15227
15362
|
addonId: string(),
|
|
@@ -15261,7 +15396,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15261
15396
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15262
15397
|
* without a separate filesystem stat.
|
|
15263
15398
|
*/
|
|
15264
|
-
bundle: string()
|
|
15399
|
+
bundle: string(),
|
|
15400
|
+
/**
|
|
15401
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15402
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15403
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15404
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15405
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15406
|
+
* "Addon Pages" group.
|
|
15407
|
+
*/
|
|
15408
|
+
section: string().optional(),
|
|
15409
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15410
|
+
sectionLabel: string().optional()
|
|
15265
15411
|
});
|
|
15266
15412
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15267
15413
|
var AddonHttpRouteSchema = object({
|
|
@@ -15477,6 +15623,17 @@ var WidgetMetadataSchema = object({
|
|
|
15477
15623
|
deviceContext: boolean().default(false),
|
|
15478
15624
|
integrationContext: boolean().default(false)
|
|
15479
15625
|
}),
|
|
15626
|
+
/**
|
|
15627
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15628
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15629
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15630
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15631
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15632
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15633
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15634
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15635
|
+
*/
|
|
15636
|
+
preAuth: boolean().optional().default(false),
|
|
15480
15637
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15481
15638
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15482
15639
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15778,6 +15935,66 @@ method(object({
|
|
|
15778
15935
|
password: string()
|
|
15779
15936
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
15780
15937
|
/**
|
|
15938
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15939
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15940
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15941
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15942
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15943
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15944
|
+
*
|
|
15945
|
+
* A contribution is a discriminated union on `kind`:
|
|
15946
|
+
*
|
|
15947
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15948
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15949
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15950
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15951
|
+
* login page needs NO change.
|
|
15952
|
+
*
|
|
15953
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15954
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15955
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15956
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15957
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
15958
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
15959
|
+
*
|
|
15960
|
+
* Every contribution carries a `stage`:
|
|
15961
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
15962
|
+
* magic-link buttons; a future usernameless passkey).
|
|
15963
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
15964
|
+
* returned `factors` (passkey-as-2FA today).
|
|
15965
|
+
*
|
|
15966
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
15967
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
15968
|
+
* tRPC router.
|
|
15969
|
+
*/
|
|
15970
|
+
/** When a login method renders in the two-phase login flow. */
|
|
15971
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
15972
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
15973
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
15974
|
+
kind: literal("redirect"),
|
|
15975
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
15976
|
+
id: string(),
|
|
15977
|
+
/** Operator-facing button label. */
|
|
15978
|
+
label: string(),
|
|
15979
|
+
/** lucide-react icon name. */
|
|
15980
|
+
icon: string().optional(),
|
|
15981
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
15982
|
+
startUrl: string(),
|
|
15983
|
+
stage: LoginStageEnum
|
|
15984
|
+
}), object({
|
|
15985
|
+
kind: literal("widget"),
|
|
15986
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
15987
|
+
id: string(),
|
|
15988
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
15989
|
+
addonId: string(),
|
|
15990
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
15991
|
+
bundle: string(),
|
|
15992
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
15993
|
+
remote: WidgetRemoteSchema,
|
|
15994
|
+
stage: LoginStageEnum
|
|
15995
|
+
})]);
|
|
15996
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
15997
|
+
/**
|
|
15781
15998
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15782
15999
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15783
16000
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17898,7 +18115,17 @@ var TrackSchema = object({
|
|
|
17898
18115
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17899
18116
|
totalDistance: number(),
|
|
17900
18117
|
state: TrackStateSchema,
|
|
17901
|
-
active: boolean()
|
|
18118
|
+
active: boolean(),
|
|
18119
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18120
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18121
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18122
|
+
importance: number().optional(),
|
|
18123
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18124
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18125
|
+
bestEventId: string().optional(),
|
|
18126
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18127
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18128
|
+
importanceReason: string().optional()
|
|
17902
18129
|
});
|
|
17903
18130
|
var BaseEventFields = {
|
|
17904
18131
|
id: string(),
|
|
@@ -17963,8 +18190,18 @@ var ObjectEventSchema = object({
|
|
|
17963
18190
|
frameHeight: number().optional(),
|
|
17964
18191
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
17965
18192
|
mediaKey: string().optional(),
|
|
18193
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18194
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18195
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18196
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18197
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18198
|
+
keyFrameMediaKey: string().optional(),
|
|
17966
18199
|
/** Populated by B5 (recording playback URL for this event). */
|
|
17967
|
-
mediaUrl: string().optional()
|
|
18200
|
+
mediaUrl: string().optional(),
|
|
18201
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18202
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18203
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18204
|
+
importance: number().optional()
|
|
17968
18205
|
});
|
|
17969
18206
|
var AudioEventSchema = object({
|
|
17970
18207
|
...BaseEventFields,
|
|
@@ -17988,7 +18225,8 @@ var MediaFileKindEnum = _enum([
|
|
|
17988
18225
|
"fullFrame",
|
|
17989
18226
|
"fullFrameBoxed",
|
|
17990
18227
|
"faceCrop",
|
|
17991
|
-
"plateCrop"
|
|
18228
|
+
"plateCrop",
|
|
18229
|
+
"keyFrame"
|
|
17992
18230
|
]);
|
|
17993
18231
|
var MediaFileSchema = object({
|
|
17994
18232
|
key: string(),
|
|
@@ -18009,6 +18247,32 @@ var DeviceEventQueryInput = object({
|
|
|
18009
18247
|
projection: _enum(["full", "slim"]).optional()
|
|
18010
18248
|
});
|
|
18011
18249
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18250
|
+
var KeyEventQueryInput = object({
|
|
18251
|
+
deviceId: number(),
|
|
18252
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18253
|
+
since: number(),
|
|
18254
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18255
|
+
until: number(),
|
|
18256
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18257
|
+
/** Drop tracks scoring below this importance. */
|
|
18258
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18259
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18260
|
+
classFilter: string().optional()
|
|
18261
|
+
});
|
|
18262
|
+
var KeyEventSchema = object({
|
|
18263
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18264
|
+
id: string(),
|
|
18265
|
+
trackId: string(),
|
|
18266
|
+
/** Track start time (firstSeen). */
|
|
18267
|
+
timestamp: number(),
|
|
18268
|
+
className: string(),
|
|
18269
|
+
label: string().optional(),
|
|
18270
|
+
importance: number(),
|
|
18271
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18272
|
+
bestEventId: string(),
|
|
18273
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18274
|
+
windowMs: number().optional()
|
|
18275
|
+
});
|
|
18012
18276
|
var TrackedDetectionSchema = object({
|
|
18013
18277
|
trackId: string(),
|
|
18014
18278
|
className: string(),
|
|
@@ -18038,7 +18302,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18038
18302
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18039
18303
|
kind: "mutation",
|
|
18040
18304
|
auth: "admin"
|
|
18041
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18305
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18042
18306
|
deviceId: number(),
|
|
18043
18307
|
since: number(),
|
|
18044
18308
|
until: number(),
|
|
@@ -18083,11 +18347,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18083
18347
|
timestamp: number()
|
|
18084
18348
|
});
|
|
18085
18349
|
var CameraPipelineConfigSchema = object({
|
|
18086
|
-
engine: PipelineEngineChoiceSchema,
|
|
18350
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18087
18351
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18088
18352
|
audio: object({
|
|
18089
|
-
engine: PipelineEngineChoiceSchema,
|
|
18090
|
-
modelId: string(),
|
|
18353
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18354
|
+
modelId: string().optional(),
|
|
18091
18355
|
enabled: boolean(),
|
|
18092
18356
|
settings: record(string(), unknown()).readonly().optional()
|
|
18093
18357
|
}).nullable().optional()
|
|
@@ -18102,7 +18366,7 @@ var PipelineTemplateSchema = object({
|
|
|
18102
18366
|
});
|
|
18103
18367
|
var AgentAddonConfigSchema = object({
|
|
18104
18368
|
enabled: boolean(),
|
|
18105
|
-
modelId: string(),
|
|
18369
|
+
modelId: string().optional(),
|
|
18106
18370
|
settings: record(string(), unknown()).readonly()
|
|
18107
18371
|
});
|
|
18108
18372
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18112,12 +18376,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18112
18376
|
detectWeight: number().positive().optional(),
|
|
18113
18377
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18114
18378
|
detect: boolean().optional(),
|
|
18115
|
-
/**
|
|
18379
|
+
/**
|
|
18380
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18381
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18382
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18383
|
+
* parse — no code reads it and no write path emits it.
|
|
18384
|
+
*/
|
|
18116
18385
|
decode: boolean().optional(),
|
|
18117
18386
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18118
18387
|
audio: boolean().optional(),
|
|
18119
18388
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18120
|
-
ingest: boolean().optional()
|
|
18389
|
+
ingest: boolean().optional(),
|
|
18390
|
+
/**
|
|
18391
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18392
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18393
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18394
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18395
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18396
|
+
*/
|
|
18397
|
+
reachableHost: string().optional()
|
|
18121
18398
|
});
|
|
18122
18399
|
var CameraPipelineForAgentSchema = object({
|
|
18123
18400
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18165,25 +18442,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18165
18442
|
assignedAt: number()
|
|
18166
18443
|
});
|
|
18167
18444
|
/**
|
|
18168
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18169
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18170
|
-
* → co-located with pipeline → capacity).
|
|
18171
|
-
*/
|
|
18172
|
-
var DecoderAssignmentSchema = object({
|
|
18173
|
-
deviceId: number(),
|
|
18174
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18175
|
-
decoderNodeId: string(),
|
|
18176
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18177
|
-
pinned: boolean(),
|
|
18178
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18179
|
-
reason: _enum([
|
|
18180
|
-
"manual",
|
|
18181
|
-
"co-located",
|
|
18182
|
-
"capacity",
|
|
18183
|
-
"hardware-affinity"
|
|
18184
|
-
])
|
|
18185
|
-
});
|
|
18186
|
-
/**
|
|
18187
18445
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18188
18446
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18189
18447
|
*/
|
|
@@ -18223,6 +18481,15 @@ var GlobalMetricsSchema = object({
|
|
|
18223
18481
|
* capability providers.
|
|
18224
18482
|
*/
|
|
18225
18483
|
var CapabilityBindingsSchema = record(string(), string());
|
|
18484
|
+
/**
|
|
18485
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18486
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18487
|
+
*/
|
|
18488
|
+
var IngestOwnerSchema = object({
|
|
18489
|
+
ownerNodeId: string(),
|
|
18490
|
+
reachableHost: string().optional(),
|
|
18491
|
+
configIssue: string().optional()
|
|
18492
|
+
});
|
|
18226
18493
|
/** Source block — always present; derives from the stream catalog. */
|
|
18227
18494
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18228
18495
|
camStreamId: string(),
|
|
@@ -18237,6 +18504,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18237
18504
|
detectionNodeId: string().nullable(),
|
|
18238
18505
|
decoderNodeId: string().nullable(),
|
|
18239
18506
|
audioNodeId: string().nullable(),
|
|
18507
|
+
/**
|
|
18508
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18509
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18510
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18511
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18512
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18513
|
+
*/
|
|
18514
|
+
sourceNodeId: string().nullable(),
|
|
18240
18515
|
pinned: object({
|
|
18241
18516
|
detection: boolean(),
|
|
18242
18517
|
decoder: boolean(),
|
|
@@ -18369,16 +18644,7 @@ method(object({
|
|
|
18369
18644
|
}), object({ success: literal(true) }), {
|
|
18370
18645
|
kind: "mutation",
|
|
18371
18646
|
auth: "admin"
|
|
18372
|
-
}), method(object({
|
|
18373
|
-
deviceId: number(),
|
|
18374
|
-
nodeId: string()
|
|
18375
|
-
}), _void(), {
|
|
18376
|
-
kind: "mutation",
|
|
18377
|
-
auth: "admin"
|
|
18378
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18379
|
-
kind: "mutation",
|
|
18380
|
-
auth: "admin"
|
|
18381
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18647
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18382
18648
|
deviceId: number(),
|
|
18383
18649
|
nodeId: string()
|
|
18384
18650
|
}), object({ success: literal(true) }), {
|
|
@@ -18399,10 +18665,7 @@ method(object({
|
|
|
18399
18665
|
nodeId: string(),
|
|
18400
18666
|
pinned: boolean(),
|
|
18401
18667
|
assignedAt: number()
|
|
18402
|
-
}))), method(object({
|
|
18403
|
-
deviceId: number(),
|
|
18404
|
-
pipelineNodeId: string().optional()
|
|
18405
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18668
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18406
18669
|
nodeId: string(),
|
|
18407
18670
|
settings: AgentPipelineSettingsSchema
|
|
18408
18671
|
})).readonly()), method(object({
|
|
@@ -18432,12 +18695,26 @@ method(object({
|
|
|
18432
18695
|
}), method(object({
|
|
18433
18696
|
agentNodeId: string(),
|
|
18434
18697
|
detect: boolean().nullable().optional(),
|
|
18435
|
-
decode: boolean().nullable().optional(),
|
|
18436
18698
|
audio: boolean().nullable().optional(),
|
|
18437
18699
|
ingest: boolean().nullable().optional()
|
|
18438
18700
|
}), object({ success: literal(true) }), {
|
|
18439
18701
|
kind: "mutation",
|
|
18440
18702
|
auth: "admin"
|
|
18703
|
+
}), method(object({
|
|
18704
|
+
agentNodeId: string(),
|
|
18705
|
+
reachableHost: string().nullable()
|
|
18706
|
+
}), object({ success: literal(true) }), {
|
|
18707
|
+
kind: "mutation",
|
|
18708
|
+
auth: "admin"
|
|
18709
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18710
|
+
success: literal(true),
|
|
18711
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18712
|
+
effectiveModelId: string().nullable(),
|
|
18713
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18714
|
+
clearedCameraOverrides: number()
|
|
18715
|
+
}), {
|
|
18716
|
+
kind: "mutation",
|
|
18717
|
+
auth: "admin"
|
|
18441
18718
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18442
18719
|
deviceId: number(),
|
|
18443
18720
|
addonId: string(),
|
|
@@ -18482,22 +18759,131 @@ method(object({
|
|
|
18482
18759
|
kind: "mutation",
|
|
18483
18760
|
auth: "admin"
|
|
18484
18761
|
});
|
|
18485
|
-
|
|
18486
|
-
|
|
18487
|
-
|
|
18488
|
-
|
|
18489
|
-
|
|
18490
|
-
|
|
18762
|
+
/**
|
|
18763
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18764
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18765
|
+
* agents).
|
|
18766
|
+
*
|
|
18767
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18768
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18769
|
+
* version describes the node. Updates install into
|
|
18770
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18771
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18772
|
+
*
|
|
18773
|
+
* Providers:
|
|
18774
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18775
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18776
|
+
* unpinned calls.
|
|
18777
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18778
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18779
|
+
* `$hub.registerNode` manifest.
|
|
18780
|
+
*
|
|
18781
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18782
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18783
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18784
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18785
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18786
|
+
*
|
|
18787
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18788
|
+
*/
|
|
18789
|
+
/**
|
|
18790
|
+
* Where the running hub's code was loaded from:
|
|
18791
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18792
|
+
* plain resolution and runtime updates are refused.
|
|
18793
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18794
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18795
|
+
*/
|
|
18796
|
+
var ServerBootModeSchema = _enum([
|
|
18797
|
+
"workspace",
|
|
18798
|
+
"baked",
|
|
18799
|
+
"data-root"
|
|
18800
|
+
]);
|
|
18801
|
+
/**
|
|
18802
|
+
* Update lifecycle state:
|
|
18803
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18804
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18805
|
+
* restarted onto it (still running the OLD version).
|
|
18806
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18807
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18808
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18809
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18810
|
+
*/
|
|
18811
|
+
var ServerUpdateStateSchema = _enum([
|
|
18812
|
+
"idle",
|
|
18813
|
+
"checking",
|
|
18814
|
+
"staging",
|
|
18815
|
+
"pending-restart",
|
|
18816
|
+
"awaiting-confirmation"
|
|
18817
|
+
]);
|
|
18818
|
+
var ServerRollbackInfoSchema = object({
|
|
18819
|
+
/** The version that failed (or was manually rolled back). */
|
|
18820
|
+
fromVersion: string(),
|
|
18821
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18822
|
+
toVersion: string().nullable(),
|
|
18823
|
+
atMs: number(),
|
|
18824
|
+
reason: string()
|
|
18491
18825
|
});
|
|
18492
|
-
var
|
|
18493
|
-
|
|
18494
|
-
|
|
18495
|
-
|
|
18826
|
+
var ServerPackageStatusSchema = object({
|
|
18827
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18828
|
+
packageName: string(),
|
|
18829
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18830
|
+
runningVersion: string().nullable(),
|
|
18831
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18832
|
+
nodeRuntimeVersion: string().nullable(),
|
|
18833
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18834
|
+
activeVersion: string().nullable(),
|
|
18835
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18836
|
+
previousVersion: string().nullable(),
|
|
18837
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18838
|
+
seedVersion: string().nullable(),
|
|
18839
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18840
|
+
latestVersion: string().nullable(),
|
|
18841
|
+
updateAvailable: boolean(),
|
|
18842
|
+
bootMode: ServerBootModeSchema,
|
|
18843
|
+
updateState: ServerUpdateStateSchema,
|
|
18844
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18845
|
+
pendingVersion: string().nullable(),
|
|
18846
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18847
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18848
|
+
/**
|
|
18849
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18850
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18851
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18852
|
+
*/
|
|
18853
|
+
stateFileCorrupt: boolean(),
|
|
18854
|
+
lastCheckedAtMs: number().nullable()
|
|
18855
|
+
});
|
|
18856
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18857
|
+
packageName: string(),
|
|
18858
|
+
runningVersion: string().nullable(),
|
|
18859
|
+
latestVersion: string().nullable(),
|
|
18860
|
+
updateAvailable: boolean(),
|
|
18861
|
+
checkedAtMs: number(),
|
|
18862
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18863
|
+
error: string().nullable()
|
|
18864
|
+
});
|
|
18865
|
+
var ServerUpdateActionResultSchema = object({
|
|
18866
|
+
accepted: boolean(),
|
|
18867
|
+
targetVersion: string().nullable(),
|
|
18868
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18869
|
+
restarting: boolean(),
|
|
18870
|
+
message: string()
|
|
18871
|
+
});
|
|
18872
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18873
|
+
kind: "mutation",
|
|
18874
|
+
auth: "admin"
|
|
18875
|
+
}), method(object({
|
|
18876
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18877
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
18878
|
+
kind: "mutation",
|
|
18879
|
+
auth: "admin"
|
|
18880
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18881
|
+
kind: "mutation",
|
|
18882
|
+
auth: "admin"
|
|
18883
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18884
|
+
kind: "mutation",
|
|
18885
|
+
auth: "admin"
|
|
18496
18886
|
});
|
|
18497
|
-
method(object({
|
|
18498
|
-
deviceId: number(),
|
|
18499
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18500
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18501
18887
|
/**
|
|
18502
18888
|
* Query filter for settings-store collections.
|
|
18503
18889
|
*/
|
|
@@ -18650,9 +19036,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18650
19036
|
/**
|
|
18651
19037
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18652
19038
|
*
|
|
18653
|
-
*
|
|
18654
|
-
*
|
|
18655
|
-
*
|
|
19039
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19040
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19041
|
+
* prebuffer fallback.
|
|
18656
19042
|
*/
|
|
18657
19043
|
var SnapshotImageSchema = object({
|
|
18658
19044
|
base64: string(),
|
|
@@ -18720,17 +19106,26 @@ var snapshotCapability = {
|
|
|
18720
19106
|
invalidateCache: method(object({ deviceId: number() }), _void(), {
|
|
18721
19107
|
kind: "mutation",
|
|
18722
19108
|
auth: "admin"
|
|
18723
|
-
})
|
|
19109
|
+
}),
|
|
19110
|
+
/**
|
|
19111
|
+
* Cache-only batch overview — answers from the wrapper's in-memory cache in
|
|
19112
|
+
* O(n) and NEVER triggers a capture. Lets a grid skip requesting images for
|
|
19113
|
+
* devices that never produced a frame, and gives it an ETag per device for
|
|
19114
|
+
* conditional (304-able) image fetches. `lastCapturedAt`/`cacheAgeMs`/`etag`
|
|
19115
|
+
* are null for a device with no cached frame.
|
|
19116
|
+
*/
|
|
19117
|
+
getSnapshotOverview: systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
19118
|
+
deviceId: number(),
|
|
19119
|
+
lastCapturedAt: number().nullable(),
|
|
19120
|
+
cacheAgeMs: number().nullable(),
|
|
19121
|
+
etag: string().nullable()
|
|
19122
|
+
})))
|
|
18724
19123
|
},
|
|
18725
19124
|
status: {
|
|
18726
19125
|
schema: SnapshotStatusSchema,
|
|
18727
19126
|
kind: "poll"
|
|
18728
19127
|
}
|
|
18729
19128
|
};
|
|
18730
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
18731
|
-
deviceId: number(),
|
|
18732
|
-
streamId: string().optional()
|
|
18733
|
-
}), SnapshotImageSchema.nullable());
|
|
18734
19129
|
/**
|
|
18735
19130
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18736
19131
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -18981,10 +19376,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
18981
19376
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
18982
19377
|
* the assertion, bumps the credential counter, returns ok.
|
|
18983
19378
|
*
|
|
19379
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19380
|
+
* passkey IS the primary factor, no password leg:
|
|
19381
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19382
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19383
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19384
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19385
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19386
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19387
|
+
* resolves the credential by the response's credential id,
|
|
19388
|
+
* verifies the assertion against the stored challenge + that
|
|
19389
|
+
* credential's public key/counter, and returns the OWNING
|
|
19390
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19391
|
+
*
|
|
18984
19392
|
* 3. Management:
|
|
18985
19393
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
18986
19394
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
18987
19395
|
*
|
|
19396
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19397
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19398
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19399
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19400
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19401
|
+
* row ⇒ `enabled: false`).
|
|
19402
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19403
|
+
* the providing addon beside its credentials.
|
|
19404
|
+
*
|
|
18988
19405
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
18989
19406
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
18990
19407
|
* the cap to non-admins.
|
|
@@ -19027,6 +19444,17 @@ method(object({
|
|
|
19027
19444
|
}), object({ verified: boolean() }), {
|
|
19028
19445
|
kind: "mutation",
|
|
19029
19446
|
access: "view"
|
|
19447
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19448
|
+
kind: "mutation",
|
|
19449
|
+
access: "view"
|
|
19450
|
+
}), method(object({
|
|
19451
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19452
|
+
response: record(string(), unknown()) }), object({
|
|
19453
|
+
verified: boolean(),
|
|
19454
|
+
userId: string().nullable()
|
|
19455
|
+
}), {
|
|
19456
|
+
kind: "mutation",
|
|
19457
|
+
access: "view"
|
|
19030
19458
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
19031
19459
|
userId: string(),
|
|
19032
19460
|
credentialId: string()
|
|
@@ -19034,6 +19462,13 @@ method(object({
|
|
|
19034
19462
|
kind: "mutation",
|
|
19035
19463
|
auth: "admin",
|
|
19036
19464
|
access: "delete"
|
|
19465
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19466
|
+
userId: string(),
|
|
19467
|
+
enabled: boolean()
|
|
19468
|
+
}), object({ success: literal(true) }), {
|
|
19469
|
+
kind: "mutation",
|
|
19470
|
+
auth: "admin",
|
|
19471
|
+
access: "create"
|
|
19037
19472
|
});
|
|
19038
19473
|
/**
|
|
19039
19474
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19091,9 +19526,10 @@ method(object({
|
|
|
19091
19526
|
auth: "admin"
|
|
19092
19527
|
});
|
|
19093
19528
|
/**
|
|
19094
|
-
* Optional client-side hints sent at session creation to help the
|
|
19095
|
-
*
|
|
19096
|
-
*
|
|
19529
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19530
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19531
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19532
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19097
19533
|
*/
|
|
19098
19534
|
var webrtcClientHintsSchema = object({
|
|
19099
19535
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19104,22 +19540,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19104
19540
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19105
19541
|
prefersTier: string().optional()
|
|
19106
19542
|
}).partial();
|
|
19107
|
-
method(object({
|
|
19108
|
-
streamId: string(),
|
|
19109
|
-
sdpOffer: string()
|
|
19110
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
19111
|
-
streamId: string(),
|
|
19112
|
-
codec: string()
|
|
19113
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
19114
|
-
streamId: string(),
|
|
19115
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19116
|
-
}), object({
|
|
19117
|
-
sessionId: string(),
|
|
19118
|
-
sdpOffer: string()
|
|
19119
|
-
}), { kind: "mutation" }), method(object({
|
|
19120
|
-
sessionId: string(),
|
|
19121
|
-
sdpAnswer: string()
|
|
19122
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
19123
19543
|
/**
|
|
19124
19544
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19125
19545
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19850,7 +20270,17 @@ var FaceInfoSchema = object({
|
|
|
19850
20270
|
recognizedIdentityId: string().optional(),
|
|
19851
20271
|
identityName: string().optional(),
|
|
19852
20272
|
assigned: boolean(),
|
|
19853
|
-
base64: string().optional()
|
|
20273
|
+
base64: string().optional(),
|
|
20274
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20275
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20276
|
+
* legacy rows written before design B. */
|
|
20277
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20278
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20279
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20280
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20281
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20282
|
+
* back to the inline `base64` face crop. */
|
|
20283
|
+
keyFrameMediaKey: string().optional()
|
|
19854
20284
|
});
|
|
19855
20285
|
var FaceFilterEnum = _enum([
|
|
19856
20286
|
"unassigned",
|
|
@@ -20598,6 +21028,16 @@ var TopologyCategorySchema = object({
|
|
|
20598
21028
|
healthy: number(),
|
|
20599
21029
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20600
21030
|
});
|
|
21031
|
+
/**
|
|
21032
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
21033
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
21034
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
21035
|
+
* rows and pre-phase-2 nodes report none.
|
|
21036
|
+
*/
|
|
21037
|
+
var TopologyRootPackageSchema = object({
|
|
21038
|
+
name: string(),
|
|
21039
|
+
version: string()
|
|
21040
|
+
});
|
|
20601
21041
|
var TopologyNodeSchema = object({
|
|
20602
21042
|
id: string(),
|
|
20603
21043
|
name: string(),
|
|
@@ -20621,7 +21061,8 @@ var TopologyNodeSchema = object({
|
|
|
20621
21061
|
status: string()
|
|
20622
21062
|
})).readonly(),
|
|
20623
21063
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20624
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
21064
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
21065
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20625
21066
|
});
|
|
20626
21067
|
var CapUsageEdgeSchema = object({
|
|
20627
21068
|
callerAddonId: string(),
|
|
@@ -23434,6 +23875,12 @@ Object.freeze({
|
|
|
23434
23875
|
addonId: null,
|
|
23435
23876
|
access: "create"
|
|
23436
23877
|
},
|
|
23878
|
+
"loginMethod.getLoginMethods": {
|
|
23879
|
+
capName: "login-method",
|
|
23880
|
+
capScope: "system",
|
|
23881
|
+
addonId: null,
|
|
23882
|
+
access: "view"
|
|
23883
|
+
},
|
|
23437
23884
|
"mediaPlayer.next": {
|
|
23438
23885
|
capName: "media-player",
|
|
23439
23886
|
capScope: "device",
|
|
@@ -24016,6 +24463,12 @@ Object.freeze({
|
|
|
24016
24463
|
addonId: null,
|
|
24017
24464
|
access: "view"
|
|
24018
24465
|
},
|
|
24466
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24467
|
+
capName: "pipeline-analytics",
|
|
24468
|
+
capScope: "device",
|
|
24469
|
+
addonId: null,
|
|
24470
|
+
access: "view"
|
|
24471
|
+
},
|
|
24019
24472
|
"pipelineAnalytics.getMotionEvents": {
|
|
24020
24473
|
capName: "pipeline-analytics",
|
|
24021
24474
|
capScope: "device",
|
|
@@ -24064,23 +24517,23 @@ Object.freeze({
|
|
|
24064
24517
|
addonId: null,
|
|
24065
24518
|
access: "create"
|
|
24066
24519
|
},
|
|
24067
|
-
"pipelineExecutor.
|
|
24520
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
24068
24521
|
capName: "pipeline-executor",
|
|
24069
24522
|
capScope: "system",
|
|
24070
24523
|
addonId: null,
|
|
24071
24524
|
access: "delete"
|
|
24072
24525
|
},
|
|
24073
|
-
"pipelineExecutor.
|
|
24526
|
+
"pipelineExecutor.deleteModel": {
|
|
24074
24527
|
capName: "pipeline-executor",
|
|
24075
24528
|
capScope: "system",
|
|
24076
24529
|
addonId: null,
|
|
24077
24530
|
access: "delete"
|
|
24078
24531
|
},
|
|
24079
|
-
"pipelineExecutor.
|
|
24532
|
+
"pipelineExecutor.deleteTemplate": {
|
|
24080
24533
|
capName: "pipeline-executor",
|
|
24081
24534
|
capScope: "system",
|
|
24082
24535
|
addonId: null,
|
|
24083
|
-
access: "
|
|
24536
|
+
access: "delete"
|
|
24084
24537
|
},
|
|
24085
24538
|
"pipelineExecutor.downloadModel": {
|
|
24086
24539
|
capName: "pipeline-executor",
|
|
@@ -24274,13 +24727,13 @@ Object.freeze({
|
|
|
24274
24727
|
addonId: null,
|
|
24275
24728
|
access: "create"
|
|
24276
24729
|
},
|
|
24277
|
-
"
|
|
24278
|
-
capName: "pipeline-
|
|
24730
|
+
"pipelineExecutor.validatePipeline": {
|
|
24731
|
+
capName: "pipeline-executor",
|
|
24279
24732
|
capScope: "system",
|
|
24280
24733
|
addonId: null,
|
|
24281
|
-
access: "
|
|
24734
|
+
access: "view"
|
|
24282
24735
|
},
|
|
24283
|
-
"pipelineOrchestrator.
|
|
24736
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24284
24737
|
capName: "pipeline-orchestrator",
|
|
24285
24738
|
capScope: "system",
|
|
24286
24739
|
addonId: null,
|
|
@@ -24364,19 +24817,13 @@ Object.freeze({
|
|
|
24364
24817
|
addonId: null,
|
|
24365
24818
|
access: "view"
|
|
24366
24819
|
},
|
|
24367
|
-
"pipelineOrchestrator.
|
|
24820
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24368
24821
|
capName: "pipeline-orchestrator",
|
|
24369
24822
|
capScope: "system",
|
|
24370
24823
|
addonId: null,
|
|
24371
24824
|
access: "view"
|
|
24372
24825
|
},
|
|
24373
|
-
"pipelineOrchestrator.
|
|
24374
|
-
capName: "pipeline-orchestrator",
|
|
24375
|
-
capScope: "system",
|
|
24376
|
-
addonId: null,
|
|
24377
|
-
access: "view"
|
|
24378
|
-
},
|
|
24379
|
-
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24826
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24380
24827
|
capName: "pipeline-orchestrator",
|
|
24381
24828
|
capScope: "system",
|
|
24382
24829
|
addonId: null,
|
|
@@ -24418,6 +24865,12 @@ Object.freeze({
|
|
|
24418
24865
|
addonId: null,
|
|
24419
24866
|
access: "delete"
|
|
24420
24867
|
},
|
|
24868
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24869
|
+
capName: "pipeline-orchestrator",
|
|
24870
|
+
capScope: "system",
|
|
24871
|
+
addonId: null,
|
|
24872
|
+
access: "delete"
|
|
24873
|
+
},
|
|
24421
24874
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24422
24875
|
capName: "pipeline-orchestrator",
|
|
24423
24876
|
capScope: "system",
|
|
@@ -24454,37 +24907,37 @@ Object.freeze({
|
|
|
24454
24907
|
addonId: null,
|
|
24455
24908
|
access: "create"
|
|
24456
24909
|
},
|
|
24457
|
-
"pipelineOrchestrator.
|
|
24910
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24458
24911
|
capName: "pipeline-orchestrator",
|
|
24459
24912
|
capScope: "system",
|
|
24460
24913
|
addonId: null,
|
|
24461
24914
|
access: "create"
|
|
24462
24915
|
},
|
|
24463
|
-
"pipelineOrchestrator.
|
|
24916
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24464
24917
|
capName: "pipeline-orchestrator",
|
|
24465
24918
|
capScope: "system",
|
|
24466
24919
|
addonId: null,
|
|
24467
24920
|
access: "create"
|
|
24468
24921
|
},
|
|
24469
|
-
"pipelineOrchestrator.
|
|
24922
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24470
24923
|
capName: "pipeline-orchestrator",
|
|
24471
24924
|
capScope: "system",
|
|
24472
24925
|
addonId: null,
|
|
24473
24926
|
access: "create"
|
|
24474
24927
|
},
|
|
24475
|
-
"pipelineOrchestrator.
|
|
24928
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24476
24929
|
capName: "pipeline-orchestrator",
|
|
24477
24930
|
capScope: "system",
|
|
24478
24931
|
addonId: null,
|
|
24479
24932
|
access: "create"
|
|
24480
24933
|
},
|
|
24481
|
-
"pipelineOrchestrator.
|
|
24934
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24482
24935
|
capName: "pipeline-orchestrator",
|
|
24483
24936
|
capScope: "system",
|
|
24484
24937
|
addonId: null,
|
|
24485
24938
|
access: "create"
|
|
24486
24939
|
},
|
|
24487
|
-
"pipelineOrchestrator.
|
|
24940
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24488
24941
|
capName: "pipeline-orchestrator",
|
|
24489
24942
|
capScope: "system",
|
|
24490
24943
|
addonId: null,
|
|
@@ -24544,12 +24997,24 @@ Object.freeze({
|
|
|
24544
24997
|
addonId: null,
|
|
24545
24998
|
access: "view"
|
|
24546
24999
|
},
|
|
25000
|
+
"pipelineRunner.getNativeCrop": {
|
|
25001
|
+
capName: "pipeline-runner",
|
|
25002
|
+
capScope: "system",
|
|
25003
|
+
addonId: null,
|
|
25004
|
+
access: "view"
|
|
25005
|
+
},
|
|
24547
25006
|
"pipelineRunner.reportMotion": {
|
|
24548
25007
|
capName: "pipeline-runner",
|
|
24549
25008
|
capScope: "system",
|
|
24550
25009
|
addonId: null,
|
|
24551
25010
|
access: "create"
|
|
24552
25011
|
},
|
|
25012
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25013
|
+
capName: "pipeline-runner",
|
|
25014
|
+
capScope: "system",
|
|
25015
|
+
addonId: null,
|
|
25016
|
+
access: "create"
|
|
25017
|
+
},
|
|
24553
25018
|
"plateGallery.correctPlateText": {
|
|
24554
25019
|
capName: "plate-gallery",
|
|
24555
25020
|
capScope: "system",
|
|
@@ -24784,33 +25249,45 @@ Object.freeze({
|
|
|
24784
25249
|
addonId: null,
|
|
24785
25250
|
access: "create"
|
|
24786
25251
|
},
|
|
24787
|
-
"
|
|
24788
|
-
capName: "
|
|
25252
|
+
"scriptRunner.run": {
|
|
25253
|
+
capName: "script-runner",
|
|
25254
|
+
capScope: "device",
|
|
25255
|
+
addonId: null,
|
|
25256
|
+
access: "create"
|
|
25257
|
+
},
|
|
25258
|
+
"scriptRunner.stop": {
|
|
25259
|
+
capName: "script-runner",
|
|
25260
|
+
capScope: "device",
|
|
25261
|
+
addonId: null,
|
|
25262
|
+
access: "create"
|
|
25263
|
+
},
|
|
25264
|
+
"serverManagement.applyServerUpdate": {
|
|
25265
|
+
capName: "server-management",
|
|
24789
25266
|
capScope: "system",
|
|
24790
25267
|
addonId: null,
|
|
24791
|
-
access: "
|
|
25268
|
+
access: "create"
|
|
24792
25269
|
},
|
|
24793
|
-
"
|
|
24794
|
-
capName: "
|
|
25270
|
+
"serverManagement.checkServerUpdate": {
|
|
25271
|
+
capName: "server-management",
|
|
24795
25272
|
capScope: "system",
|
|
24796
25273
|
addonId: null,
|
|
24797
25274
|
access: "create"
|
|
24798
25275
|
},
|
|
24799
|
-
"
|
|
24800
|
-
capName: "
|
|
25276
|
+
"serverManagement.getServerPackageStatus": {
|
|
25277
|
+
capName: "server-management",
|
|
24801
25278
|
capScope: "system",
|
|
24802
25279
|
addonId: null,
|
|
24803
|
-
access: "
|
|
25280
|
+
access: "view"
|
|
24804
25281
|
},
|
|
24805
|
-
"
|
|
24806
|
-
capName: "
|
|
24807
|
-
capScope: "
|
|
25282
|
+
"serverManagement.restartServer": {
|
|
25283
|
+
capName: "server-management",
|
|
25284
|
+
capScope: "system",
|
|
24808
25285
|
addonId: null,
|
|
24809
25286
|
access: "create"
|
|
24810
25287
|
},
|
|
24811
|
-
"
|
|
24812
|
-
capName: "
|
|
24813
|
-
capScope: "
|
|
25288
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25289
|
+
capName: "server-management",
|
|
25290
|
+
capScope: "system",
|
|
24814
25291
|
addonId: null,
|
|
24815
25292
|
access: "create"
|
|
24816
25293
|
},
|
|
@@ -24898,23 +25375,17 @@ Object.freeze({
|
|
|
24898
25375
|
addonId: null,
|
|
24899
25376
|
access: "view"
|
|
24900
25377
|
},
|
|
24901
|
-
"snapshot.
|
|
25378
|
+
"snapshot.getSnapshotOverview": {
|
|
24902
25379
|
capName: "snapshot",
|
|
24903
25380
|
capScope: "device",
|
|
24904
25381
|
addonId: null,
|
|
24905
|
-
access: "create"
|
|
24906
|
-
},
|
|
24907
|
-
"snapshotProvider.getSnapshot": {
|
|
24908
|
-
capName: "snapshot-provider",
|
|
24909
|
-
capScope: "system",
|
|
24910
|
-
addonId: null,
|
|
24911
25382
|
access: "view"
|
|
24912
25383
|
},
|
|
24913
|
-
"
|
|
24914
|
-
capName: "snapshot
|
|
24915
|
-
capScope: "
|
|
25384
|
+
"snapshot.invalidateCache": {
|
|
25385
|
+
capName: "snapshot",
|
|
25386
|
+
capScope: "device",
|
|
24916
25387
|
addonId: null,
|
|
24917
|
-
access: "
|
|
25388
|
+
access: "create"
|
|
24918
25389
|
},
|
|
24919
25390
|
"ssoBridge.signBridgeToken": {
|
|
24920
25391
|
capName: "sso-bridge",
|
|
@@ -25342,30 +25813,6 @@ Object.freeze({
|
|
|
25342
25813
|
addonId: null,
|
|
25343
25814
|
access: "view"
|
|
25344
25815
|
},
|
|
25345
|
-
"streamingEngine.getStreamUrl": {
|
|
25346
|
-
capName: "streaming-engine",
|
|
25347
|
-
capScope: "system",
|
|
25348
|
-
addonId: null,
|
|
25349
|
-
access: "view"
|
|
25350
|
-
},
|
|
25351
|
-
"streamingEngine.listStreams": {
|
|
25352
|
-
capName: "streaming-engine",
|
|
25353
|
-
capScope: "system",
|
|
25354
|
-
addonId: null,
|
|
25355
|
-
access: "view"
|
|
25356
|
-
},
|
|
25357
|
-
"streamingEngine.registerStream": {
|
|
25358
|
-
capName: "streaming-engine",
|
|
25359
|
-
capScope: "system",
|
|
25360
|
-
addonId: null,
|
|
25361
|
-
access: "create"
|
|
25362
|
-
},
|
|
25363
|
-
"streamingEngine.unregisterStream": {
|
|
25364
|
-
capName: "streaming-engine",
|
|
25365
|
-
capScope: "system",
|
|
25366
|
-
addonId: null,
|
|
25367
|
-
access: "delete"
|
|
25368
|
-
},
|
|
25369
25816
|
"streamParams.getConfigSchema": {
|
|
25370
25817
|
capName: "stream-params",
|
|
25371
25818
|
capScope: "device",
|
|
@@ -25612,6 +26059,12 @@ Object.freeze({
|
|
|
25612
26059
|
addonId: null,
|
|
25613
26060
|
access: "view"
|
|
25614
26061
|
},
|
|
26062
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
26063
|
+
capName: "user-passkeys",
|
|
26064
|
+
capScope: "system",
|
|
26065
|
+
addonId: null,
|
|
26066
|
+
access: "view"
|
|
26067
|
+
},
|
|
25615
26068
|
"userPasskeys.beginRegistration": {
|
|
25616
26069
|
capName: "user-passkeys",
|
|
25617
26070
|
capScope: "system",
|
|
@@ -25624,12 +26077,24 @@ Object.freeze({
|
|
|
25624
26077
|
addonId: null,
|
|
25625
26078
|
access: "view"
|
|
25626
26079
|
},
|
|
26080
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
26081
|
+
capName: "user-passkeys",
|
|
26082
|
+
capScope: "system",
|
|
26083
|
+
addonId: null,
|
|
26084
|
+
access: "view"
|
|
26085
|
+
},
|
|
25627
26086
|
"userPasskeys.finishRegistration": {
|
|
25628
26087
|
capName: "user-passkeys",
|
|
25629
26088
|
capScope: "system",
|
|
25630
26089
|
addonId: null,
|
|
25631
26090
|
access: "create"
|
|
25632
26091
|
},
|
|
26092
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
26093
|
+
capName: "user-passkeys",
|
|
26094
|
+
capScope: "system",
|
|
26095
|
+
addonId: null,
|
|
26096
|
+
access: "view"
|
|
26097
|
+
},
|
|
25633
26098
|
"userPasskeys.listPasskeys": {
|
|
25634
26099
|
capName: "user-passkeys",
|
|
25635
26100
|
capScope: "system",
|
|
@@ -25642,6 +26107,12 @@ Object.freeze({
|
|
|
25642
26107
|
addonId: null,
|
|
25643
26108
|
access: "delete"
|
|
25644
26109
|
},
|
|
26110
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26111
|
+
capName: "user-passkeys",
|
|
26112
|
+
capScope: "system",
|
|
26113
|
+
addonId: null,
|
|
26114
|
+
access: "create"
|
|
26115
|
+
},
|
|
25645
26116
|
"vacuumControl.locate": {
|
|
25646
26117
|
capName: "vacuum-control",
|
|
25647
26118
|
capScope: "device",
|
|
@@ -25714,6 +26185,18 @@ Object.freeze({
|
|
|
25714
26185
|
addonId: null,
|
|
25715
26186
|
access: "view"
|
|
25716
26187
|
},
|
|
26188
|
+
"viewerUi.getStaticDir": {
|
|
26189
|
+
capName: "viewer-ui",
|
|
26190
|
+
capScope: "system",
|
|
26191
|
+
addonId: null,
|
|
26192
|
+
access: "view"
|
|
26193
|
+
},
|
|
26194
|
+
"viewerUi.getVersion": {
|
|
26195
|
+
capName: "viewer-ui",
|
|
26196
|
+
capScope: "system",
|
|
26197
|
+
addonId: null,
|
|
26198
|
+
access: "view"
|
|
26199
|
+
},
|
|
25717
26200
|
"waterHeater.setAway": {
|
|
25718
26201
|
capName: "water-heater",
|
|
25719
26202
|
capScope: "device",
|
|
@@ -25732,54 +26215,6 @@ Object.freeze({
|
|
|
25732
26215
|
addonId: null,
|
|
25733
26216
|
access: "create"
|
|
25734
26217
|
},
|
|
25735
|
-
"webrtc.closeSession": {
|
|
25736
|
-
capName: "webrtc",
|
|
25737
|
-
capScope: "system",
|
|
25738
|
-
addonId: null,
|
|
25739
|
-
access: "create"
|
|
25740
|
-
},
|
|
25741
|
-
"webrtc.createSession": {
|
|
25742
|
-
capName: "webrtc",
|
|
25743
|
-
capScope: "system",
|
|
25744
|
-
addonId: null,
|
|
25745
|
-
access: "create"
|
|
25746
|
-
},
|
|
25747
|
-
"webrtc.handleAnswer": {
|
|
25748
|
-
capName: "webrtc",
|
|
25749
|
-
capScope: "system",
|
|
25750
|
-
addonId: null,
|
|
25751
|
-
access: "create"
|
|
25752
|
-
},
|
|
25753
|
-
"webrtc.handleOffer": {
|
|
25754
|
-
capName: "webrtc",
|
|
25755
|
-
capScope: "system",
|
|
25756
|
-
addonId: null,
|
|
25757
|
-
access: "create"
|
|
25758
|
-
},
|
|
25759
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25760
|
-
capName: "webrtc",
|
|
25761
|
-
capScope: "system",
|
|
25762
|
-
addonId: null,
|
|
25763
|
-
access: "view"
|
|
25764
|
-
},
|
|
25765
|
-
"webrtc.registerStream": {
|
|
25766
|
-
capName: "webrtc",
|
|
25767
|
-
capScope: "system",
|
|
25768
|
-
addonId: null,
|
|
25769
|
-
access: "create"
|
|
25770
|
-
},
|
|
25771
|
-
"webrtc.supportsStream": {
|
|
25772
|
-
capName: "webrtc",
|
|
25773
|
-
capScope: "system",
|
|
25774
|
-
addonId: null,
|
|
25775
|
-
access: "view"
|
|
25776
|
-
},
|
|
25777
|
-
"webrtc.unregisterStream": {
|
|
25778
|
-
capName: "webrtc",
|
|
25779
|
-
capScope: "system",
|
|
25780
|
-
addonId: null,
|
|
25781
|
-
access: "delete"
|
|
25782
|
-
},
|
|
25783
26218
|
"webrtcSession.addIceCandidate": {
|
|
25784
26219
|
capName: "webrtc-session",
|
|
25785
26220
|
capScope: "device",
|