@camstack/addon-provider-rademacher 0.2.26 → 0.2.27
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 +184 -34
- package/dist/addon.mjs +184 -34
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -6786,6 +6786,13 @@ var BaseAddon = class {
|
|
|
6786
6786
|
_readinessGeneration = typeof crypto !== "undefined" && crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).slice(2, 14);
|
|
6787
6787
|
/** Capability names this addon registered at init — used to emit matching `down` events on shutdown. */
|
|
6788
6788
|
_registeredCapNames = [];
|
|
6789
|
+
/**
|
|
6790
|
+
* True only after `readAddonStore` actually answered. Constructor
|
|
6791
|
+
* defaults look like stored config when the store is down — a forked
|
|
6792
|
+
* addon that auto-starts from those defaults (cloudflare-tunnel quick
|
|
6793
|
+
* mode, 2026-08-25) is not "the operator chose this".
|
|
6794
|
+
*/
|
|
6795
|
+
settingsStoreReady = false;
|
|
6789
6796
|
/** Default config values. Provided via constructor. */
|
|
6790
6797
|
defaults;
|
|
6791
6798
|
constructor(defaults) {
|
|
@@ -7186,7 +7193,9 @@ var BaseAddon = class {
|
|
|
7186
7193
|
];
|
|
7187
7194
|
let lastErr;
|
|
7188
7195
|
for (let attempt = 0; attempt <= delaysMs.length; attempt++) try {
|
|
7189
|
-
|
|
7196
|
+
const stored = await settings.readAddonStore() ?? {};
|
|
7197
|
+
this.settingsStoreReady = true;
|
|
7198
|
+
return stored;
|
|
7190
7199
|
} catch (err) {
|
|
7191
7200
|
lastErr = err;
|
|
7192
7201
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -7194,6 +7203,7 @@ var BaseAddon = class {
|
|
|
7194
7203
|
if (attempt === delaysMs.length) break;
|
|
7195
7204
|
await new Promise((r) => setTimeout(r, delaysMs[attempt]));
|
|
7196
7205
|
}
|
|
7206
|
+
this.settingsStoreReady = false;
|
|
7197
7207
|
this._ctx?.logger?.warn?.("readAddonStore: settings-store unavailable after retries — using defaults", { meta: { error: lastErr instanceof Error ? lastErr.message : String(lastErr) } });
|
|
7198
7208
|
return {};
|
|
7199
7209
|
}
|
|
@@ -9097,6 +9107,12 @@ var ModelVariantGroupSchema = object({
|
|
|
9097
9107
|
*/
|
|
9098
9108
|
resolution: number().int().positive().optional()
|
|
9099
9109
|
});
|
|
9110
|
+
var ModelProviderIdSchema = _enum([
|
|
9111
|
+
"camstack",
|
|
9112
|
+
"frigate",
|
|
9113
|
+
"scrypted",
|
|
9114
|
+
"custom"
|
|
9115
|
+
]);
|
|
9100
9116
|
var ModelCatalogEntrySchema = object({
|
|
9101
9117
|
id: string(),
|
|
9102
9118
|
name: string(),
|
|
@@ -9194,6 +9210,12 @@ var ModelCatalogEntrySchema = object({
|
|
|
9194
9210
|
*/
|
|
9195
9211
|
group: ModelVariantGroupSchema.optional(),
|
|
9196
9212
|
/**
|
|
9213
|
+
* Catalog source for the pipeline stepper's provider-first picker. Absent on
|
|
9214
|
+
* built-in CamStack entries (treated as `camstack`) and on registry rows
|
|
9215
|
+
* persisted before this field existed (`inferModelProvider` fills those).
|
|
9216
|
+
*/
|
|
9217
|
+
provider: ModelProviderIdSchema.optional(),
|
|
9218
|
+
/**
|
|
9197
9219
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
9198
9220
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
9199
9221
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
@@ -12985,6 +13007,27 @@ var LinkedDeviceSchema = object({
|
|
|
12985
13007
|
features: array(string()),
|
|
12986
13008
|
producesTrackedEvents: boolean().optional()
|
|
12987
13009
|
});
|
|
13010
|
+
/** One camera's resolved linked set, tagged with the camera it belongs to.
|
|
13011
|
+
* The batch answer needs the tag; the single-device answer already has it
|
|
13012
|
+
* from the input, which is why `getLinkedDevices` keeps the untagged shape. */
|
|
13013
|
+
var LinkedDevicesForDeviceSchema = object({
|
|
13014
|
+
deviceId: number(),
|
|
13015
|
+
mode: LinkedDevicesModeSchema,
|
|
13016
|
+
devices: array(LinkedDeviceSchema)
|
|
13017
|
+
});
|
|
13018
|
+
/** One device's binding map — the shape `getBindings`, `getBindingsBatch` and
|
|
13019
|
+
* `getAllBindings` all answer in. Declared once: three copies of the same
|
|
13020
|
+
* object literal is exactly how the three drift apart. */
|
|
13021
|
+
var DeviceBindingsForDeviceSchema = object({
|
|
13022
|
+
deviceId: number(),
|
|
13023
|
+
entries: array(object({
|
|
13024
|
+
capName: string(),
|
|
13025
|
+
kind: _enum(["native", "wrapped"]),
|
|
13026
|
+
providerAddonId: string(),
|
|
13027
|
+
providerNodeId: string(),
|
|
13028
|
+
nativeAddonId: string()
|
|
13029
|
+
}))
|
|
13030
|
+
});
|
|
12988
13031
|
var SavedDeviceRowSchema = object({
|
|
12989
13032
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
12990
13033
|
id: number(),
|
|
@@ -13210,11 +13253,25 @@ method(object({
|
|
|
13210
13253
|
projection: _enum(["full", "slim"]).optional(),
|
|
13211
13254
|
/** Return only camera devices. Filtering server-side instead of
|
|
13212
13255
|
* shipping 293 rows to find 12. */
|
|
13213
|
-
isCamera: boolean().optional()
|
|
13256
|
+
isCamera: boolean().optional(),
|
|
13257
|
+
/**
|
|
13258
|
+
* Return only these device ids. For the caller that already KNOWS the
|
|
13259
|
+
* handful it wants and needs a field the id-bearing answer does not
|
|
13260
|
+
* carry — the viewer's linked-devices panel joins `type` and `online`
|
|
13261
|
+
* onto ~8 linked ids and, unfiltered, dragged the fleet across to do
|
|
13262
|
+
* it: 433 KB slim / 958 KB full for 967 devices, on a query that
|
|
13263
|
+
* refetches on the reconcile interval, on a phone.
|
|
13264
|
+
*
|
|
13265
|
+
* Safe to send at a hub that predates it: Zod STRIPS unknown input
|
|
13266
|
+
* keys rather than rejecting them (verified against the live hub
|
|
13267
|
+
* 2026-08-25 — 967 rows came back), so an old hub answers exactly what
|
|
13268
|
+
* it answers today and the caller filters as it already does.
|
|
13269
|
+
*/
|
|
13270
|
+
deviceIds: array(number()).optional()
|
|
13214
13271
|
}), array(DeviceInfoSchema)), method(object({ deviceId: number() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), object({
|
|
13215
13272
|
mode: LinkedDevicesModeSchema,
|
|
13216
13273
|
devices: array(LinkedDeviceSchema)
|
|
13217
|
-
})), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
13274
|
+
})), method(object({ deviceIds: array(number()) }), array(LinkedDevicesForDeviceSchema)), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
13218
13275
|
deviceId: number(),
|
|
13219
13276
|
values: record(string(), unknown())
|
|
13220
13277
|
}), object({ success: literal(true) }), {
|
|
@@ -13241,25 +13298,7 @@ method(object({
|
|
|
13241
13298
|
}), method(object({ deviceId: number() }), array(StreamProbeResultSchema), {
|
|
13242
13299
|
kind: "mutation",
|
|
13243
13300
|
auth: "admin"
|
|
13244
|
-
}), method(object({ deviceId: number() }), object({
|
|
13245
|
-
deviceId: number(),
|
|
13246
|
-
entries: array(object({
|
|
13247
|
-
capName: string(),
|
|
13248
|
-
kind: _enum(["native", "wrapped"]),
|
|
13249
|
-
providerAddonId: string(),
|
|
13250
|
-
providerNodeId: string(),
|
|
13251
|
-
nativeAddonId: string()
|
|
13252
|
-
}))
|
|
13253
|
-
})), method(object({}), array(object({
|
|
13254
|
-
deviceId: number(),
|
|
13255
|
-
entries: array(object({
|
|
13256
|
-
capName: string(),
|
|
13257
|
-
kind: _enum(["native", "wrapped"]),
|
|
13258
|
-
providerAddonId: string(),
|
|
13259
|
-
providerNodeId: string(),
|
|
13260
|
-
nativeAddonId: string()
|
|
13261
|
-
}))
|
|
13262
|
-
}))), method(object({
|
|
13301
|
+
}), method(object({ deviceId: number() }), DeviceBindingsForDeviceSchema), method(object({ deviceIds: array(number()) }), array(DeviceBindingsForDeviceSchema)), method(object({}), array(DeviceBindingsForDeviceSchema)), method(object({
|
|
13263
13302
|
deviceId: number(),
|
|
13264
13303
|
capName: string(),
|
|
13265
13304
|
wrapperAddonId: string(),
|
|
@@ -15669,12 +15708,15 @@ var NcOccupancyConditionSchema = object({
|
|
|
15669
15708
|
* there is no second switch that can disagree with the first and every rule
|
|
15670
15709
|
* authored before the decision migrates for free (`audioModeOf`):
|
|
15671
15710
|
*
|
|
15672
|
-
* - **LABEL mode — `labels` present.** The rule fires
|
|
15673
|
-
*
|
|
15674
|
-
* `hitPercent` and `samplingSeconds` are ignored
|
|
15675
|
-
*
|
|
15676
|
-
*
|
|
15677
|
-
*
|
|
15711
|
+
* - **LABEL mode — `labels` present.** The rule fires when `confirmHits`
|
|
15712
|
+
* labelled frames land inside `confirmWindowSec` (default 2 in 5 s).
|
|
15713
|
+
* `hitPercent` and `samplingSeconds` are still ignored — a percentage of
|
|
15714
|
+
* frames is the wrong question for a classifier that labels 1–3 frames
|
|
15715
|
+
* per episode. The count window is the brake that drops a single-frame
|
|
15716
|
+
* false positive; the rule's own `throttle` cooldown is the other. The
|
|
15717
|
+
* per-label confidence floor is the analyzer's (`classificationMinScore`,
|
|
15718
|
+
* per device) — a label only reaches this condition if the classifier was
|
|
15719
|
+
* already confident enough. `confirmHits: 1` restores first-frame fire.
|
|
15678
15720
|
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
15679
15721
|
* the condition: at least `hitPercent`% of the samples over
|
|
15680
15722
|
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
@@ -15701,14 +15743,22 @@ var NcOccupancyConditionSchema = object({
|
|
|
15701
15743
|
* an operator who typed `dog` mean the same thing.
|
|
15702
15744
|
*/
|
|
15703
15745
|
var NcAudioConditionSchema = object({
|
|
15704
|
-
/** LABEL MODE: audio macro labels. Present ⇒
|
|
15746
|
+
/** LABEL MODE: audio macro labels. Present ⇒ count-in-window confirm. */
|
|
15705
15747
|
labels: array(string().min(1)).min(1).optional(),
|
|
15706
15748
|
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
15707
15749
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
15708
15750
|
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
15709
15751
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
15710
15752
|
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
15711
|
-
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
15753
|
+
samplingSeconds: number().int().min(1).max(300).default(10),
|
|
15754
|
+
/**
|
|
15755
|
+
* LABEL MODE: how many labelled frames must land inside
|
|
15756
|
+
* {@link NcAudioConditionSchema.shape.confirmWindowSec} before dispatch.
|
|
15757
|
+
* Absent ⇒ 2 (the matcher default). `1` is first-frame fire.
|
|
15758
|
+
*/
|
|
15759
|
+
confirmHits: number().int().min(1).max(20).optional(),
|
|
15760
|
+
/** LABEL MODE: the window those frames must share, in seconds. Absent ⇒ 5. */
|
|
15761
|
+
confirmWindowSec: number().int().min(1).max(60).optional()
|
|
15712
15762
|
});
|
|
15713
15763
|
/**
|
|
15714
15764
|
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
@@ -18082,6 +18132,46 @@ var RecentTracksPageSchema = object({
|
|
|
18082
18132
|
/** Cursor for the next page, or null when this page is the last. */
|
|
18083
18133
|
nextCursor: string().nullable()
|
|
18084
18134
|
});
|
|
18135
|
+
var LIST_GROUPS_DEFAULT_LIMIT = 40;
|
|
18136
|
+
var LIST_GROUPS_MAX_LIMIT = 100;
|
|
18137
|
+
var AnalyticsGroupRecordSchema = object({
|
|
18138
|
+
id: string(),
|
|
18139
|
+
deviceId: number().int(),
|
|
18140
|
+
openedAt: number().int(),
|
|
18141
|
+
closedAt: number().int(),
|
|
18142
|
+
timestamp: number().int(),
|
|
18143
|
+
memberCount: number().int(),
|
|
18144
|
+
memberTrackIds: array(string()).readonly(),
|
|
18145
|
+
className: string(),
|
|
18146
|
+
classes: array(string()).readonly(),
|
|
18147
|
+
/** Relative event-media path, or null when the group has no picture yet. */
|
|
18148
|
+
mediaUrl: string().nullable(),
|
|
18149
|
+
singleton: boolean()
|
|
18150
|
+
});
|
|
18151
|
+
var AnalyticsGroupMemberSchema = object({
|
|
18152
|
+
trackId: string(),
|
|
18153
|
+
deviceId: number().int(),
|
|
18154
|
+
className: string(),
|
|
18155
|
+
firstSeen: number().int(),
|
|
18156
|
+
lastSeen: number().int(),
|
|
18157
|
+
mediaUrl: string().nullable()
|
|
18158
|
+
});
|
|
18159
|
+
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
18160
|
+
var ListGroupsQueryInput = object({
|
|
18161
|
+
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
18162
|
+
deviceIds: array(number()),
|
|
18163
|
+
/** Window lower bound on `closedAt` (inclusive). */
|
|
18164
|
+
since: number().optional(),
|
|
18165
|
+
/** Window upper bound on `openedAt` (inclusive). */
|
|
18166
|
+
until: number().optional(),
|
|
18167
|
+
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
18168
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
18169
|
+
cursor: string().optional()
|
|
18170
|
+
});
|
|
18171
|
+
var ListGroupsPageSchema = object({
|
|
18172
|
+
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18173
|
+
nextCursor: string().nullable()
|
|
18174
|
+
});
|
|
18085
18175
|
var KeyEventQueryInput = object({
|
|
18086
18176
|
deviceId: number(),
|
|
18087
18177
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
@@ -18157,7 +18247,9 @@ var TrackCascadeCountsSchema = object({
|
|
|
18157
18247
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
18158
18248
|
plates: number().int(),
|
|
18159
18249
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
18160
|
-
embeddings: number().int()
|
|
18250
|
+
embeddings: number().int(),
|
|
18251
|
+
/** Group membership + group rows removed with their last member (best-effort). */
|
|
18252
|
+
groups: number().int()
|
|
18161
18253
|
});
|
|
18162
18254
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
18163
18255
|
var DiskReconcileCountsSchema = object({
|
|
@@ -18303,7 +18395,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18303
18395
|
* stationary registry). Default false: the timeline lists passages,
|
|
18304
18396
|
* not parking records (operator decision, 2026-08-15). */
|
|
18305
18397
|
includeStationary: boolean().optional()
|
|
18306
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
18398
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
|
|
18399
|
+
deviceId: number(),
|
|
18400
|
+
groupId: string().min(1)
|
|
18401
|
+
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18307
18402
|
kind: "mutation",
|
|
18308
18403
|
auth: "admin"
|
|
18309
18404
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -18613,7 +18708,8 @@ var PipelineModelOptionSchema = object({
|
|
|
18613
18708
|
sizeMB: number()
|
|
18614
18709
|
})),
|
|
18615
18710
|
group: ModelVariantGroupSchema.optional(),
|
|
18616
|
-
legacy: boolean().optional()
|
|
18711
|
+
legacy: boolean().optional(),
|
|
18712
|
+
provider: ModelProviderIdSchema.optional()
|
|
18617
18713
|
});
|
|
18618
18714
|
var ConfigFieldBridge = custom();
|
|
18619
18715
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -26710,7 +26806,12 @@ var PlateInfoSchema = object({
|
|
|
26710
26806
|
plateBbox: BoundingBoxSchema.optional(),
|
|
26711
26807
|
/** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
|
|
26712
26808
|
keyFrameMediaKey: string().optional(),
|
|
26713
|
-
base64: string().optional()
|
|
26809
|
+
base64: string().optional(),
|
|
26810
|
+
/**
|
|
26811
|
+
* Same crop as a data-plane URL. `getPlateByTrack` returns this and
|
|
26812
|
+
* never inlines JPEG; `listPlates` still inlines for the admin-ui.
|
|
26813
|
+
*/
|
|
26814
|
+
cropUrl: string().optional()
|
|
26714
26815
|
});
|
|
26715
26816
|
var MediaFileLiteSchema = object({
|
|
26716
26817
|
key: string(),
|
|
@@ -32234,6 +32335,12 @@ Object.freeze({
|
|
|
32234
32335
|
addonId: null,
|
|
32235
32336
|
access: "view"
|
|
32236
32337
|
},
|
|
32338
|
+
"deviceManager.getBindingsBatch": {
|
|
32339
|
+
capName: "device-manager",
|
|
32340
|
+
capScope: "system",
|
|
32341
|
+
addonId: null,
|
|
32342
|
+
access: "view"
|
|
32343
|
+
},
|
|
32237
32344
|
"deviceManager.getChildren": {
|
|
32238
32345
|
capName: "device-manager",
|
|
32239
32346
|
capScope: "system",
|
|
@@ -32294,6 +32401,12 @@ Object.freeze({
|
|
|
32294
32401
|
addonId: null,
|
|
32295
32402
|
access: "view"
|
|
32296
32403
|
},
|
|
32404
|
+
"deviceManager.getLinkedDevicesBatch": {
|
|
32405
|
+
capName: "device-manager",
|
|
32406
|
+
capScope: "system",
|
|
32407
|
+
addonId: null,
|
|
32408
|
+
access: "view"
|
|
32409
|
+
},
|
|
32297
32410
|
"deviceManager.getRoleDisplayDefaults": {
|
|
32298
32411
|
capName: "device-manager",
|
|
32299
32412
|
capScope: "system",
|
|
@@ -34064,6 +34177,12 @@ Object.freeze({
|
|
|
34064
34177
|
addonId: null,
|
|
34065
34178
|
access: "view"
|
|
34066
34179
|
},
|
|
34180
|
+
"pipelineAnalytics.getGroup": {
|
|
34181
|
+
capName: "pipeline-analytics",
|
|
34182
|
+
capScope: "device",
|
|
34183
|
+
addonId: null,
|
|
34184
|
+
access: "view"
|
|
34185
|
+
},
|
|
34067
34186
|
"pipelineAnalytics.getKeyEvents": {
|
|
34068
34187
|
capName: "pipeline-analytics",
|
|
34069
34188
|
capScope: "device",
|
|
@@ -34148,6 +34267,12 @@ Object.freeze({
|
|
|
34148
34267
|
addonId: null,
|
|
34149
34268
|
access: "view"
|
|
34150
34269
|
},
|
|
34270
|
+
"pipelineAnalytics.listGroups": {
|
|
34271
|
+
capName: "pipeline-analytics",
|
|
34272
|
+
capScope: "device",
|
|
34273
|
+
addonId: null,
|
|
34274
|
+
access: "view"
|
|
34275
|
+
},
|
|
34151
34276
|
"pipelineAnalytics.listOpsLog": {
|
|
34152
34277
|
capName: "pipeline-analytics",
|
|
34153
34278
|
capScope: "device",
|
|
@@ -36929,6 +37054,11 @@ Object.freeze({
|
|
|
36929
37054
|
form: "single",
|
|
36930
37055
|
optional: false
|
|
36931
37056
|
}],
|
|
37057
|
+
"deviceManager.getBindingsBatch": [{
|
|
37058
|
+
name: "deviceIds",
|
|
37059
|
+
form: "array",
|
|
37060
|
+
optional: false
|
|
37061
|
+
}],
|
|
36932
37062
|
"deviceManager.getChildren": [{
|
|
36933
37063
|
name: "parentDeviceId",
|
|
36934
37064
|
form: "single",
|
|
@@ -36974,6 +37104,11 @@ Object.freeze({
|
|
|
36974
37104
|
form: "single",
|
|
36975
37105
|
optional: false
|
|
36976
37106
|
}],
|
|
37107
|
+
"deviceManager.getLinkedDevicesBatch": [{
|
|
37108
|
+
name: "deviceIds",
|
|
37109
|
+
form: "array",
|
|
37110
|
+
optional: false
|
|
37111
|
+
}],
|
|
36977
37112
|
"deviceManager.getSettingsSchema": [{
|
|
36978
37113
|
name: "deviceId",
|
|
36979
37114
|
form: "single",
|
|
@@ -36994,6 +37129,11 @@ Object.freeze({
|
|
|
36994
37129
|
form: "single",
|
|
36995
37130
|
optional: false
|
|
36996
37131
|
}],
|
|
37132
|
+
"deviceManager.listAll": [{
|
|
37133
|
+
name: "deviceIds",
|
|
37134
|
+
form: "array",
|
|
37135
|
+
optional: true
|
|
37136
|
+
}],
|
|
36997
37137
|
"deviceManager.loadConfig": [{
|
|
36998
37138
|
name: "deviceId",
|
|
36999
37139
|
form: "single",
|
|
@@ -37567,6 +37707,11 @@ Object.freeze({
|
|
|
37567
37707
|
form: "single",
|
|
37568
37708
|
optional: false
|
|
37569
37709
|
}],
|
|
37710
|
+
"pipelineAnalytics.getGroup": [{
|
|
37711
|
+
name: "deviceId",
|
|
37712
|
+
form: "single",
|
|
37713
|
+
optional: false
|
|
37714
|
+
}],
|
|
37570
37715
|
"pipelineAnalytics.getKeyEvents": [{
|
|
37571
37716
|
name: "deviceId",
|
|
37572
37717
|
form: "single",
|
|
@@ -37622,6 +37767,11 @@ Object.freeze({
|
|
|
37622
37767
|
form: "array",
|
|
37623
37768
|
optional: false
|
|
37624
37769
|
}],
|
|
37770
|
+
"pipelineAnalytics.listGroups": [{
|
|
37771
|
+
name: "deviceIds",
|
|
37772
|
+
form: "array",
|
|
37773
|
+
optional: false
|
|
37774
|
+
}],
|
|
37625
37775
|
"pipelineAnalytics.listOpsLog": [{
|
|
37626
37776
|
name: "deviceId",
|
|
37627
37777
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -6785,6 +6785,13 @@ var BaseAddon = class {
|
|
|
6785
6785
|
_readinessGeneration = typeof crypto !== "undefined" && crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).slice(2, 14);
|
|
6786
6786
|
/** Capability names this addon registered at init — used to emit matching `down` events on shutdown. */
|
|
6787
6787
|
_registeredCapNames = [];
|
|
6788
|
+
/**
|
|
6789
|
+
* True only after `readAddonStore` actually answered. Constructor
|
|
6790
|
+
* defaults look like stored config when the store is down — a forked
|
|
6791
|
+
* addon that auto-starts from those defaults (cloudflare-tunnel quick
|
|
6792
|
+
* mode, 2026-08-25) is not "the operator chose this".
|
|
6793
|
+
*/
|
|
6794
|
+
settingsStoreReady = false;
|
|
6788
6795
|
/** Default config values. Provided via constructor. */
|
|
6789
6796
|
defaults;
|
|
6790
6797
|
constructor(defaults) {
|
|
@@ -7185,7 +7192,9 @@ var BaseAddon = class {
|
|
|
7185
7192
|
];
|
|
7186
7193
|
let lastErr;
|
|
7187
7194
|
for (let attempt = 0; attempt <= delaysMs.length; attempt++) try {
|
|
7188
|
-
|
|
7195
|
+
const stored = await settings.readAddonStore() ?? {};
|
|
7196
|
+
this.settingsStoreReady = true;
|
|
7197
|
+
return stored;
|
|
7189
7198
|
} catch (err) {
|
|
7190
7199
|
lastErr = err;
|
|
7191
7200
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -7193,6 +7202,7 @@ var BaseAddon = class {
|
|
|
7193
7202
|
if (attempt === delaysMs.length) break;
|
|
7194
7203
|
await new Promise((r) => setTimeout(r, delaysMs[attempt]));
|
|
7195
7204
|
}
|
|
7205
|
+
this.settingsStoreReady = false;
|
|
7196
7206
|
this._ctx?.logger?.warn?.("readAddonStore: settings-store unavailable after retries — using defaults", { meta: { error: lastErr instanceof Error ? lastErr.message : String(lastErr) } });
|
|
7197
7207
|
return {};
|
|
7198
7208
|
}
|
|
@@ -9096,6 +9106,12 @@ var ModelVariantGroupSchema = object({
|
|
|
9096
9106
|
*/
|
|
9097
9107
|
resolution: number().int().positive().optional()
|
|
9098
9108
|
});
|
|
9109
|
+
var ModelProviderIdSchema = _enum([
|
|
9110
|
+
"camstack",
|
|
9111
|
+
"frigate",
|
|
9112
|
+
"scrypted",
|
|
9113
|
+
"custom"
|
|
9114
|
+
]);
|
|
9099
9115
|
var ModelCatalogEntrySchema = object({
|
|
9100
9116
|
id: string(),
|
|
9101
9117
|
name: string(),
|
|
@@ -9193,6 +9209,12 @@ var ModelCatalogEntrySchema = object({
|
|
|
9193
9209
|
*/
|
|
9194
9210
|
group: ModelVariantGroupSchema.optional(),
|
|
9195
9211
|
/**
|
|
9212
|
+
* Catalog source for the pipeline stepper's provider-first picker. Absent on
|
|
9213
|
+
* built-in CamStack entries (treated as `camstack`) and on registry rows
|
|
9214
|
+
* persisted before this field existed (`inferModelProvider` fills those).
|
|
9215
|
+
*/
|
|
9216
|
+
provider: ModelProviderIdSchema.optional(),
|
|
9217
|
+
/**
|
|
9196
9218
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
9197
9219
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
9198
9220
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
@@ -12984,6 +13006,27 @@ var LinkedDeviceSchema = object({
|
|
|
12984
13006
|
features: array(string()),
|
|
12985
13007
|
producesTrackedEvents: boolean().optional()
|
|
12986
13008
|
});
|
|
13009
|
+
/** One camera's resolved linked set, tagged with the camera it belongs to.
|
|
13010
|
+
* The batch answer needs the tag; the single-device answer already has it
|
|
13011
|
+
* from the input, which is why `getLinkedDevices` keeps the untagged shape. */
|
|
13012
|
+
var LinkedDevicesForDeviceSchema = object({
|
|
13013
|
+
deviceId: number(),
|
|
13014
|
+
mode: LinkedDevicesModeSchema,
|
|
13015
|
+
devices: array(LinkedDeviceSchema)
|
|
13016
|
+
});
|
|
13017
|
+
/** One device's binding map — the shape `getBindings`, `getBindingsBatch` and
|
|
13018
|
+
* `getAllBindings` all answer in. Declared once: three copies of the same
|
|
13019
|
+
* object literal is exactly how the three drift apart. */
|
|
13020
|
+
var DeviceBindingsForDeviceSchema = object({
|
|
13021
|
+
deviceId: number(),
|
|
13022
|
+
entries: array(object({
|
|
13023
|
+
capName: string(),
|
|
13024
|
+
kind: _enum(["native", "wrapped"]),
|
|
13025
|
+
providerAddonId: string(),
|
|
13026
|
+
providerNodeId: string(),
|
|
13027
|
+
nativeAddonId: string()
|
|
13028
|
+
}))
|
|
13029
|
+
});
|
|
12987
13030
|
var SavedDeviceRowSchema = object({
|
|
12988
13031
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
12989
13032
|
id: number(),
|
|
@@ -13209,11 +13252,25 @@ method(object({
|
|
|
13209
13252
|
projection: _enum(["full", "slim"]).optional(),
|
|
13210
13253
|
/** Return only camera devices. Filtering server-side instead of
|
|
13211
13254
|
* shipping 293 rows to find 12. */
|
|
13212
|
-
isCamera: boolean().optional()
|
|
13255
|
+
isCamera: boolean().optional(),
|
|
13256
|
+
/**
|
|
13257
|
+
* Return only these device ids. For the caller that already KNOWS the
|
|
13258
|
+
* handful it wants and needs a field the id-bearing answer does not
|
|
13259
|
+
* carry — the viewer's linked-devices panel joins `type` and `online`
|
|
13260
|
+
* onto ~8 linked ids and, unfiltered, dragged the fleet across to do
|
|
13261
|
+
* it: 433 KB slim / 958 KB full for 967 devices, on a query that
|
|
13262
|
+
* refetches on the reconcile interval, on a phone.
|
|
13263
|
+
*
|
|
13264
|
+
* Safe to send at a hub that predates it: Zod STRIPS unknown input
|
|
13265
|
+
* keys rather than rejecting them (verified against the live hub
|
|
13266
|
+
* 2026-08-25 — 967 rows came back), so an old hub answers exactly what
|
|
13267
|
+
* it answers today and the caller filters as it already does.
|
|
13268
|
+
*/
|
|
13269
|
+
deviceIds: array(number()).optional()
|
|
13213
13270
|
}), array(DeviceInfoSchema)), method(object({ deviceId: number() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), object({
|
|
13214
13271
|
mode: LinkedDevicesModeSchema,
|
|
13215
13272
|
devices: array(LinkedDeviceSchema)
|
|
13216
|
-
})), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
13273
|
+
})), method(object({ deviceIds: array(number()) }), array(LinkedDevicesForDeviceSchema)), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
13217
13274
|
deviceId: number(),
|
|
13218
13275
|
values: record(string(), unknown())
|
|
13219
13276
|
}), object({ success: literal(true) }), {
|
|
@@ -13240,25 +13297,7 @@ method(object({
|
|
|
13240
13297
|
}), method(object({ deviceId: number() }), array(StreamProbeResultSchema), {
|
|
13241
13298
|
kind: "mutation",
|
|
13242
13299
|
auth: "admin"
|
|
13243
|
-
}), method(object({ deviceId: number() }), object({
|
|
13244
|
-
deviceId: number(),
|
|
13245
|
-
entries: array(object({
|
|
13246
|
-
capName: string(),
|
|
13247
|
-
kind: _enum(["native", "wrapped"]),
|
|
13248
|
-
providerAddonId: string(),
|
|
13249
|
-
providerNodeId: string(),
|
|
13250
|
-
nativeAddonId: string()
|
|
13251
|
-
}))
|
|
13252
|
-
})), method(object({}), array(object({
|
|
13253
|
-
deviceId: number(),
|
|
13254
|
-
entries: array(object({
|
|
13255
|
-
capName: string(),
|
|
13256
|
-
kind: _enum(["native", "wrapped"]),
|
|
13257
|
-
providerAddonId: string(),
|
|
13258
|
-
providerNodeId: string(),
|
|
13259
|
-
nativeAddonId: string()
|
|
13260
|
-
}))
|
|
13261
|
-
}))), method(object({
|
|
13300
|
+
}), method(object({ deviceId: number() }), DeviceBindingsForDeviceSchema), method(object({ deviceIds: array(number()) }), array(DeviceBindingsForDeviceSchema)), method(object({}), array(DeviceBindingsForDeviceSchema)), method(object({
|
|
13262
13301
|
deviceId: number(),
|
|
13263
13302
|
capName: string(),
|
|
13264
13303
|
wrapperAddonId: string(),
|
|
@@ -15668,12 +15707,15 @@ var NcOccupancyConditionSchema = object({
|
|
|
15668
15707
|
* there is no second switch that can disagree with the first and every rule
|
|
15669
15708
|
* authored before the decision migrates for free (`audioModeOf`):
|
|
15670
15709
|
*
|
|
15671
|
-
* - **LABEL mode — `labels` present.** The rule fires
|
|
15672
|
-
*
|
|
15673
|
-
* `hitPercent` and `samplingSeconds` are ignored
|
|
15674
|
-
*
|
|
15675
|
-
*
|
|
15676
|
-
*
|
|
15710
|
+
* - **LABEL mode — `labels` present.** The rule fires when `confirmHits`
|
|
15711
|
+
* labelled frames land inside `confirmWindowSec` (default 2 in 5 s).
|
|
15712
|
+
* `hitPercent` and `samplingSeconds` are still ignored — a percentage of
|
|
15713
|
+
* frames is the wrong question for a classifier that labels 1–3 frames
|
|
15714
|
+
* per episode. The count window is the brake that drops a single-frame
|
|
15715
|
+
* false positive; the rule's own `throttle` cooldown is the other. The
|
|
15716
|
+
* per-label confidence floor is the analyzer's (`classificationMinScore`,
|
|
15717
|
+
* per device) — a label only reaches this condition if the classifier was
|
|
15718
|
+
* already confident enough. `confirmHits: 1` restores first-frame fire.
|
|
15677
15719
|
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
15678
15720
|
* the condition: at least `hitPercent`% of the samples over
|
|
15679
15721
|
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
@@ -15700,14 +15742,22 @@ var NcOccupancyConditionSchema = object({
|
|
|
15700
15742
|
* an operator who typed `dog` mean the same thing.
|
|
15701
15743
|
*/
|
|
15702
15744
|
var NcAudioConditionSchema = object({
|
|
15703
|
-
/** LABEL MODE: audio macro labels. Present ⇒
|
|
15745
|
+
/** LABEL MODE: audio macro labels. Present ⇒ count-in-window confirm. */
|
|
15704
15746
|
labels: array(string().min(1)).min(1).optional(),
|
|
15705
15747
|
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
15706
15748
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
15707
15749
|
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
15708
15750
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
15709
15751
|
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
15710
|
-
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
15752
|
+
samplingSeconds: number().int().min(1).max(300).default(10),
|
|
15753
|
+
/**
|
|
15754
|
+
* LABEL MODE: how many labelled frames must land inside
|
|
15755
|
+
* {@link NcAudioConditionSchema.shape.confirmWindowSec} before dispatch.
|
|
15756
|
+
* Absent ⇒ 2 (the matcher default). `1` is first-frame fire.
|
|
15757
|
+
*/
|
|
15758
|
+
confirmHits: number().int().min(1).max(20).optional(),
|
|
15759
|
+
/** LABEL MODE: the window those frames must share, in seconds. Absent ⇒ 5. */
|
|
15760
|
+
confirmWindowSec: number().int().min(1).max(60).optional()
|
|
15711
15761
|
});
|
|
15712
15762
|
/**
|
|
15713
15763
|
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
@@ -18081,6 +18131,46 @@ var RecentTracksPageSchema = object({
|
|
|
18081
18131
|
/** Cursor for the next page, or null when this page is the last. */
|
|
18082
18132
|
nextCursor: string().nullable()
|
|
18083
18133
|
});
|
|
18134
|
+
var LIST_GROUPS_DEFAULT_LIMIT = 40;
|
|
18135
|
+
var LIST_GROUPS_MAX_LIMIT = 100;
|
|
18136
|
+
var AnalyticsGroupRecordSchema = object({
|
|
18137
|
+
id: string(),
|
|
18138
|
+
deviceId: number().int(),
|
|
18139
|
+
openedAt: number().int(),
|
|
18140
|
+
closedAt: number().int(),
|
|
18141
|
+
timestamp: number().int(),
|
|
18142
|
+
memberCount: number().int(),
|
|
18143
|
+
memberTrackIds: array(string()).readonly(),
|
|
18144
|
+
className: string(),
|
|
18145
|
+
classes: array(string()).readonly(),
|
|
18146
|
+
/** Relative event-media path, or null when the group has no picture yet. */
|
|
18147
|
+
mediaUrl: string().nullable(),
|
|
18148
|
+
singleton: boolean()
|
|
18149
|
+
});
|
|
18150
|
+
var AnalyticsGroupMemberSchema = object({
|
|
18151
|
+
trackId: string(),
|
|
18152
|
+
deviceId: number().int(),
|
|
18153
|
+
className: string(),
|
|
18154
|
+
firstSeen: number().int(),
|
|
18155
|
+
lastSeen: number().int(),
|
|
18156
|
+
mediaUrl: string().nullable()
|
|
18157
|
+
});
|
|
18158
|
+
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
18159
|
+
var ListGroupsQueryInput = object({
|
|
18160
|
+
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
18161
|
+
deviceIds: array(number()),
|
|
18162
|
+
/** Window lower bound on `closedAt` (inclusive). */
|
|
18163
|
+
since: number().optional(),
|
|
18164
|
+
/** Window upper bound on `openedAt` (inclusive). */
|
|
18165
|
+
until: number().optional(),
|
|
18166
|
+
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
18167
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
18168
|
+
cursor: string().optional()
|
|
18169
|
+
});
|
|
18170
|
+
var ListGroupsPageSchema = object({
|
|
18171
|
+
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18172
|
+
nextCursor: string().nullable()
|
|
18173
|
+
});
|
|
18084
18174
|
var KeyEventQueryInput = object({
|
|
18085
18175
|
deviceId: number(),
|
|
18086
18176
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
@@ -18156,7 +18246,9 @@ var TrackCascadeCountsSchema = object({
|
|
|
18156
18246
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
18157
18247
|
plates: number().int(),
|
|
18158
18248
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
18159
|
-
embeddings: number().int()
|
|
18249
|
+
embeddings: number().int(),
|
|
18250
|
+
/** Group membership + group rows removed with their last member (best-effort). */
|
|
18251
|
+
groups: number().int()
|
|
18160
18252
|
});
|
|
18161
18253
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
18162
18254
|
var DiskReconcileCountsSchema = object({
|
|
@@ -18302,7 +18394,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18302
18394
|
* stationary registry). Default false: the timeline lists passages,
|
|
18303
18395
|
* not parking records (operator decision, 2026-08-15). */
|
|
18304
18396
|
includeStationary: boolean().optional()
|
|
18305
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
18397
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
|
|
18398
|
+
deviceId: number(),
|
|
18399
|
+
groupId: string().min(1)
|
|
18400
|
+
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18306
18401
|
kind: "mutation",
|
|
18307
18402
|
auth: "admin"
|
|
18308
18403
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -18612,7 +18707,8 @@ var PipelineModelOptionSchema = object({
|
|
|
18612
18707
|
sizeMB: number()
|
|
18613
18708
|
})),
|
|
18614
18709
|
group: ModelVariantGroupSchema.optional(),
|
|
18615
|
-
legacy: boolean().optional()
|
|
18710
|
+
legacy: boolean().optional(),
|
|
18711
|
+
provider: ModelProviderIdSchema.optional()
|
|
18616
18712
|
});
|
|
18617
18713
|
var ConfigFieldBridge = custom();
|
|
18618
18714
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -26709,7 +26805,12 @@ var PlateInfoSchema = object({
|
|
|
26709
26805
|
plateBbox: BoundingBoxSchema.optional(),
|
|
26710
26806
|
/** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
|
|
26711
26807
|
keyFrameMediaKey: string().optional(),
|
|
26712
|
-
base64: string().optional()
|
|
26808
|
+
base64: string().optional(),
|
|
26809
|
+
/**
|
|
26810
|
+
* Same crop as a data-plane URL. `getPlateByTrack` returns this and
|
|
26811
|
+
* never inlines JPEG; `listPlates` still inlines for the admin-ui.
|
|
26812
|
+
*/
|
|
26813
|
+
cropUrl: string().optional()
|
|
26713
26814
|
});
|
|
26714
26815
|
var MediaFileLiteSchema = object({
|
|
26715
26816
|
key: string(),
|
|
@@ -32233,6 +32334,12 @@ Object.freeze({
|
|
|
32233
32334
|
addonId: null,
|
|
32234
32335
|
access: "view"
|
|
32235
32336
|
},
|
|
32337
|
+
"deviceManager.getBindingsBatch": {
|
|
32338
|
+
capName: "device-manager",
|
|
32339
|
+
capScope: "system",
|
|
32340
|
+
addonId: null,
|
|
32341
|
+
access: "view"
|
|
32342
|
+
},
|
|
32236
32343
|
"deviceManager.getChildren": {
|
|
32237
32344
|
capName: "device-manager",
|
|
32238
32345
|
capScope: "system",
|
|
@@ -32293,6 +32400,12 @@ Object.freeze({
|
|
|
32293
32400
|
addonId: null,
|
|
32294
32401
|
access: "view"
|
|
32295
32402
|
},
|
|
32403
|
+
"deviceManager.getLinkedDevicesBatch": {
|
|
32404
|
+
capName: "device-manager",
|
|
32405
|
+
capScope: "system",
|
|
32406
|
+
addonId: null,
|
|
32407
|
+
access: "view"
|
|
32408
|
+
},
|
|
32296
32409
|
"deviceManager.getRoleDisplayDefaults": {
|
|
32297
32410
|
capName: "device-manager",
|
|
32298
32411
|
capScope: "system",
|
|
@@ -34063,6 +34176,12 @@ Object.freeze({
|
|
|
34063
34176
|
addonId: null,
|
|
34064
34177
|
access: "view"
|
|
34065
34178
|
},
|
|
34179
|
+
"pipelineAnalytics.getGroup": {
|
|
34180
|
+
capName: "pipeline-analytics",
|
|
34181
|
+
capScope: "device",
|
|
34182
|
+
addonId: null,
|
|
34183
|
+
access: "view"
|
|
34184
|
+
},
|
|
34066
34185
|
"pipelineAnalytics.getKeyEvents": {
|
|
34067
34186
|
capName: "pipeline-analytics",
|
|
34068
34187
|
capScope: "device",
|
|
@@ -34147,6 +34266,12 @@ Object.freeze({
|
|
|
34147
34266
|
addonId: null,
|
|
34148
34267
|
access: "view"
|
|
34149
34268
|
},
|
|
34269
|
+
"pipelineAnalytics.listGroups": {
|
|
34270
|
+
capName: "pipeline-analytics",
|
|
34271
|
+
capScope: "device",
|
|
34272
|
+
addonId: null,
|
|
34273
|
+
access: "view"
|
|
34274
|
+
},
|
|
34150
34275
|
"pipelineAnalytics.listOpsLog": {
|
|
34151
34276
|
capName: "pipeline-analytics",
|
|
34152
34277
|
capScope: "device",
|
|
@@ -36928,6 +37053,11 @@ Object.freeze({
|
|
|
36928
37053
|
form: "single",
|
|
36929
37054
|
optional: false
|
|
36930
37055
|
}],
|
|
37056
|
+
"deviceManager.getBindingsBatch": [{
|
|
37057
|
+
name: "deviceIds",
|
|
37058
|
+
form: "array",
|
|
37059
|
+
optional: false
|
|
37060
|
+
}],
|
|
36931
37061
|
"deviceManager.getChildren": [{
|
|
36932
37062
|
name: "parentDeviceId",
|
|
36933
37063
|
form: "single",
|
|
@@ -36973,6 +37103,11 @@ Object.freeze({
|
|
|
36973
37103
|
form: "single",
|
|
36974
37104
|
optional: false
|
|
36975
37105
|
}],
|
|
37106
|
+
"deviceManager.getLinkedDevicesBatch": [{
|
|
37107
|
+
name: "deviceIds",
|
|
37108
|
+
form: "array",
|
|
37109
|
+
optional: false
|
|
37110
|
+
}],
|
|
36976
37111
|
"deviceManager.getSettingsSchema": [{
|
|
36977
37112
|
name: "deviceId",
|
|
36978
37113
|
form: "single",
|
|
@@ -36993,6 +37128,11 @@ Object.freeze({
|
|
|
36993
37128
|
form: "single",
|
|
36994
37129
|
optional: false
|
|
36995
37130
|
}],
|
|
37131
|
+
"deviceManager.listAll": [{
|
|
37132
|
+
name: "deviceIds",
|
|
37133
|
+
form: "array",
|
|
37134
|
+
optional: true
|
|
37135
|
+
}],
|
|
36996
37136
|
"deviceManager.loadConfig": [{
|
|
36997
37137
|
name: "deviceId",
|
|
36998
37138
|
form: "single",
|
|
@@ -37566,6 +37706,11 @@ Object.freeze({
|
|
|
37566
37706
|
form: "single",
|
|
37567
37707
|
optional: false
|
|
37568
37708
|
}],
|
|
37709
|
+
"pipelineAnalytics.getGroup": [{
|
|
37710
|
+
name: "deviceId",
|
|
37711
|
+
form: "single",
|
|
37712
|
+
optional: false
|
|
37713
|
+
}],
|
|
37569
37714
|
"pipelineAnalytics.getKeyEvents": [{
|
|
37570
37715
|
name: "deviceId",
|
|
37571
37716
|
form: "single",
|
|
@@ -37621,6 +37766,11 @@ Object.freeze({
|
|
|
37621
37766
|
form: "array",
|
|
37622
37767
|
optional: false
|
|
37623
37768
|
}],
|
|
37769
|
+
"pipelineAnalytics.listGroups": [{
|
|
37770
|
+
name: "deviceIds",
|
|
37771
|
+
form: "array",
|
|
37772
|
+
optional: false
|
|
37773
|
+
}],
|
|
37624
37774
|
"pipelineAnalytics.listOpsLog": [{
|
|
37625
37775
|
name: "deviceId",
|
|
37626
37776
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.27",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|