@camstack/addon-matter-broker 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 +715 -288
- package/dist/addon.mjs +715 -288
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4656,7 +4656,7 @@ function preprocess(fn, schema) {
|
|
|
4656
4656
|
});
|
|
4657
4657
|
}
|
|
4658
4658
|
//#endregion
|
|
4659
|
-
//#region ../types/dist/sleep-
|
|
4659
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4660
4660
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4661
4661
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4662
4662
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4842,6 +4842,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4842
4842
|
*/
|
|
4843
4843
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4844
4844
|
/**
|
|
4845
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4846
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4847
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4848
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4849
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4850
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4851
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4852
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4853
|
+
* broker's long backstop reconcile query).
|
|
4854
|
+
*/
|
|
4855
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4856
|
+
/**
|
|
4845
4857
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4846
4858
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4847
4859
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5365,10 +5377,6 @@ function hydrateField(field, values) {
|
|
|
5365
5377
|
};
|
|
5366
5378
|
}
|
|
5367
5379
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5368
|
-
if (field.type === "password") return {
|
|
5369
|
-
...field,
|
|
5370
|
-
value: ""
|
|
5371
|
-
};
|
|
5372
5380
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5373
5381
|
return {
|
|
5374
5382
|
...field,
|
|
@@ -6752,10 +6760,25 @@ function method(input, output, options) {
|
|
|
6752
6760
|
timeoutMs: options?.timeoutMs
|
|
6753
6761
|
};
|
|
6754
6762
|
}
|
|
6763
|
+
/**
|
|
6764
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6765
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6766
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6767
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6768
|
+
*/
|
|
6769
|
+
function systemMethod(input, output, options) {
|
|
6770
|
+
return {
|
|
6771
|
+
...method(input, output, options),
|
|
6772
|
+
systemOnly: true
|
|
6773
|
+
};
|
|
6774
|
+
}
|
|
6755
6775
|
/** Shorthand to define an event schema */
|
|
6756
6776
|
function event$1(data) {
|
|
6757
6777
|
return { data };
|
|
6758
6778
|
}
|
|
6779
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string$2() });
|
|
6780
|
+
var VersionOutputSchema$1 = object({ version: string$2() });
|
|
6781
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6759
6782
|
var StaticDirOutputSchema = object({ staticDir: string$2() });
|
|
6760
6783
|
var VersionOutputSchema = object({ version: string$2() });
|
|
6761
6784
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6937,6 +6960,36 @@ var ModelFormatsSchema = object({
|
|
|
6937
6960
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6938
6961
|
pt: ModelFormatEntrySchema.optional()
|
|
6939
6962
|
});
|
|
6963
|
+
/**
|
|
6964
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6965
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6966
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6967
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6968
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6969
|
+
* to an `id`.
|
|
6970
|
+
*/
|
|
6971
|
+
var ModelVariantGroupSchema = object({
|
|
6972
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6973
|
+
family: string$2(),
|
|
6974
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6975
|
+
tier: string$2(),
|
|
6976
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6977
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6978
|
+
/**
|
|
6979
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6980
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6981
|
+
* future performance variants plug into.
|
|
6982
|
+
*/
|
|
6983
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6984
|
+
/**
|
|
6985
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6986
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6987
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6988
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6989
|
+
* the group so the selector can offer it as a variant axis.
|
|
6990
|
+
*/
|
|
6991
|
+
resolution: number().int().positive().optional()
|
|
6992
|
+
});
|
|
6940
6993
|
var ModelCatalogEntrySchema = object({
|
|
6941
6994
|
id: string$2(),
|
|
6942
6995
|
name: string$2(),
|
|
@@ -6966,7 +7019,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6966
7019
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6967
7020
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6968
7021
|
*/
|
|
6969
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7022
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7023
|
+
/**
|
|
7024
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7025
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7026
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7027
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7028
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7029
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7030
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7031
|
+
*/
|
|
7032
|
+
legacy: boolean().optional(),
|
|
7033
|
+
/**
|
|
7034
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7035
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7036
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7037
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7038
|
+
*/
|
|
7039
|
+
metrics: object({
|
|
7040
|
+
map50: number().optional(),
|
|
7041
|
+
p95LatencyMs: record(string$2(), number()).optional()
|
|
7042
|
+
}).optional(),
|
|
7043
|
+
/**
|
|
7044
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7045
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7046
|
+
* the retraining addon and any future commercial distribution.
|
|
7047
|
+
*/
|
|
7048
|
+
license: string$2().optional(),
|
|
7049
|
+
/**
|
|
7050
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7051
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7052
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7053
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7054
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7055
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7056
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7057
|
+
*/
|
|
7058
|
+
group: ModelVariantGroupSchema.optional()
|
|
6970
7059
|
});
|
|
6971
7060
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6972
7061
|
format: literal("openvino"),
|
|
@@ -7027,8 +7116,8 @@ var RecordingModeSchema = _enum([
|
|
|
7027
7116
|
"onAudioThreshold"
|
|
7028
7117
|
]);
|
|
7029
7118
|
/**
|
|
7030
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7031
|
-
* reads directly (never inferred from `rules`):
|
|
7119
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7120
|
+
* UI reads directly (never inferred from `rules`):
|
|
7032
7121
|
* - `off` — not recording.
|
|
7033
7122
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7034
7123
|
* with pre/post-buffer.
|
|
@@ -9191,26 +9280,13 @@ onBrightnessChanged: { data: object({
|
|
|
9191
9280
|
*/
|
|
9192
9281
|
runtimeState: BrightnessStatusSchema
|
|
9193
9282
|
};
|
|
9283
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9194
9284
|
var StreamFormatSchema = _enum([
|
|
9195
9285
|
"webrtc",
|
|
9196
9286
|
"hls",
|
|
9197
9287
|
"mjpeg",
|
|
9198
9288
|
"rtsp"
|
|
9199
9289
|
]);
|
|
9200
|
-
var StreamInfoSchema = object({
|
|
9201
|
-
streamId: string$2(),
|
|
9202
|
-
format: StreamFormatSchema,
|
|
9203
|
-
url: string$2().nullable(),
|
|
9204
|
-
active: boolean()
|
|
9205
|
-
});
|
|
9206
|
-
method(object({
|
|
9207
|
-
streamId: string$2(),
|
|
9208
|
-
sourceUrl: string$2(),
|
|
9209
|
-
codec: string$2().optional()
|
|
9210
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string$2() }), _void(), { kind: "mutation" }), method(object({
|
|
9211
|
-
streamId: string$2(),
|
|
9212
|
-
format: StreamFormatSchema
|
|
9213
|
-
}), string$2().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9214
9290
|
var RtspRestreamEntrySchema = object({
|
|
9215
9291
|
brokerId: string$2(),
|
|
9216
9292
|
url: string$2(),
|
|
@@ -10078,37 +10154,7 @@ var consumablesCapability = {
|
|
|
10078
10154
|
scope: "device",
|
|
10079
10155
|
deviceNative: true,
|
|
10080
10156
|
mode: "singleton",
|
|
10081
|
-
deviceTypes:
|
|
10082
|
-
DeviceType.Camera,
|
|
10083
|
-
DeviceType.Hub,
|
|
10084
|
-
DeviceType.Light,
|
|
10085
|
-
DeviceType.Siren,
|
|
10086
|
-
DeviceType.Switch,
|
|
10087
|
-
DeviceType.Sensor,
|
|
10088
|
-
DeviceType.Thermostat,
|
|
10089
|
-
DeviceType.Button,
|
|
10090
|
-
DeviceType.EventEmitter,
|
|
10091
|
-
DeviceType.Update,
|
|
10092
|
-
DeviceType.Generic,
|
|
10093
|
-
DeviceType.Notifier,
|
|
10094
|
-
DeviceType.Script,
|
|
10095
|
-
DeviceType.Automation,
|
|
10096
|
-
DeviceType.Lock,
|
|
10097
|
-
DeviceType.Cover,
|
|
10098
|
-
DeviceType.Valve,
|
|
10099
|
-
DeviceType.Humidifier,
|
|
10100
|
-
DeviceType.WaterHeater,
|
|
10101
|
-
DeviceType.Fan,
|
|
10102
|
-
DeviceType.MediaPlayer,
|
|
10103
|
-
DeviceType.AlarmPanel,
|
|
10104
|
-
DeviceType.Control,
|
|
10105
|
-
DeviceType.Presence,
|
|
10106
|
-
DeviceType.Weather,
|
|
10107
|
-
DeviceType.Vacuum,
|
|
10108
|
-
DeviceType.LawnMower,
|
|
10109
|
-
DeviceType.Container,
|
|
10110
|
-
DeviceType.Image
|
|
10111
|
-
],
|
|
10157
|
+
deviceTypes: Object.values(DeviceType),
|
|
10112
10158
|
deviceConfig: { ui: {
|
|
10113
10159
|
kind: "widget",
|
|
10114
10160
|
widgetId: "host/consumables-panel",
|
|
@@ -11566,7 +11612,7 @@ var BoundingBoxSchema = object({
|
|
|
11566
11612
|
w: number(),
|
|
11567
11613
|
h: number()
|
|
11568
11614
|
});
|
|
11569
|
-
|
|
11615
|
+
object({
|
|
11570
11616
|
class: string$2(),
|
|
11571
11617
|
originalClass: string$2(),
|
|
11572
11618
|
score: number(),
|
|
@@ -11701,7 +11747,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11701
11747
|
enabled: boolean(),
|
|
11702
11748
|
modelId: string$2(),
|
|
11703
11749
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11704
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11705
11750
|
group: string$2().optional(),
|
|
11706
11751
|
settings: record(string$2(), unknown()).optional()
|
|
11707
11752
|
}));
|
|
@@ -11726,7 +11771,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11726
11771
|
formats: record(string$2(), object({
|
|
11727
11772
|
downloaded: boolean(),
|
|
11728
11773
|
sizeMB: number()
|
|
11729
|
-
}))
|
|
11774
|
+
})),
|
|
11775
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11776
|
+
legacy: boolean().optional()
|
|
11730
11777
|
});
|
|
11731
11778
|
var ConfigFieldBridge = custom();
|
|
11732
11779
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11740,6 +11787,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11740
11787
|
defaultModelId: string$2(),
|
|
11741
11788
|
defaultModelIdByFormat: record(string$2(), string$2()).optional(),
|
|
11742
11789
|
enabledByDefault: boolean().optional(),
|
|
11790
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11743
11791
|
defaultConfidence: number(),
|
|
11744
11792
|
group: string$2().optional(),
|
|
11745
11793
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11756,11 +11804,6 @@ var PipelineSchemaSchema = object({
|
|
|
11756
11804
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11757
11805
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11758
11806
|
});
|
|
11759
|
-
var DetectorOutputSchema = object({
|
|
11760
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11761
|
-
inferenceMs: number(),
|
|
11762
|
-
modelId: string$2()
|
|
11763
|
-
});
|
|
11764
11807
|
var EngineProvisioningSchema = object({
|
|
11765
11808
|
runtimeId: _enum([
|
|
11766
11809
|
"onnx",
|
|
@@ -11777,15 +11820,42 @@ var EngineProvisioningSchema = object({
|
|
|
11777
11820
|
]),
|
|
11778
11821
|
progress: number().optional(),
|
|
11779
11822
|
error: string$2().optional(),
|
|
11780
|
-
nextRetryAt: number().optional()
|
|
11823
|
+
nextRetryAt: number().optional(),
|
|
11824
|
+
/**
|
|
11825
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11826
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11827
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11828
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11829
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11830
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11831
|
+
*/
|
|
11832
|
+
configIssues: array(string$2()).optional()
|
|
11781
11833
|
});
|
|
11782
11834
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11783
11835
|
addonId: string$2(),
|
|
11784
|
-
modelId: string$2(),
|
|
11836
|
+
modelId: string$2().optional(),
|
|
11785
11837
|
enabled: boolean().default(true),
|
|
11786
11838
|
children: array(PipelineStepInputSchema).optional(),
|
|
11787
11839
|
settings: record(string$2(), unknown()).optional()
|
|
11788
11840
|
}));
|
|
11841
|
+
var ModelSubstitutionSchema = object({
|
|
11842
|
+
addonId: string$2(),
|
|
11843
|
+
chosen: string$2(),
|
|
11844
|
+
running: string$2(),
|
|
11845
|
+
format: string$2()
|
|
11846
|
+
});
|
|
11847
|
+
var PipelineValidationIssueSchema = object({
|
|
11848
|
+
addonId: string$2(),
|
|
11849
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11850
|
+
detail: string$2()
|
|
11851
|
+
});
|
|
11852
|
+
var PipelineValidationResultSchema = object({
|
|
11853
|
+
ok: boolean(),
|
|
11854
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11855
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11856
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11857
|
+
format: string$2()
|
|
11858
|
+
});
|
|
11789
11859
|
var ReferenceImageEntrySchema = object({
|
|
11790
11860
|
filename: string$2(),
|
|
11791
11861
|
stepIds: array(string$2()).readonly().optional()
|
|
@@ -11856,7 +11926,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11856
11926
|
})) }), object({ success: literal(true) }), {
|
|
11857
11927
|
kind: "mutation",
|
|
11858
11928
|
auth: "admin"
|
|
11859
|
-
}), method(
|
|
11929
|
+
}), method(object({ nodeId: string$2() }), object({
|
|
11930
|
+
success: literal(true),
|
|
11931
|
+
clearedDevices: number()
|
|
11932
|
+
}), {
|
|
11933
|
+
kind: "mutation",
|
|
11934
|
+
auth: "admin"
|
|
11935
|
+
}), 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({
|
|
11860
11936
|
name: string$2(),
|
|
11861
11937
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11862
11938
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11873,10 +11949,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11873
11949
|
modelId: string$2(),
|
|
11874
11950
|
format: ModelFormatSchema$1
|
|
11875
11951
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11876
|
-
addonId: string$2(),
|
|
11877
|
-
frame: FrameInputSchema,
|
|
11878
|
-
config: record(string$2(), unknown()).optional()
|
|
11879
|
-
}), DetectorOutputSchema), method(object({
|
|
11880
11952
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11881
11953
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11882
11954
|
frame: FrameInputSchema.optional(),
|
|
@@ -11897,7 +11969,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11897
11969
|
image: _instanceof(Uint8Array).optional(),
|
|
11898
11970
|
referenceImage: string$2().optional(),
|
|
11899
11971
|
deviceId: number().optional(),
|
|
11900
|
-
sessionId: string$2().optional()
|
|
11972
|
+
sessionId: string$2().optional(),
|
|
11973
|
+
/**
|
|
11974
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11975
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11976
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11977
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11978
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11979
|
+
*/
|
|
11980
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11901
11981
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11902
11982
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11903
11983
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12055,6 +12135,47 @@ var zonesCapability = {
|
|
|
12055
12135
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12056
12136
|
};
|
|
12057
12137
|
/**
|
|
12138
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12139
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12140
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12141
|
+
* dims — no native resolution to plumb.
|
|
12142
|
+
*/
|
|
12143
|
+
var NativeCropBboxSchema = object({
|
|
12144
|
+
x: number(),
|
|
12145
|
+
y: number(),
|
|
12146
|
+
w: number(),
|
|
12147
|
+
h: number()
|
|
12148
|
+
});
|
|
12149
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12150
|
+
var NativeCropResultSchema = object({
|
|
12151
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12152
|
+
bytes: _instanceof(Uint8Array),
|
|
12153
|
+
width: number().int().positive(),
|
|
12154
|
+
height: number().int().positive()
|
|
12155
|
+
});
|
|
12156
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12157
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12158
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12159
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12160
|
+
* normalized [0,1] convention). */
|
|
12161
|
+
var DetailParentSchema = object({
|
|
12162
|
+
bbox: NativeCropBboxSchema,
|
|
12163
|
+
className: string$2()
|
|
12164
|
+
});
|
|
12165
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12166
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12167
|
+
* single tracked detection. */
|
|
12168
|
+
var DetailResultSchema = object({
|
|
12169
|
+
stepId: string$2(),
|
|
12170
|
+
className: string$2(),
|
|
12171
|
+
score: number(),
|
|
12172
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12173
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12174
|
+
embedding: string$2().optional(),
|
|
12175
|
+
label: string$2().optional(),
|
|
12176
|
+
alignedCropJpeg: string$2().optional()
|
|
12177
|
+
});
|
|
12178
|
+
/**
|
|
12058
12179
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12059
12180
|
* by both the Zod data schema (validation + default fallback) and
|
|
12060
12181
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12149,6 +12270,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12149
12270
|
kind: literal("remote-restream"),
|
|
12150
12271
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12151
12272
|
ownerNodeId: string$2(),
|
|
12273
|
+
/**
|
|
12274
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12275
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12276
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12277
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12278
|
+
*/
|
|
12279
|
+
ownerReachableHost: string$2().optional(),
|
|
12152
12280
|
/** Operator override for the owner host the runner dials. */
|
|
12153
12281
|
hubHostnameOverride: string$2().optional()
|
|
12154
12282
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12157,13 +12285,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12157
12285
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12158
12286
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12159
12287
|
*
|
|
12160
|
-
* Stateless-pipeline model: the
|
|
12161
|
-
*
|
|
12162
|
-
*
|
|
12163
|
-
*
|
|
12164
|
-
*
|
|
12165
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12166
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12288
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12289
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12290
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12291
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12292
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12167
12293
|
*/
|
|
12168
12294
|
var RunnerCameraConfigSchema = object({
|
|
12169
12295
|
deviceId: number(),
|
|
@@ -12214,14 +12340,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12214
12340
|
*/
|
|
12215
12341
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12216
12342
|
pipelineEnabled: boolean().default(true),
|
|
12217
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12218
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12219
12343
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12220
12344
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12221
12345
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12222
12346
|
audio: object({
|
|
12223
|
-
|
|
12224
|
-
modelId: string$2(),
|
|
12347
|
+
modelId: string$2().optional(),
|
|
12225
12348
|
enabled: boolean()
|
|
12226
12349
|
}).nullable().optional(),
|
|
12227
12350
|
/**
|
|
@@ -12308,7 +12431,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12308
12431
|
avgInferenceTimeMs: number(),
|
|
12309
12432
|
queueDepth: number()
|
|
12310
12433
|
});
|
|
12311
|
-
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())
|
|
12434
|
+
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({
|
|
12435
|
+
handle: FrameHandleSchema,
|
|
12436
|
+
bbox: NativeCropBboxSchema,
|
|
12437
|
+
maxWidth: number().int().positive().optional()
|
|
12438
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12439
|
+
deviceId: number(),
|
|
12440
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12441
|
+
cropJpeg: string$2().optional(),
|
|
12442
|
+
parent: DetailParentSchema,
|
|
12443
|
+
steps: array(string$2()).optional()
|
|
12444
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12312
12445
|
/**
|
|
12313
12446
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12314
12447
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15239,7 +15372,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15239
15372
|
icon: string$2(),
|
|
15240
15373
|
path: string$2(),
|
|
15241
15374
|
remoteName: string$2(),
|
|
15242
|
-
bundle: string$2()
|
|
15375
|
+
bundle: string$2(),
|
|
15376
|
+
section: string$2().optional(),
|
|
15377
|
+
sectionLabel: string$2().optional()
|
|
15243
15378
|
});
|
|
15244
15379
|
var AddonPageInfoSchema = object({
|
|
15245
15380
|
addonId: string$2(),
|
|
@@ -15279,7 +15414,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15279
15414
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15280
15415
|
* without a separate filesystem stat.
|
|
15281
15416
|
*/
|
|
15282
|
-
bundle: string$2()
|
|
15417
|
+
bundle: string$2(),
|
|
15418
|
+
/**
|
|
15419
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15420
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15421
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15422
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15423
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15424
|
+
* "Addon Pages" group.
|
|
15425
|
+
*/
|
|
15426
|
+
section: string$2().optional(),
|
|
15427
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15428
|
+
sectionLabel: string$2().optional()
|
|
15283
15429
|
});
|
|
15284
15430
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15285
15431
|
var AddonHttpRouteSchema = object({
|
|
@@ -15495,6 +15641,17 @@ var WidgetMetadataSchema = object({
|
|
|
15495
15641
|
deviceContext: boolean().default(false),
|
|
15496
15642
|
integrationContext: boolean().default(false)
|
|
15497
15643
|
}),
|
|
15644
|
+
/**
|
|
15645
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15646
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15647
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15648
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15649
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15650
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15651
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15652
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15653
|
+
*/
|
|
15654
|
+
preAuth: boolean().optional().default(false),
|
|
15498
15655
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15499
15656
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15500
15657
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15796,6 +15953,66 @@ method(object({
|
|
|
15796
15953
|
password: string$2()
|
|
15797
15954
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string$2() }), string$2()), method(record(string$2(), string$2()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string$2() }), AuthResultSchema.nullable());
|
|
15798
15955
|
/**
|
|
15956
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15957
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15958
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15959
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15960
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15961
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15962
|
+
*
|
|
15963
|
+
* A contribution is a discriminated union on `kind`:
|
|
15964
|
+
*
|
|
15965
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15966
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15967
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15968
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15969
|
+
* login page needs NO change.
|
|
15970
|
+
*
|
|
15971
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15972
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15973
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15974
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15975
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
15976
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
15977
|
+
*
|
|
15978
|
+
* Every contribution carries a `stage`:
|
|
15979
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
15980
|
+
* magic-link buttons; a future usernameless passkey).
|
|
15981
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
15982
|
+
* returned `factors` (passkey-as-2FA today).
|
|
15983
|
+
*
|
|
15984
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
15985
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
15986
|
+
* tRPC router.
|
|
15987
|
+
*/
|
|
15988
|
+
/** When a login method renders in the two-phase login flow. */
|
|
15989
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
15990
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
15991
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
15992
|
+
kind: literal("redirect"),
|
|
15993
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
15994
|
+
id: string$2(),
|
|
15995
|
+
/** Operator-facing button label. */
|
|
15996
|
+
label: string$2(),
|
|
15997
|
+
/** lucide-react icon name. */
|
|
15998
|
+
icon: string$2().optional(),
|
|
15999
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16000
|
+
startUrl: string$2(),
|
|
16001
|
+
stage: LoginStageEnum
|
|
16002
|
+
}), object({
|
|
16003
|
+
kind: literal("widget"),
|
|
16004
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
16005
|
+
id: string$2(),
|
|
16006
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
16007
|
+
addonId: string$2(),
|
|
16008
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
16009
|
+
bundle: string$2(),
|
|
16010
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
16011
|
+
remote: WidgetRemoteSchema,
|
|
16012
|
+
stage: LoginStageEnum
|
|
16013
|
+
})]);
|
|
16014
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16015
|
+
/**
|
|
15799
16016
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15800
16017
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15801
16018
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17965,7 +18182,17 @@ var TrackSchema = object({
|
|
|
17965
18182
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17966
18183
|
totalDistance: number(),
|
|
17967
18184
|
state: TrackStateSchema,
|
|
17968
|
-
active: boolean()
|
|
18185
|
+
active: boolean(),
|
|
18186
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18187
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18188
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18189
|
+
importance: number().optional(),
|
|
18190
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18191
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18192
|
+
bestEventId: string$2().optional(),
|
|
18193
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18194
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18195
|
+
importanceReason: string$2().optional()
|
|
17969
18196
|
});
|
|
17970
18197
|
var BaseEventFields = {
|
|
17971
18198
|
id: string$2(),
|
|
@@ -18030,8 +18257,18 @@ var ObjectEventSchema = object({
|
|
|
18030
18257
|
frameHeight: number().optional(),
|
|
18031
18258
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
18032
18259
|
mediaKey: string$2().optional(),
|
|
18260
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18261
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18262
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18263
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18264
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18265
|
+
keyFrameMediaKey: string$2().optional(),
|
|
18033
18266
|
/** Populated by B5 (recording playback URL for this event). */
|
|
18034
|
-
mediaUrl: string$2().optional()
|
|
18267
|
+
mediaUrl: string$2().optional(),
|
|
18268
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18269
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18270
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18271
|
+
importance: number().optional()
|
|
18035
18272
|
});
|
|
18036
18273
|
var AudioEventSchema = object({
|
|
18037
18274
|
...BaseEventFields,
|
|
@@ -18055,7 +18292,8 @@ var MediaFileKindEnum = _enum([
|
|
|
18055
18292
|
"fullFrame",
|
|
18056
18293
|
"fullFrameBoxed",
|
|
18057
18294
|
"faceCrop",
|
|
18058
|
-
"plateCrop"
|
|
18295
|
+
"plateCrop",
|
|
18296
|
+
"keyFrame"
|
|
18059
18297
|
]);
|
|
18060
18298
|
var MediaFileSchema = object({
|
|
18061
18299
|
key: string$2(),
|
|
@@ -18076,6 +18314,32 @@ var DeviceEventQueryInput = object({
|
|
|
18076
18314
|
projection: _enum(["full", "slim"]).optional()
|
|
18077
18315
|
});
|
|
18078
18316
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string$2().optional() });
|
|
18317
|
+
var KeyEventQueryInput = object({
|
|
18318
|
+
deviceId: number(),
|
|
18319
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18320
|
+
since: number(),
|
|
18321
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18322
|
+
until: number(),
|
|
18323
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18324
|
+
/** Drop tracks scoring below this importance. */
|
|
18325
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18326
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18327
|
+
classFilter: string$2().optional()
|
|
18328
|
+
});
|
|
18329
|
+
var KeyEventSchema = object({
|
|
18330
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18331
|
+
id: string$2(),
|
|
18332
|
+
trackId: string$2(),
|
|
18333
|
+
/** Track start time (firstSeen). */
|
|
18334
|
+
timestamp: number(),
|
|
18335
|
+
className: string$2(),
|
|
18336
|
+
label: string$2().optional(),
|
|
18337
|
+
importance: number(),
|
|
18338
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18339
|
+
bestEventId: string$2(),
|
|
18340
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18341
|
+
windowMs: number().optional()
|
|
18342
|
+
});
|
|
18079
18343
|
var TrackedDetectionSchema = object({
|
|
18080
18344
|
trackId: string$2(),
|
|
18081
18345
|
className: string$2(),
|
|
@@ -18105,7 +18369,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18105
18369
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18106
18370
|
kind: "mutation",
|
|
18107
18371
|
auth: "admin"
|
|
18108
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18372
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18109
18373
|
deviceId: number(),
|
|
18110
18374
|
since: number(),
|
|
18111
18375
|
until: number(),
|
|
@@ -18150,11 +18414,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18150
18414
|
timestamp: number()
|
|
18151
18415
|
});
|
|
18152
18416
|
var CameraPipelineConfigSchema = object({
|
|
18153
|
-
engine: PipelineEngineChoiceSchema,
|
|
18417
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18154
18418
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18155
18419
|
audio: object({
|
|
18156
|
-
engine: PipelineEngineChoiceSchema,
|
|
18157
|
-
modelId: string$2(),
|
|
18420
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18421
|
+
modelId: string$2().optional(),
|
|
18158
18422
|
enabled: boolean(),
|
|
18159
18423
|
settings: record(string$2(), unknown()).readonly().optional()
|
|
18160
18424
|
}).nullable().optional()
|
|
@@ -18169,7 +18433,7 @@ var PipelineTemplateSchema = object({
|
|
|
18169
18433
|
});
|
|
18170
18434
|
var AgentAddonConfigSchema = object({
|
|
18171
18435
|
enabled: boolean(),
|
|
18172
|
-
modelId: string$2(),
|
|
18436
|
+
modelId: string$2().optional(),
|
|
18173
18437
|
settings: record(string$2(), unknown()).readonly()
|
|
18174
18438
|
});
|
|
18175
18439
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18179,12 +18443,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18179
18443
|
detectWeight: number().positive().optional(),
|
|
18180
18444
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18181
18445
|
detect: boolean().optional(),
|
|
18182
|
-
/**
|
|
18446
|
+
/**
|
|
18447
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18448
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18449
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18450
|
+
* parse — no code reads it and no write path emits it.
|
|
18451
|
+
*/
|
|
18183
18452
|
decode: boolean().optional(),
|
|
18184
18453
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18185
18454
|
audio: boolean().optional(),
|
|
18186
18455
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18187
|
-
ingest: boolean().optional()
|
|
18456
|
+
ingest: boolean().optional(),
|
|
18457
|
+
/**
|
|
18458
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18459
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18460
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18461
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18462
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18463
|
+
*/
|
|
18464
|
+
reachableHost: string$2().optional()
|
|
18188
18465
|
});
|
|
18189
18466
|
var CameraPipelineForAgentSchema = object({
|
|
18190
18467
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18232,25 +18509,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18232
18509
|
assignedAt: number()
|
|
18233
18510
|
});
|
|
18234
18511
|
/**
|
|
18235
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18236
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18237
|
-
* → co-located with pipeline → capacity).
|
|
18238
|
-
*/
|
|
18239
|
-
var DecoderAssignmentSchema = object({
|
|
18240
|
-
deviceId: number(),
|
|
18241
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18242
|
-
decoderNodeId: string$2(),
|
|
18243
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18244
|
-
pinned: boolean(),
|
|
18245
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18246
|
-
reason: _enum([
|
|
18247
|
-
"manual",
|
|
18248
|
-
"co-located",
|
|
18249
|
-
"capacity",
|
|
18250
|
-
"hardware-affinity"
|
|
18251
|
-
])
|
|
18252
|
-
});
|
|
18253
|
-
/**
|
|
18254
18512
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18255
18513
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18256
18514
|
*/
|
|
@@ -18290,6 +18548,15 @@ var GlobalMetricsSchema = object({
|
|
|
18290
18548
|
* capability providers.
|
|
18291
18549
|
*/
|
|
18292
18550
|
var CapabilityBindingsSchema = record(string$2(), string$2());
|
|
18551
|
+
/**
|
|
18552
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18553
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18554
|
+
*/
|
|
18555
|
+
var IngestOwnerSchema = object({
|
|
18556
|
+
ownerNodeId: string$2(),
|
|
18557
|
+
reachableHost: string$2().optional(),
|
|
18558
|
+
configIssue: string$2().optional()
|
|
18559
|
+
});
|
|
18293
18560
|
/** Source block — always present; derives from the stream catalog. */
|
|
18294
18561
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18295
18562
|
camStreamId: string$2(),
|
|
@@ -18304,6 +18571,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18304
18571
|
detectionNodeId: string$2().nullable(),
|
|
18305
18572
|
decoderNodeId: string$2().nullable(),
|
|
18306
18573
|
audioNodeId: string$2().nullable(),
|
|
18574
|
+
/**
|
|
18575
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18576
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18577
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18578
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18579
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18580
|
+
*/
|
|
18581
|
+
sourceNodeId: string$2().nullable(),
|
|
18307
18582
|
pinned: object({
|
|
18308
18583
|
detection: boolean(),
|
|
18309
18584
|
decoder: boolean(),
|
|
@@ -18436,16 +18711,7 @@ method(object({
|
|
|
18436
18711
|
}), object({ success: literal(true) }), {
|
|
18437
18712
|
kind: "mutation",
|
|
18438
18713
|
auth: "admin"
|
|
18439
|
-
}), method(object({
|
|
18440
|
-
deviceId: number(),
|
|
18441
|
-
nodeId: string$2()
|
|
18442
|
-
}), _void(), {
|
|
18443
|
-
kind: "mutation",
|
|
18444
|
-
auth: "admin"
|
|
18445
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18446
|
-
kind: "mutation",
|
|
18447
|
-
auth: "admin"
|
|
18448
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18714
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18449
18715
|
deviceId: number(),
|
|
18450
18716
|
nodeId: string$2()
|
|
18451
18717
|
}), object({ success: literal(true) }), {
|
|
@@ -18466,10 +18732,7 @@ method(object({
|
|
|
18466
18732
|
nodeId: string$2(),
|
|
18467
18733
|
pinned: boolean(),
|
|
18468
18734
|
assignedAt: number()
|
|
18469
|
-
}))), method(object({
|
|
18470
|
-
deviceId: number(),
|
|
18471
|
-
pipelineNodeId: string$2().optional()
|
|
18472
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string$2() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18735
|
+
}))), method(object({ agentNodeId: string$2() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18473
18736
|
nodeId: string$2(),
|
|
18474
18737
|
settings: AgentPipelineSettingsSchema
|
|
18475
18738
|
})).readonly()), method(object({
|
|
@@ -18499,12 +18762,26 @@ method(object({
|
|
|
18499
18762
|
}), method(object({
|
|
18500
18763
|
agentNodeId: string$2(),
|
|
18501
18764
|
detect: boolean().nullable().optional(),
|
|
18502
|
-
decode: boolean().nullable().optional(),
|
|
18503
18765
|
audio: boolean().nullable().optional(),
|
|
18504
18766
|
ingest: boolean().nullable().optional()
|
|
18505
18767
|
}), object({ success: literal(true) }), {
|
|
18506
18768
|
kind: "mutation",
|
|
18507
18769
|
auth: "admin"
|
|
18770
|
+
}), method(object({
|
|
18771
|
+
agentNodeId: string$2(),
|
|
18772
|
+
reachableHost: string$2().nullable()
|
|
18773
|
+
}), object({ success: literal(true) }), {
|
|
18774
|
+
kind: "mutation",
|
|
18775
|
+
auth: "admin"
|
|
18776
|
+
}), method(object({ agentNodeId: string$2() }), object({
|
|
18777
|
+
success: literal(true),
|
|
18778
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18779
|
+
effectiveModelId: string$2().nullable(),
|
|
18780
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18781
|
+
clearedCameraOverrides: number()
|
|
18782
|
+
}), {
|
|
18783
|
+
kind: "mutation",
|
|
18784
|
+
auth: "admin"
|
|
18508
18785
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18509
18786
|
deviceId: number(),
|
|
18510
18787
|
addonId: string$2(),
|
|
@@ -18549,22 +18826,131 @@ method(object({
|
|
|
18549
18826
|
kind: "mutation",
|
|
18550
18827
|
auth: "admin"
|
|
18551
18828
|
});
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
|
|
18829
|
+
/**
|
|
18830
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18831
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18832
|
+
* agents).
|
|
18833
|
+
*
|
|
18834
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18835
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18836
|
+
* version describes the node. Updates install into
|
|
18837
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18838
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18839
|
+
*
|
|
18840
|
+
* Providers:
|
|
18841
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18842
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18843
|
+
* unpinned calls.
|
|
18844
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18845
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18846
|
+
* `$hub.registerNode` manifest.
|
|
18847
|
+
*
|
|
18848
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18849
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18850
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18851
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18852
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18853
|
+
*
|
|
18854
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18855
|
+
*/
|
|
18856
|
+
/**
|
|
18857
|
+
* Where the running hub's code was loaded from:
|
|
18858
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18859
|
+
* plain resolution and runtime updates are refused.
|
|
18860
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18861
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18862
|
+
*/
|
|
18863
|
+
var ServerBootModeSchema = _enum([
|
|
18864
|
+
"workspace",
|
|
18865
|
+
"baked",
|
|
18866
|
+
"data-root"
|
|
18867
|
+
]);
|
|
18868
|
+
/**
|
|
18869
|
+
* Update lifecycle state:
|
|
18870
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18871
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18872
|
+
* restarted onto it (still running the OLD version).
|
|
18873
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18874
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18875
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18876
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18877
|
+
*/
|
|
18878
|
+
var ServerUpdateStateSchema = _enum([
|
|
18879
|
+
"idle",
|
|
18880
|
+
"checking",
|
|
18881
|
+
"staging",
|
|
18882
|
+
"pending-restart",
|
|
18883
|
+
"awaiting-confirmation"
|
|
18884
|
+
]);
|
|
18885
|
+
var ServerRollbackInfoSchema = object({
|
|
18886
|
+
/** The version that failed (or was manually rolled back). */
|
|
18887
|
+
fromVersion: string$2(),
|
|
18888
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18889
|
+
toVersion: string$2().nullable(),
|
|
18890
|
+
atMs: number(),
|
|
18891
|
+
reason: string$2()
|
|
18558
18892
|
});
|
|
18559
|
-
var
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
|
|
18893
|
+
var ServerPackageStatusSchema = object({
|
|
18894
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18895
|
+
packageName: string$2(),
|
|
18896
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18897
|
+
runningVersion: string$2().nullable(),
|
|
18898
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18899
|
+
nodeRuntimeVersion: string$2().nullable(),
|
|
18900
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18901
|
+
activeVersion: string$2().nullable(),
|
|
18902
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18903
|
+
previousVersion: string$2().nullable(),
|
|
18904
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18905
|
+
seedVersion: string$2().nullable(),
|
|
18906
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18907
|
+
latestVersion: string$2().nullable(),
|
|
18908
|
+
updateAvailable: boolean(),
|
|
18909
|
+
bootMode: ServerBootModeSchema,
|
|
18910
|
+
updateState: ServerUpdateStateSchema,
|
|
18911
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18912
|
+
pendingVersion: string$2().nullable(),
|
|
18913
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18914
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18915
|
+
/**
|
|
18916
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18917
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18918
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18919
|
+
*/
|
|
18920
|
+
stateFileCorrupt: boolean(),
|
|
18921
|
+
lastCheckedAtMs: number().nullable()
|
|
18922
|
+
});
|
|
18923
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18924
|
+
packageName: string$2(),
|
|
18925
|
+
runningVersion: string$2().nullable(),
|
|
18926
|
+
latestVersion: string$2().nullable(),
|
|
18927
|
+
updateAvailable: boolean(),
|
|
18928
|
+
checkedAtMs: number(),
|
|
18929
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18930
|
+
error: string$2().nullable()
|
|
18931
|
+
});
|
|
18932
|
+
var ServerUpdateActionResultSchema = object({
|
|
18933
|
+
accepted: boolean(),
|
|
18934
|
+
targetVersion: string$2().nullable(),
|
|
18935
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18936
|
+
restarting: boolean(),
|
|
18937
|
+
message: string$2()
|
|
18938
|
+
});
|
|
18939
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18940
|
+
kind: "mutation",
|
|
18941
|
+
auth: "admin"
|
|
18942
|
+
}), method(object({
|
|
18943
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18944
|
+
version: string$2().optional() }), ServerUpdateActionResultSchema, {
|
|
18945
|
+
kind: "mutation",
|
|
18946
|
+
auth: "admin"
|
|
18947
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18948
|
+
kind: "mutation",
|
|
18949
|
+
auth: "admin"
|
|
18950
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18951
|
+
kind: "mutation",
|
|
18952
|
+
auth: "admin"
|
|
18563
18953
|
});
|
|
18564
|
-
method(object({
|
|
18565
|
-
deviceId: number(),
|
|
18566
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18567
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18568
18954
|
/**
|
|
18569
18955
|
* Query filter for settings-store collections.
|
|
18570
18956
|
*/
|
|
@@ -18717,9 +19103,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18717
19103
|
/**
|
|
18718
19104
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18719
19105
|
*
|
|
18720
|
-
*
|
|
18721
|
-
*
|
|
18722
|
-
*
|
|
19106
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19107
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19108
|
+
* prebuffer fallback.
|
|
18723
19109
|
*/
|
|
18724
19110
|
var SnapshotImageSchema = object({
|
|
18725
19111
|
base64: string$2(),
|
|
@@ -18750,11 +19136,12 @@ DeviceType.Camera, method(object({
|
|
|
18750
19136
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18751
19137
|
kind: "mutation",
|
|
18752
19138
|
auth: "admin"
|
|
18753
|
-
})
|
|
18754
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
19139
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
18755
19140
|
deviceId: number(),
|
|
18756
|
-
|
|
18757
|
-
|
|
19141
|
+
lastCapturedAt: number().nullable(),
|
|
19142
|
+
cacheAgeMs: number().nullable(),
|
|
19143
|
+
etag: string$2().nullable()
|
|
19144
|
+
})));
|
|
18758
19145
|
/**
|
|
18759
19146
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18760
19147
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -19005,10 +19392,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
19005
19392
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
19006
19393
|
* the assertion, bumps the credential counter, returns ok.
|
|
19007
19394
|
*
|
|
19395
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19396
|
+
* passkey IS the primary factor, no password leg:
|
|
19397
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19398
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19399
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19400
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19401
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19402
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19403
|
+
* resolves the credential by the response's credential id,
|
|
19404
|
+
* verifies the assertion against the stored challenge + that
|
|
19405
|
+
* credential's public key/counter, and returns the OWNING
|
|
19406
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19407
|
+
*
|
|
19008
19408
|
* 3. Management:
|
|
19009
19409
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
19010
19410
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
19011
19411
|
*
|
|
19412
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19413
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19414
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19415
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19416
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19417
|
+
* row ⇒ `enabled: false`).
|
|
19418
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19419
|
+
* the providing addon beside its credentials.
|
|
19420
|
+
*
|
|
19012
19421
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
19013
19422
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
19014
19423
|
* the cap to non-admins.
|
|
@@ -19051,6 +19460,17 @@ method(object({
|
|
|
19051
19460
|
}), object({ verified: boolean() }), {
|
|
19052
19461
|
kind: "mutation",
|
|
19053
19462
|
access: "view"
|
|
19463
|
+
}), method(object({}), object({ optionsJSON: record(string$2(), unknown()) }), {
|
|
19464
|
+
kind: "mutation",
|
|
19465
|
+
access: "view"
|
|
19466
|
+
}), method(object({
|
|
19467
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19468
|
+
response: record(string$2(), unknown()) }), object({
|
|
19469
|
+
verified: boolean(),
|
|
19470
|
+
userId: string$2().nullable()
|
|
19471
|
+
}), {
|
|
19472
|
+
kind: "mutation",
|
|
19473
|
+
access: "view"
|
|
19054
19474
|
}), method(object({ userId: string$2() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
19055
19475
|
userId: string$2(),
|
|
19056
19476
|
credentialId: string$2()
|
|
@@ -19058,6 +19478,13 @@ method(object({
|
|
|
19058
19478
|
kind: "mutation",
|
|
19059
19479
|
auth: "admin",
|
|
19060
19480
|
access: "delete"
|
|
19481
|
+
}), method(object({ userId: string$2() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19482
|
+
userId: string$2(),
|
|
19483
|
+
enabled: boolean()
|
|
19484
|
+
}), object({ success: literal(true) }), {
|
|
19485
|
+
kind: "mutation",
|
|
19486
|
+
auth: "admin",
|
|
19487
|
+
access: "create"
|
|
19061
19488
|
});
|
|
19062
19489
|
/**
|
|
19063
19490
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19115,9 +19542,10 @@ method(object({
|
|
|
19115
19542
|
auth: "admin"
|
|
19116
19543
|
});
|
|
19117
19544
|
/**
|
|
19118
|
-
* Optional client-side hints sent at session creation to help the
|
|
19119
|
-
*
|
|
19120
|
-
*
|
|
19545
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19546
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19547
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19548
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19121
19549
|
*/
|
|
19122
19550
|
var webrtcClientHintsSchema = object({
|
|
19123
19551
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19128,22 +19556,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19128
19556
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19129
19557
|
prefersTier: string$2().optional()
|
|
19130
19558
|
}).partial();
|
|
19131
|
-
method(object({
|
|
19132
|
-
streamId: string$2(),
|
|
19133
|
-
sdpOffer: string$2()
|
|
19134
|
-
}), string$2(), { kind: "mutation" }), method(object({ streamId: string$2() }), boolean()), method(object({
|
|
19135
|
-
streamId: string$2(),
|
|
19136
|
-
codec: string$2()
|
|
19137
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string$2() }), _void(), { kind: "mutation" }), method(object({
|
|
19138
|
-
streamId: string$2(),
|
|
19139
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19140
|
-
}), object({
|
|
19141
|
-
sessionId: string$2(),
|
|
19142
|
-
sdpOffer: string$2()
|
|
19143
|
-
}), { kind: "mutation" }), method(object({
|
|
19144
|
-
sessionId: string$2(),
|
|
19145
|
-
sdpAnswer: string$2()
|
|
19146
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string$2() }), _void(), { kind: "mutation" }), method(object({ streamId: string$2() }), boolean());
|
|
19147
19559
|
/**
|
|
19148
19560
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19149
19561
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19891,7 +20303,17 @@ var FaceInfoSchema = object({
|
|
|
19891
20303
|
recognizedIdentityId: string$2().optional(),
|
|
19892
20304
|
identityName: string$2().optional(),
|
|
19893
20305
|
assigned: boolean(),
|
|
19894
|
-
base64: string$2().optional()
|
|
20306
|
+
base64: string$2().optional(),
|
|
20307
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20308
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20309
|
+
* legacy rows written before design B. */
|
|
20310
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20311
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20312
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20313
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20314
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20315
|
+
* back to the inline `base64` face crop. */
|
|
20316
|
+
keyFrameMediaKey: string$2().optional()
|
|
19895
20317
|
});
|
|
19896
20318
|
var FaceFilterEnum = _enum([
|
|
19897
20319
|
"unassigned",
|
|
@@ -20588,6 +21010,16 @@ var TopologyCategorySchema = object({
|
|
|
20588
21010
|
healthy: number(),
|
|
20589
21011
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20590
21012
|
});
|
|
21013
|
+
/**
|
|
21014
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
21015
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
21016
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
21017
|
+
* rows and pre-phase-2 nodes report none.
|
|
21018
|
+
*/
|
|
21019
|
+
var TopologyRootPackageSchema = object({
|
|
21020
|
+
name: string$2(),
|
|
21021
|
+
version: string$2()
|
|
21022
|
+
});
|
|
20591
21023
|
var TopologyNodeSchema = object({
|
|
20592
21024
|
id: string$2(),
|
|
20593
21025
|
name: string$2(),
|
|
@@ -20611,7 +21043,8 @@ var TopologyNodeSchema = object({
|
|
|
20611
21043
|
status: string$2()
|
|
20612
21044
|
})).readonly(),
|
|
20613
21045
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20614
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
21046
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
21047
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20615
21048
|
});
|
|
20616
21049
|
var CapUsageEdgeSchema = object({
|
|
20617
21050
|
callerAddonId: string$2(),
|
|
@@ -23411,6 +23844,12 @@ Object.freeze({
|
|
|
23411
23844
|
addonId: null,
|
|
23412
23845
|
access: "create"
|
|
23413
23846
|
},
|
|
23847
|
+
"loginMethod.getLoginMethods": {
|
|
23848
|
+
capName: "login-method",
|
|
23849
|
+
capScope: "system",
|
|
23850
|
+
addonId: null,
|
|
23851
|
+
access: "view"
|
|
23852
|
+
},
|
|
23414
23853
|
"mediaPlayer.next": {
|
|
23415
23854
|
capName: "media-player",
|
|
23416
23855
|
capScope: "device",
|
|
@@ -23993,6 +24432,12 @@ Object.freeze({
|
|
|
23993
24432
|
addonId: null,
|
|
23994
24433
|
access: "view"
|
|
23995
24434
|
},
|
|
24435
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24436
|
+
capName: "pipeline-analytics",
|
|
24437
|
+
capScope: "device",
|
|
24438
|
+
addonId: null,
|
|
24439
|
+
access: "view"
|
|
24440
|
+
},
|
|
23996
24441
|
"pipelineAnalytics.getMotionEvents": {
|
|
23997
24442
|
capName: "pipeline-analytics",
|
|
23998
24443
|
capScope: "device",
|
|
@@ -24041,23 +24486,23 @@ Object.freeze({
|
|
|
24041
24486
|
addonId: null,
|
|
24042
24487
|
access: "create"
|
|
24043
24488
|
},
|
|
24044
|
-
"pipelineExecutor.
|
|
24489
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
24045
24490
|
capName: "pipeline-executor",
|
|
24046
24491
|
capScope: "system",
|
|
24047
24492
|
addonId: null,
|
|
24048
24493
|
access: "delete"
|
|
24049
24494
|
},
|
|
24050
|
-
"pipelineExecutor.
|
|
24495
|
+
"pipelineExecutor.deleteModel": {
|
|
24051
24496
|
capName: "pipeline-executor",
|
|
24052
24497
|
capScope: "system",
|
|
24053
24498
|
addonId: null,
|
|
24054
24499
|
access: "delete"
|
|
24055
24500
|
},
|
|
24056
|
-
"pipelineExecutor.
|
|
24501
|
+
"pipelineExecutor.deleteTemplate": {
|
|
24057
24502
|
capName: "pipeline-executor",
|
|
24058
24503
|
capScope: "system",
|
|
24059
24504
|
addonId: null,
|
|
24060
|
-
access: "
|
|
24505
|
+
access: "delete"
|
|
24061
24506
|
},
|
|
24062
24507
|
"pipelineExecutor.downloadModel": {
|
|
24063
24508
|
capName: "pipeline-executor",
|
|
@@ -24251,13 +24696,13 @@ Object.freeze({
|
|
|
24251
24696
|
addonId: null,
|
|
24252
24697
|
access: "create"
|
|
24253
24698
|
},
|
|
24254
|
-
"
|
|
24255
|
-
capName: "pipeline-
|
|
24699
|
+
"pipelineExecutor.validatePipeline": {
|
|
24700
|
+
capName: "pipeline-executor",
|
|
24256
24701
|
capScope: "system",
|
|
24257
24702
|
addonId: null,
|
|
24258
|
-
access: "
|
|
24703
|
+
access: "view"
|
|
24259
24704
|
},
|
|
24260
|
-
"pipelineOrchestrator.
|
|
24705
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24261
24706
|
capName: "pipeline-orchestrator",
|
|
24262
24707
|
capScope: "system",
|
|
24263
24708
|
addonId: null,
|
|
@@ -24341,19 +24786,13 @@ Object.freeze({
|
|
|
24341
24786
|
addonId: null,
|
|
24342
24787
|
access: "view"
|
|
24343
24788
|
},
|
|
24344
|
-
"pipelineOrchestrator.
|
|
24345
|
-
capName: "pipeline-orchestrator",
|
|
24346
|
-
capScope: "system",
|
|
24347
|
-
addonId: null,
|
|
24348
|
-
access: "view"
|
|
24349
|
-
},
|
|
24350
|
-
"pipelineOrchestrator.getDecoderAssignments": {
|
|
24789
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24351
24790
|
capName: "pipeline-orchestrator",
|
|
24352
24791
|
capScope: "system",
|
|
24353
24792
|
addonId: null,
|
|
24354
24793
|
access: "view"
|
|
24355
24794
|
},
|
|
24356
|
-
"pipelineOrchestrator.
|
|
24795
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24357
24796
|
capName: "pipeline-orchestrator",
|
|
24358
24797
|
capScope: "system",
|
|
24359
24798
|
addonId: null,
|
|
@@ -24395,6 +24834,12 @@ Object.freeze({
|
|
|
24395
24834
|
addonId: null,
|
|
24396
24835
|
access: "delete"
|
|
24397
24836
|
},
|
|
24837
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24838
|
+
capName: "pipeline-orchestrator",
|
|
24839
|
+
capScope: "system",
|
|
24840
|
+
addonId: null,
|
|
24841
|
+
access: "delete"
|
|
24842
|
+
},
|
|
24398
24843
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24399
24844
|
capName: "pipeline-orchestrator",
|
|
24400
24845
|
capScope: "system",
|
|
@@ -24431,37 +24876,37 @@ Object.freeze({
|
|
|
24431
24876
|
addonId: null,
|
|
24432
24877
|
access: "create"
|
|
24433
24878
|
},
|
|
24434
|
-
"pipelineOrchestrator.
|
|
24879
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24435
24880
|
capName: "pipeline-orchestrator",
|
|
24436
24881
|
capScope: "system",
|
|
24437
24882
|
addonId: null,
|
|
24438
24883
|
access: "create"
|
|
24439
24884
|
},
|
|
24440
|
-
"pipelineOrchestrator.
|
|
24885
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24441
24886
|
capName: "pipeline-orchestrator",
|
|
24442
24887
|
capScope: "system",
|
|
24443
24888
|
addonId: null,
|
|
24444
24889
|
access: "create"
|
|
24445
24890
|
},
|
|
24446
|
-
"pipelineOrchestrator.
|
|
24891
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24447
24892
|
capName: "pipeline-orchestrator",
|
|
24448
24893
|
capScope: "system",
|
|
24449
24894
|
addonId: null,
|
|
24450
24895
|
access: "create"
|
|
24451
24896
|
},
|
|
24452
|
-
"pipelineOrchestrator.
|
|
24897
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24453
24898
|
capName: "pipeline-orchestrator",
|
|
24454
24899
|
capScope: "system",
|
|
24455
24900
|
addonId: null,
|
|
24456
24901
|
access: "create"
|
|
24457
24902
|
},
|
|
24458
|
-
"pipelineOrchestrator.
|
|
24903
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24459
24904
|
capName: "pipeline-orchestrator",
|
|
24460
24905
|
capScope: "system",
|
|
24461
24906
|
addonId: null,
|
|
24462
24907
|
access: "create"
|
|
24463
24908
|
},
|
|
24464
|
-
"pipelineOrchestrator.
|
|
24909
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24465
24910
|
capName: "pipeline-orchestrator",
|
|
24466
24911
|
capScope: "system",
|
|
24467
24912
|
addonId: null,
|
|
@@ -24521,12 +24966,24 @@ Object.freeze({
|
|
|
24521
24966
|
addonId: null,
|
|
24522
24967
|
access: "view"
|
|
24523
24968
|
},
|
|
24969
|
+
"pipelineRunner.getNativeCrop": {
|
|
24970
|
+
capName: "pipeline-runner",
|
|
24971
|
+
capScope: "system",
|
|
24972
|
+
addonId: null,
|
|
24973
|
+
access: "view"
|
|
24974
|
+
},
|
|
24524
24975
|
"pipelineRunner.reportMotion": {
|
|
24525
24976
|
capName: "pipeline-runner",
|
|
24526
24977
|
capScope: "system",
|
|
24527
24978
|
addonId: null,
|
|
24528
24979
|
access: "create"
|
|
24529
24980
|
},
|
|
24981
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24982
|
+
capName: "pipeline-runner",
|
|
24983
|
+
capScope: "system",
|
|
24984
|
+
addonId: null,
|
|
24985
|
+
access: "create"
|
|
24986
|
+
},
|
|
24530
24987
|
"plateGallery.correctPlateText": {
|
|
24531
24988
|
capName: "plate-gallery",
|
|
24532
24989
|
capScope: "system",
|
|
@@ -24761,33 +25218,45 @@ Object.freeze({
|
|
|
24761
25218
|
addonId: null,
|
|
24762
25219
|
access: "create"
|
|
24763
25220
|
},
|
|
24764
|
-
"
|
|
24765
|
-
capName: "
|
|
25221
|
+
"scriptRunner.run": {
|
|
25222
|
+
capName: "script-runner",
|
|
25223
|
+
capScope: "device",
|
|
25224
|
+
addonId: null,
|
|
25225
|
+
access: "create"
|
|
25226
|
+
},
|
|
25227
|
+
"scriptRunner.stop": {
|
|
25228
|
+
capName: "script-runner",
|
|
25229
|
+
capScope: "device",
|
|
25230
|
+
addonId: null,
|
|
25231
|
+
access: "create"
|
|
25232
|
+
},
|
|
25233
|
+
"serverManagement.applyServerUpdate": {
|
|
25234
|
+
capName: "server-management",
|
|
24766
25235
|
capScope: "system",
|
|
24767
25236
|
addonId: null,
|
|
24768
|
-
access: "
|
|
25237
|
+
access: "create"
|
|
24769
25238
|
},
|
|
24770
|
-
"
|
|
24771
|
-
capName: "
|
|
25239
|
+
"serverManagement.checkServerUpdate": {
|
|
25240
|
+
capName: "server-management",
|
|
24772
25241
|
capScope: "system",
|
|
24773
25242
|
addonId: null,
|
|
24774
25243
|
access: "create"
|
|
24775
25244
|
},
|
|
24776
|
-
"
|
|
24777
|
-
capName: "
|
|
25245
|
+
"serverManagement.getServerPackageStatus": {
|
|
25246
|
+
capName: "server-management",
|
|
24778
25247
|
capScope: "system",
|
|
24779
25248
|
addonId: null,
|
|
24780
|
-
access: "
|
|
25249
|
+
access: "view"
|
|
24781
25250
|
},
|
|
24782
|
-
"
|
|
24783
|
-
capName: "
|
|
24784
|
-
capScope: "
|
|
25251
|
+
"serverManagement.restartServer": {
|
|
25252
|
+
capName: "server-management",
|
|
25253
|
+
capScope: "system",
|
|
24785
25254
|
addonId: null,
|
|
24786
25255
|
access: "create"
|
|
24787
25256
|
},
|
|
24788
|
-
"
|
|
24789
|
-
capName: "
|
|
24790
|
-
capScope: "
|
|
25257
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25258
|
+
capName: "server-management",
|
|
25259
|
+
capScope: "system",
|
|
24791
25260
|
addonId: null,
|
|
24792
25261
|
access: "create"
|
|
24793
25262
|
},
|
|
@@ -24875,23 +25344,17 @@ Object.freeze({
|
|
|
24875
25344
|
addonId: null,
|
|
24876
25345
|
access: "view"
|
|
24877
25346
|
},
|
|
24878
|
-
"snapshot.
|
|
25347
|
+
"snapshot.getSnapshotOverview": {
|
|
24879
25348
|
capName: "snapshot",
|
|
24880
25349
|
capScope: "device",
|
|
24881
25350
|
addonId: null,
|
|
24882
|
-
access: "create"
|
|
24883
|
-
},
|
|
24884
|
-
"snapshotProvider.getSnapshot": {
|
|
24885
|
-
capName: "snapshot-provider",
|
|
24886
|
-
capScope: "system",
|
|
24887
|
-
addonId: null,
|
|
24888
25351
|
access: "view"
|
|
24889
25352
|
},
|
|
24890
|
-
"
|
|
24891
|
-
capName: "snapshot
|
|
24892
|
-
capScope: "
|
|
25353
|
+
"snapshot.invalidateCache": {
|
|
25354
|
+
capName: "snapshot",
|
|
25355
|
+
capScope: "device",
|
|
24893
25356
|
addonId: null,
|
|
24894
|
-
access: "
|
|
25357
|
+
access: "create"
|
|
24895
25358
|
},
|
|
24896
25359
|
"ssoBridge.signBridgeToken": {
|
|
24897
25360
|
capName: "sso-bridge",
|
|
@@ -25319,30 +25782,6 @@ Object.freeze({
|
|
|
25319
25782
|
addonId: null,
|
|
25320
25783
|
access: "view"
|
|
25321
25784
|
},
|
|
25322
|
-
"streamingEngine.getStreamUrl": {
|
|
25323
|
-
capName: "streaming-engine",
|
|
25324
|
-
capScope: "system",
|
|
25325
|
-
addonId: null,
|
|
25326
|
-
access: "view"
|
|
25327
|
-
},
|
|
25328
|
-
"streamingEngine.listStreams": {
|
|
25329
|
-
capName: "streaming-engine",
|
|
25330
|
-
capScope: "system",
|
|
25331
|
-
addonId: null,
|
|
25332
|
-
access: "view"
|
|
25333
|
-
},
|
|
25334
|
-
"streamingEngine.registerStream": {
|
|
25335
|
-
capName: "streaming-engine",
|
|
25336
|
-
capScope: "system",
|
|
25337
|
-
addonId: null,
|
|
25338
|
-
access: "create"
|
|
25339
|
-
},
|
|
25340
|
-
"streamingEngine.unregisterStream": {
|
|
25341
|
-
capName: "streaming-engine",
|
|
25342
|
-
capScope: "system",
|
|
25343
|
-
addonId: null,
|
|
25344
|
-
access: "delete"
|
|
25345
|
-
},
|
|
25346
25785
|
"streamParams.getConfigSchema": {
|
|
25347
25786
|
capName: "stream-params",
|
|
25348
25787
|
capScope: "device",
|
|
@@ -25589,6 +26028,12 @@ Object.freeze({
|
|
|
25589
26028
|
addonId: null,
|
|
25590
26029
|
access: "view"
|
|
25591
26030
|
},
|
|
26031
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
26032
|
+
capName: "user-passkeys",
|
|
26033
|
+
capScope: "system",
|
|
26034
|
+
addonId: null,
|
|
26035
|
+
access: "view"
|
|
26036
|
+
},
|
|
25592
26037
|
"userPasskeys.beginRegistration": {
|
|
25593
26038
|
capName: "user-passkeys",
|
|
25594
26039
|
capScope: "system",
|
|
@@ -25601,12 +26046,24 @@ Object.freeze({
|
|
|
25601
26046
|
addonId: null,
|
|
25602
26047
|
access: "view"
|
|
25603
26048
|
},
|
|
26049
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
26050
|
+
capName: "user-passkeys",
|
|
26051
|
+
capScope: "system",
|
|
26052
|
+
addonId: null,
|
|
26053
|
+
access: "view"
|
|
26054
|
+
},
|
|
25604
26055
|
"userPasskeys.finishRegistration": {
|
|
25605
26056
|
capName: "user-passkeys",
|
|
25606
26057
|
capScope: "system",
|
|
25607
26058
|
addonId: null,
|
|
25608
26059
|
access: "create"
|
|
25609
26060
|
},
|
|
26061
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
26062
|
+
capName: "user-passkeys",
|
|
26063
|
+
capScope: "system",
|
|
26064
|
+
addonId: null,
|
|
26065
|
+
access: "view"
|
|
26066
|
+
},
|
|
25610
26067
|
"userPasskeys.listPasskeys": {
|
|
25611
26068
|
capName: "user-passkeys",
|
|
25612
26069
|
capScope: "system",
|
|
@@ -25619,6 +26076,12 @@ Object.freeze({
|
|
|
25619
26076
|
addonId: null,
|
|
25620
26077
|
access: "delete"
|
|
25621
26078
|
},
|
|
26079
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26080
|
+
capName: "user-passkeys",
|
|
26081
|
+
capScope: "system",
|
|
26082
|
+
addonId: null,
|
|
26083
|
+
access: "create"
|
|
26084
|
+
},
|
|
25622
26085
|
"vacuumControl.locate": {
|
|
25623
26086
|
capName: "vacuum-control",
|
|
25624
26087
|
capScope: "device",
|
|
@@ -25691,6 +26154,18 @@ Object.freeze({
|
|
|
25691
26154
|
addonId: null,
|
|
25692
26155
|
access: "view"
|
|
25693
26156
|
},
|
|
26157
|
+
"viewerUi.getStaticDir": {
|
|
26158
|
+
capName: "viewer-ui",
|
|
26159
|
+
capScope: "system",
|
|
26160
|
+
addonId: null,
|
|
26161
|
+
access: "view"
|
|
26162
|
+
},
|
|
26163
|
+
"viewerUi.getVersion": {
|
|
26164
|
+
capName: "viewer-ui",
|
|
26165
|
+
capScope: "system",
|
|
26166
|
+
addonId: null,
|
|
26167
|
+
access: "view"
|
|
26168
|
+
},
|
|
25694
26169
|
"waterHeater.setAway": {
|
|
25695
26170
|
capName: "water-heater",
|
|
25696
26171
|
capScope: "device",
|
|
@@ -25709,54 +26184,6 @@ Object.freeze({
|
|
|
25709
26184
|
addonId: null,
|
|
25710
26185
|
access: "create"
|
|
25711
26186
|
},
|
|
25712
|
-
"webrtc.closeSession": {
|
|
25713
|
-
capName: "webrtc",
|
|
25714
|
-
capScope: "system",
|
|
25715
|
-
addonId: null,
|
|
25716
|
-
access: "create"
|
|
25717
|
-
},
|
|
25718
|
-
"webrtc.createSession": {
|
|
25719
|
-
capName: "webrtc",
|
|
25720
|
-
capScope: "system",
|
|
25721
|
-
addonId: null,
|
|
25722
|
-
access: "create"
|
|
25723
|
-
},
|
|
25724
|
-
"webrtc.handleAnswer": {
|
|
25725
|
-
capName: "webrtc",
|
|
25726
|
-
capScope: "system",
|
|
25727
|
-
addonId: null,
|
|
25728
|
-
access: "create"
|
|
25729
|
-
},
|
|
25730
|
-
"webrtc.handleOffer": {
|
|
25731
|
-
capName: "webrtc",
|
|
25732
|
-
capScope: "system",
|
|
25733
|
-
addonId: null,
|
|
25734
|
-
access: "create"
|
|
25735
|
-
},
|
|
25736
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25737
|
-
capName: "webrtc",
|
|
25738
|
-
capScope: "system",
|
|
25739
|
-
addonId: null,
|
|
25740
|
-
access: "view"
|
|
25741
|
-
},
|
|
25742
|
-
"webrtc.registerStream": {
|
|
25743
|
-
capName: "webrtc",
|
|
25744
|
-
capScope: "system",
|
|
25745
|
-
addonId: null,
|
|
25746
|
-
access: "create"
|
|
25747
|
-
},
|
|
25748
|
-
"webrtc.supportsStream": {
|
|
25749
|
-
capName: "webrtc",
|
|
25750
|
-
capScope: "system",
|
|
25751
|
-
addonId: null,
|
|
25752
|
-
access: "view"
|
|
25753
|
-
},
|
|
25754
|
-
"webrtc.unregisterStream": {
|
|
25755
|
-
capName: "webrtc",
|
|
25756
|
-
capScope: "system",
|
|
25757
|
-
addonId: null,
|
|
25758
|
-
access: "delete"
|
|
25759
|
-
},
|
|
25760
26187
|
"webrtcSession.addIceCandidate": {
|
|
25761
26188
|
capName: "webrtc-session",
|
|
25762
26189
|
capScope: "device",
|