@camstack/addon-model-studio 1.1.128 → 1.1.130
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/{MotionZonesSettings-Y4BOcwCT.mjs → MotionZonesSettings-C0ZZHN5q.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-D0dMH34n.mjs → PrivacyMaskSettings-D4uGl7zT.mjs} +4 -4
- package/dist/{SceneMonitorEditor-iS9jtSJq.mjs → SceneMonitorEditor-BKYzMLFb.mjs} +258 -255
- package/dist/_stub.js +10 -10
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DStSHZb_.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CGKDpBk2.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CXCz80XV.mjs +26 -0
- package/dist/{hostInit-s1JYi2jS.mjs → hostInit-BihGjZ1F.mjs} +3 -3
- package/dist/model-studio.addon.js +292 -58
- package/dist/model-studio.addon.mjs +292 -58
- package/dist/{player-overlays-q0vtmqkn.mjs → player-overlays-CMrYqFCL.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DNXbYsNH.mjs → responsive-JVBuLbSa.mjs} +3 -3
- package/dist/{square-CvCVejCK.mjs → square-BCP4gOno.mjs} +1 -1
- package/dist/{trash-2-pcumgheo.mjs → trash-2-CeqN21XB.mjs} +1 -1
- package/dist/{use-device-snapshot-BKYQa7fa.mjs → use-device-snapshot-UOdeTQpP.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CNgFCxL8.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-B5isrrh9.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CO-CV0SJ.mjs +0 -26
|
@@ -502,7 +502,7 @@ async function importScryptedCatalogModel(input, deps) {
|
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
//#endregion
|
|
505
|
-
//#region ../types/dist/event-category-
|
|
505
|
+
//#region ../types/dist/event-category-ZyX6jcse.mjs
|
|
506
506
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
507
507
|
EventCategory["SystemBoot"] = "system.boot";
|
|
508
508
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1063,7 +1063,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1063
1063
|
* a package zone — a newly-appeared stationary object of a package class
|
|
1064
1064
|
* that cleared the class / zone / dwell / size gates. Payload:
|
|
1065
1065
|
* `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
|
|
1066
|
-
* entryId, className, zoneIds,
|
|
1066
|
+
* entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
|
|
1067
1067
|
* Telemetry (D8): the durable record is the `package-events` store row;
|
|
1068
1068
|
* this bus topic drives notifier rules + live UI. See
|
|
1069
1069
|
* docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
|
|
@@ -5849,7 +5849,7 @@ var ZodIssueCode = {
|
|
|
5849
5849
|
var ZodFirstPartyTypeKind;
|
|
5850
5850
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5851
5851
|
//#endregion
|
|
5852
|
-
//#region ../types/dist/sleep-
|
|
5852
|
+
//#region ../types/dist/sleep-DBKu2-U5.mjs
|
|
5853
5853
|
/**
|
|
5854
5854
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5855
5855
|
* window to float samples (D455).
|
|
@@ -7859,13 +7859,30 @@ new Set([
|
|
|
7859
7859
|
"scene",
|
|
7860
7860
|
"motion",
|
|
7861
7861
|
"object",
|
|
7862
|
-
"audio"
|
|
7862
|
+
"audio",
|
|
7863
|
+
"mosaic"
|
|
7863
7864
|
]);
|
|
7864
|
-
|
|
7865
|
+
/**
|
|
7866
|
+
* The owner types that are event tables, in the order the event-media resolver
|
|
7867
|
+
* should consider them. Exported so a consumer asking "is this key an event?"
|
|
7868
|
+
* does not re-spell the list and drift from it.
|
|
7869
|
+
*/
|
|
7870
|
+
var EVENT_OWNER_TYPES = [
|
|
7865
7871
|
"motion",
|
|
7866
7872
|
"object",
|
|
7867
7873
|
"audio"
|
|
7868
|
-
]
|
|
7874
|
+
];
|
|
7875
|
+
/**
|
|
7876
|
+
* The same list as a Zod enum, for the cap inputs that must NAME the table
|
|
7877
|
+
* (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
|
|
7878
|
+
* `(table, id)`).
|
|
7879
|
+
*
|
|
7880
|
+
* Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
|
|
7881
|
+
* table would otherwise be accepted by the codec and refused at the door, with
|
|
7882
|
+
* nothing failing until a caller asked.
|
|
7883
|
+
*/
|
|
7884
|
+
var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
|
|
7885
|
+
new Set(EVENT_OWNER_TYPES);
|
|
7869
7886
|
var EncodeProfileSchema = object({
|
|
7870
7887
|
video: object({
|
|
7871
7888
|
codec: _enum([
|
|
@@ -7904,7 +7921,23 @@ var EncodeProfileSchema = object({
|
|
|
7904
7921
|
"zerolatency",
|
|
7905
7922
|
"film",
|
|
7906
7923
|
"animation"
|
|
7907
|
-
]).optional()
|
|
7924
|
+
]).optional(),
|
|
7925
|
+
/**
|
|
7926
|
+
* ONE slice per access unit.
|
|
7927
|
+
*
|
|
7928
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
7929
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
7930
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
7931
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
7932
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
7933
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
7934
|
+
*
|
|
7935
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
7936
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
7937
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
7938
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
7939
|
+
*/
|
|
7940
|
+
singleSlicePerFrame: boolean().optional()
|
|
7908
7941
|
}),
|
|
7909
7942
|
audio: union([literal("passthrough"), object({
|
|
7910
7943
|
codec: _enum([
|
|
@@ -7954,7 +7987,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
7954
7987
|
audio: "passthrough"
|
|
7955
7988
|
};
|
|
7956
7989
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7957
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
7990
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7958
7991
|
/**
|
|
7959
7992
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
7960
7993
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -13018,6 +13051,16 @@ method(object({
|
|
|
13018
13051
|
filter: QueryFilterSchema.optional(),
|
|
13019
13052
|
columns: array(string()).readonly().optional()
|
|
13020
13053
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
13054
|
+
namespace: string().optional(),
|
|
13055
|
+
collection: string(),
|
|
13056
|
+
/** Declared columns identifying the slot; must be covered by a UNIQUE
|
|
13057
|
+
* index on the collection. Never empty. */
|
|
13058
|
+
conflict: array(string()).readonly(),
|
|
13059
|
+
record: BulkRecordSchema
|
|
13060
|
+
}), object({
|
|
13061
|
+
/** The id the row HAS: assigned by SQLite on an insert, or the existing
|
|
13062
|
+
* row's own id on an update. */
|
|
13063
|
+
id: union([string(), number()]) }), { kind: "mutation" }), method(object({
|
|
13021
13064
|
namespace: string().optional(),
|
|
13022
13065
|
collection: string(),
|
|
13023
13066
|
record: object({
|
|
@@ -13152,6 +13195,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
13152
13195
|
id: union([string(), number()]) }), {
|
|
13153
13196
|
kind: "mutation",
|
|
13154
13197
|
auth: "admin"
|
|
13198
|
+
}), method(object({
|
|
13199
|
+
namespace: string().optional(),
|
|
13200
|
+
collection: string(),
|
|
13201
|
+
conflict: array(string()).readonly(),
|
|
13202
|
+
record: BulkRecordSchema
|
|
13203
|
+
}), object({ id: union([string(), number()]) }), {
|
|
13204
|
+
kind: "mutation",
|
|
13205
|
+
auth: "admin"
|
|
13155
13206
|
}), method(object({
|
|
13156
13207
|
namespace: string().optional(),
|
|
13157
13208
|
collection: string(),
|
|
@@ -19374,8 +19425,8 @@ var TrackPositionSchema = object({
|
|
|
19374
19425
|
var TrackSnapshotSchema = object({
|
|
19375
19426
|
timestamp: number(),
|
|
19376
19427
|
position: TrackPositionSchema,
|
|
19377
|
-
/**
|
|
19378
|
-
|
|
19428
|
+
/** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
|
|
19429
|
+
mediaId: number().int()
|
|
19379
19430
|
});
|
|
19380
19431
|
/**
|
|
19381
19432
|
* Normalized 0..1 trajectory envelope (min/max over every position bbox,
|
|
@@ -19979,14 +20030,14 @@ var ObjectEventSchema = object({
|
|
|
19979
20030
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
19980
20031
|
frameWidth: number().optional(),
|
|
19981
20032
|
frameHeight: number().optional(),
|
|
19982
|
-
/**
|
|
19983
|
-
|
|
19984
|
-
/** Design B:
|
|
20033
|
+
/** Media row id of the crop attached to this event (if any) — D482. */
|
|
20034
|
+
mediaId: number().int().optional(),
|
|
20035
|
+
/** Design B: media row id of the track's native-resolution key frame (the
|
|
19985
20036
|
* best-detection full frame). Resolve via the event-media data-plane
|
|
19986
|
-
* (`/addon/<addonId>/event-media/<
|
|
20037
|
+
* (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
|
|
19987
20038
|
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
19988
|
-
* sources — consumers fall back to `
|
|
19989
|
-
|
|
20039
|
+
* sources — consumers fall back to `mediaId` (the tight crop). */
|
|
20040
|
+
keyFrameMediaId: number().int().optional(),
|
|
19990
20041
|
/** Populated by B5 (recording playback URL for this event). */
|
|
19991
20042
|
mediaUrl: string().optional(),
|
|
19992
20043
|
/** The parent track's key-event importance [0,1], propagated to every object
|
|
@@ -20036,7 +20087,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20036
20087
|
* hub-main's heap on the way past — for an `<img>` that would have cached it.
|
|
20037
20088
|
*
|
|
20038
20089
|
* `url` points at the `event-media` data plane
|
|
20039
|
-
* (`/addon/<addonId>/event-media/<
|
|
20090
|
+
* (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
|
|
20040
20091
|
* with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
|
|
20041
20092
|
* render a `?variant=thumb`, and streams. The hub gate in front of it requires
|
|
20042
20093
|
* a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
|
|
@@ -20044,10 +20095,13 @@ var MediaFileKindEnum = _enum([
|
|
|
20044
20095
|
* `data-plane-access.ts` for the rule and the one gap it does not close
|
|
20045
20096
|
* (per-device scoping).
|
|
20046
20097
|
*
|
|
20047
|
-
* The URL is built from the row's
|
|
20048
|
-
*
|
|
20098
|
+
* The URL is built from the row's own id, which since D482 says nothing about
|
|
20099
|
+
* the row's owner or kind — and that is the point. The published `kind` is not
|
|
20100
|
+
* the stored one (a track's face/plate crop is stored as `crop` under
|
|
20049
20101
|
* `('face'|'plate', '<prefix>-<trackId>')` and published as
|
|
20050
|
-
* `faceCrop`/`plateCrop
|
|
20102
|
+
* `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
|
|
20103
|
+
* taken from `row.key` verbatim or it 404'd exactly those two rows. An id
|
|
20104
|
+
* cannot be mis-reconstructed, because there is nothing in it to reconstruct.
|
|
20051
20105
|
*
|
|
20052
20106
|
* ## `base64` is TRANSITIONAL and is going away
|
|
20053
20107
|
*
|
|
@@ -20060,7 +20114,19 @@ var MediaFileKindEnum = _enum([
|
|
|
20060
20114
|
* `analytics-query-facade.ts`; nothing else reads it.
|
|
20061
20115
|
*/
|
|
20062
20116
|
var MediaFileSchema = object({
|
|
20063
|
-
|
|
20117
|
+
/**
|
|
20118
|
+
* The media row's OWN id — the rowid SQLite assigned it (D482).
|
|
20119
|
+
*
|
|
20120
|
+
* It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
|
|
20121
|
+
* [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
|
|
20122
|
+
* per-table rowid aliases, so `object:101314` and `motion:101314` are two
|
|
20123
|
+
* different rows that spell the same number, and a track whose
|
|
20124
|
+
* `bestEventId` was an object event was served a motion event's snapshot —
|
|
20125
|
+
* a night-time thumbnail on an afternoon track, with no error anywhere. A
|
|
20126
|
+
* surrogate id cannot name the wrong row's owner, because it names no owner
|
|
20127
|
+
* at all.
|
|
20128
|
+
*/
|
|
20129
|
+
mediaId: number().int(),
|
|
20064
20130
|
kind: MediaFileKindEnum,
|
|
20065
20131
|
sizeBytes: number(),
|
|
20066
20132
|
timestamp: number()
|
|
@@ -20168,7 +20234,7 @@ var RetrainTrackSchema = object({
|
|
|
20168
20234
|
});
|
|
20169
20235
|
/** A frame the picker may offer — an index row, no blob was read to produce it. */
|
|
20170
20236
|
var RetrainFrameCandidateSchema = object({
|
|
20171
|
-
|
|
20237
|
+
mediaId: number().int(),
|
|
20172
20238
|
kind: MediaFileKindEnum,
|
|
20173
20239
|
timestamp: number(),
|
|
20174
20240
|
sizeBytes: number().int(),
|
|
@@ -20182,7 +20248,7 @@ var RetrainFrameSchema = object({
|
|
|
20182
20248
|
deviceId: number(),
|
|
20183
20249
|
trackId: string(),
|
|
20184
20250
|
/** Provenance only. It may already point at nothing — that is expected. */
|
|
20185
|
-
|
|
20251
|
+
sourceMediaId: number().int(),
|
|
20186
20252
|
sourceKind: MediaFileKindEnum,
|
|
20187
20253
|
sizeBytes: number().int(),
|
|
20188
20254
|
width: number().int(),
|
|
@@ -20198,7 +20264,7 @@ var RetrainCopyRefusalSchema = _enum([
|
|
|
20198
20264
|
var RetrainFrameSelectionSchema = object({
|
|
20199
20265
|
copied: array(RetrainFrameSchema).readonly(),
|
|
20200
20266
|
refused: array(object({
|
|
20201
|
-
|
|
20267
|
+
sourceMediaId: number().int(),
|
|
20202
20268
|
reason: RetrainCopyRefusalSchema
|
|
20203
20269
|
})).readonly()
|
|
20204
20270
|
});
|
|
@@ -20206,7 +20272,7 @@ var RetrainFrameListSchema = object({
|
|
|
20206
20272
|
candidates: array(RetrainFrameCandidateSchema).readonly(),
|
|
20207
20273
|
copies: array(RetrainFrameSchema).readonly(),
|
|
20208
20274
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
20209
|
-
|
|
20275
|
+
autoPickMediaId: number().int().optional()
|
|
20210
20276
|
});
|
|
20211
20277
|
/** What the operator asked the assist to look for. */
|
|
20212
20278
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
@@ -20301,9 +20367,11 @@ var RecentTracksQueryInput = object({
|
|
|
20301
20367
|
});
|
|
20302
20368
|
/**
|
|
20303
20369
|
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
20304
|
-
* `
|
|
20305
|
-
* served by the event-media plane
|
|
20306
|
-
* member visible has been materialised
|
|
20370
|
+
* `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
|
|
20371
|
+
* 'summary'`, served by the event-media plane at `/m/<id>`), null until the
|
|
20372
|
+
* first frame with a member visible has been materialised (D482 — it was the
|
|
20373
|
+
* row's composite key, which embedded the owner and could name another table's
|
|
20374
|
+
* row once event ids became per-table rowids).
|
|
20307
20375
|
*/
|
|
20308
20376
|
var SummarySchema = object({
|
|
20309
20377
|
id: string(),
|
|
@@ -20312,19 +20380,115 @@ var SummarySchema = object({
|
|
|
20312
20380
|
lastActiveAt: number(),
|
|
20313
20381
|
sealedAt: number().nullable(),
|
|
20314
20382
|
memberCount: number().int().nonnegative(),
|
|
20315
|
-
|
|
20383
|
+
groupShotMediaId: number().int().nullable()
|
|
20316
20384
|
});
|
|
20317
20385
|
var SummariesQueryInput = object({
|
|
20318
20386
|
deviceIds: array(number()).min(1),
|
|
20319
20387
|
since: number().optional(),
|
|
20320
20388
|
until: number().optional(),
|
|
20321
|
-
limit: number().int().min(1).max(200).default(50)
|
|
20389
|
+
limit: number().int().min(1).max(200).default(50),
|
|
20390
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
20391
|
+
* meaning of "dog" on every summary surface. */
|
|
20392
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20322
20393
|
});
|
|
20323
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20324
20394
|
var SummaryDetailSchema = object({
|
|
20325
20395
|
summary: SummarySchema,
|
|
20326
|
-
/**
|
|
20327
|
-
|
|
20396
|
+
/** Members in absorption order, oldest join first. */
|
|
20397
|
+
members: array(object({
|
|
20398
|
+
trackId: string(),
|
|
20399
|
+
/**
|
|
20400
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
20401
|
+
* and the track no longer exists to fill it.
|
|
20402
|
+
*
|
|
20403
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
20404
|
+
* class afterwards, and a group's composition is the history of who came
|
|
20405
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
20406
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
20407
|
+
* drift from the members it claims to describe.
|
|
20408
|
+
*/
|
|
20409
|
+
className: string().nullable(),
|
|
20410
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
20411
|
+
role: _enum([
|
|
20412
|
+
"primary",
|
|
20413
|
+
"sibling",
|
|
20414
|
+
"child"
|
|
20415
|
+
]).nullable(),
|
|
20416
|
+
joinedAt: number(),
|
|
20417
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
20418
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
20419
|
+
label: string().optional(),
|
|
20420
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
20421
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
20422
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
20423
|
+
subLabel: string().optional()
|
|
20424
|
+
})).readonly()
|
|
20425
|
+
});
|
|
20426
|
+
/**
|
|
20427
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
20428
|
+
*
|
|
20429
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
20430
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
20431
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
20432
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
20433
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
20434
|
+
* draw two hundred badges.
|
|
20435
|
+
*/
|
|
20436
|
+
var SummaryListItemSchema = object({
|
|
20437
|
+
summary: SummarySchema,
|
|
20438
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
20439
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
20440
|
+
classes: array(object({
|
|
20441
|
+
className: string().nullable(),
|
|
20442
|
+
count: number().int().positive()
|
|
20443
|
+
})).readonly()
|
|
20444
|
+
});
|
|
20445
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
20446
|
+
/**
|
|
20447
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
20448
|
+
*
|
|
20449
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
20450
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
20451
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
20452
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
20453
|
+
* "newest" means, on one screen.
|
|
20454
|
+
*/
|
|
20455
|
+
var RecentSummariesQueryInput = object({
|
|
20456
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
20457
|
+
deviceIds: array(number()),
|
|
20458
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
20459
|
+
since: number().optional(),
|
|
20460
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
20461
|
+
until: number().optional(),
|
|
20462
|
+
limit: number().int().min(1).max(500).default(100),
|
|
20463
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
20464
|
+
cursor: string().optional(),
|
|
20465
|
+
/**
|
|
20466
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
20467
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
20468
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
20469
|
+
* make the operator's one filter component produce two shapes.
|
|
20470
|
+
*
|
|
20471
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
20472
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
20473
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
20474
|
+
* about its primary.
|
|
20475
|
+
*
|
|
20476
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
20477
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
20478
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
20479
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
20480
|
+
* that read only the class would answer "animal" and never "dog".
|
|
20481
|
+
*
|
|
20482
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
20483
|
+
*/
|
|
20484
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20485
|
+
});
|
|
20486
|
+
var RecentSummariesPageSchema = object({
|
|
20487
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
20488
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
20489
|
+
* whichever feed drew it. */
|
|
20490
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
20491
|
+
nextCursor: string().nullable()
|
|
20328
20492
|
});
|
|
20329
20493
|
var RecentTracksPageSchema = object({
|
|
20330
20494
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -20738,7 +20902,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20738
20902
|
classes: array(string()).optional(),
|
|
20739
20903
|
/** See {@link ExcludeSourcesDoc}. */
|
|
20740
20904
|
excludeSources: array(TrackSourceSchema).optional()
|
|
20741
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20905
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20742
20906
|
kind: "mutation",
|
|
20743
20907
|
auth: "admin"
|
|
20744
20908
|
}), 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({
|
|
@@ -20866,7 +21030,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20866
21030
|
}), method(object({
|
|
20867
21031
|
deviceId: number(),
|
|
20868
21032
|
trackId: string(),
|
|
20869
|
-
|
|
21033
|
+
mediaIds: array(number().int()).min(1)
|
|
20870
21034
|
}), RetrainFrameSelectionSchema, {
|
|
20871
21035
|
kind: "mutation",
|
|
20872
21036
|
auth: "admin"
|
|
@@ -20934,7 +21098,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20934
21098
|
kind: "query",
|
|
20935
21099
|
auth: "admin"
|
|
20936
21100
|
}), method(object({
|
|
20937
|
-
|
|
21101
|
+
/** Which of the three event tables owns the row. */
|
|
21102
|
+
ownerType: EventOwnerTypeSchema,
|
|
21103
|
+
/** The event's rowid in that table (D474: an event id is a number). */
|
|
21104
|
+
eventId: number().int(),
|
|
20938
21105
|
kind: MediaFileKindEnum.optional(),
|
|
20939
21106
|
deviceId: number()
|
|
20940
21107
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
@@ -20945,7 +21112,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20945
21112
|
trackId: string(),
|
|
20946
21113
|
deviceId: number()
|
|
20947
21114
|
}), array(MediaFileInfoSchema).readonly()), method(object({
|
|
20948
|
-
|
|
21115
|
+
ownerType: EventOwnerTypeSchema,
|
|
21116
|
+
eventId: number().int(),
|
|
20949
21117
|
deviceId: number()
|
|
20950
21118
|
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
20951
21119
|
kind: "mutation",
|
|
@@ -25408,8 +25576,8 @@ var IdentitySchema = object({
|
|
|
25408
25576
|
id: string(),
|
|
25409
25577
|
name: string(),
|
|
25410
25578
|
sampleCount: number().int().nonnegative(),
|
|
25411
|
-
|
|
25412
|
-
/** Inline base64 of the cover sample's crop, resolved from `
|
|
25579
|
+
coverMediaId: number().int().optional(),
|
|
25580
|
+
/** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
|
|
25413
25581
|
* Lets the UI render the person's face avatar instead of a placeholder icon. */
|
|
25414
25582
|
coverBase64: string().optional()
|
|
25415
25583
|
});
|
|
@@ -25435,8 +25603,8 @@ var IdentitySampleAuditRowSchema = object({
|
|
|
25435
25603
|
enrolledAt: number().int(),
|
|
25436
25604
|
deviceId: number().int().optional(),
|
|
25437
25605
|
source: _enum(["detected", "photo"]),
|
|
25438
|
-
/** The enrolled crop's media
|
|
25439
|
-
|
|
25606
|
+
/** The enrolled crop's media row id, so the panel can show the evidence. */
|
|
25607
|
+
mediaId: number().int().optional(),
|
|
25440
25608
|
/**
|
|
25441
25609
|
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25442
25610
|
* across feature spaces is a well-formed float with no meaning. Every number
|
|
@@ -25505,15 +25673,15 @@ var FaceInfoSchema = object({
|
|
|
25505
25673
|
*/
|
|
25506
25674
|
cropUrl: string().optional(),
|
|
25507
25675
|
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
25508
|
-
* view draw the box over the native `
|
|
25676
|
+
* view draw the box over the native `keyFrameMediaId` frame. Absent on
|
|
25509
25677
|
* legacy rows written before design B. */
|
|
25510
25678
|
faceBbox: BoundingBoxSchema.optional(),
|
|
25511
25679
|
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
25512
25680
|
* Fetch the native JPEG via the event-media data-plane
|
|
25513
|
-
* (`/addon/<addonId>/event-media/<
|
|
25681
|
+
* (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
|
|
25514
25682
|
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
25515
25683
|
* back to the inline `base64` face crop. */
|
|
25516
|
-
|
|
25684
|
+
keyFrameMediaId: number().int().optional(),
|
|
25517
25685
|
/** Winning identity-match cosine (0..1) for this face's track, when an
|
|
25518
25686
|
* identity was auto-confirmed. Lets the UI surface WHY a face was assigned
|
|
25519
25687
|
* (confidence badge / low-confidence audit). Absent on legacy rows and on
|
|
@@ -25582,11 +25750,14 @@ var FaceClusterSchema = object({
|
|
|
25582
25750
|
* `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
|
|
25583
25751
|
* dialog already rendering its key FRAME from the `event-media` plane.
|
|
25584
25752
|
*
|
|
25585
|
-
* `url` is `/addon/<addonId>/event-media/<
|
|
25586
|
-
* media
|
|
25753
|
+
* `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
|
|
25754
|
+
* resolves a media row by its own id, so this needed no new plane and no new
|
|
25755
|
+
* access decision.
|
|
25587
25756
|
*/
|
|
25588
25757
|
var MediaFileLiteSchema$1 = object({
|
|
25589
|
-
|
|
25758
|
+
/** The media row's own id — the same address `MediaFileRef.mediaId` carries
|
|
25759
|
+
* (D482). It was the row's composite key, which embedded the owner. */
|
|
25760
|
+
mediaId: number().int(),
|
|
25590
25761
|
kind: string(),
|
|
25591
25762
|
url: string(),
|
|
25592
25763
|
sizeBytes: number(),
|
|
@@ -25603,7 +25774,7 @@ method(object({
|
|
|
25603
25774
|
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
25604
25775
|
* four times and the viewer holds at `staleTime: 30_000`.
|
|
25605
25776
|
*
|
|
25606
|
-
* Nothing loses its avatar: `
|
|
25777
|
+
* Nothing loses its avatar: `coverMediaId` is already on every row and
|
|
25607
25778
|
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
25608
25779
|
*
|
|
25609
25780
|
* **This is an INPUT field, so it does not reach the addon until the
|
|
@@ -28071,8 +28242,8 @@ var VehicleSchema = object({
|
|
|
28071
28242
|
id: string(),
|
|
28072
28243
|
name: string(),
|
|
28073
28244
|
sampleCount: number().int().nonnegative(),
|
|
28074
|
-
|
|
28075
|
-
/** Inline base64 of the cover sample's plate crop, resolved from `
|
|
28245
|
+
coverMediaId: number().int().optional(),
|
|
28246
|
+
/** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
|
|
28076
28247
|
coverBase64: string().optional()
|
|
28077
28248
|
});
|
|
28078
28249
|
var VehicleSampleInfoSchema = object({
|
|
@@ -28105,7 +28276,7 @@ var PlateInfoSchema = object({
|
|
|
28105
28276
|
/** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
|
|
28106
28277
|
plateBbox: BoundingBoxSchema.optional(),
|
|
28107
28278
|
/** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
|
|
28108
|
-
|
|
28279
|
+
keyFrameMediaId: number().int().optional(),
|
|
28109
28280
|
base64: string().optional(),
|
|
28110
28281
|
/**
|
|
28111
28282
|
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
@@ -28126,11 +28297,14 @@ var PlateInfoSchema = object({
|
|
|
28126
28297
|
* `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
|
|
28127
28298
|
* dialog already rendering its key FRAME from the `event-media` plane.
|
|
28128
28299
|
*
|
|
28129
|
-
* `url` is `/addon/<addonId>/event-media/<
|
|
28130
|
-
* media
|
|
28300
|
+
* `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
|
|
28301
|
+
* resolves a media row by its own id, so this needed no new plane and no new
|
|
28302
|
+
* access decision.
|
|
28131
28303
|
*/
|
|
28132
28304
|
var MediaFileLiteSchema = object({
|
|
28133
|
-
|
|
28305
|
+
/** The media row's own id — the same address `MediaFileRef.mediaId` carries
|
|
28306
|
+
* (D482). It was the row's composite key, which embedded the owner. */
|
|
28307
|
+
mediaId: number().int(),
|
|
28134
28308
|
kind: string(),
|
|
28135
28309
|
url: string(),
|
|
28136
28310
|
sizeBytes: number(),
|
|
@@ -28189,7 +28363,7 @@ method(object({
|
|
|
28189
28363
|
}), method(object({
|
|
28190
28364
|
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
28191
28365
|
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
28192
|
-
* option; `
|
|
28366
|
+
* option; `coverMediaId` + the `event-media` plane carry the picture.
|
|
28193
28367
|
* INPUT field: stripped by the hub router until the train ships, which
|
|
28194
28368
|
* resolves to `false` and is exactly the intended default. */
|
|
28195
28369
|
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
@@ -29513,7 +29687,14 @@ var SceneReferenceSchema = object({
|
|
|
29513
29687
|
modelId: string(),
|
|
29514
29688
|
condition: SceneConditionSchema,
|
|
29515
29689
|
capturedAt: number(),
|
|
29516
|
-
|
|
29690
|
+
/**
|
|
29691
|
+
* The reference thumbnail's media ROW id (D482).
|
|
29692
|
+
*
|
|
29693
|
+
* The name already said `mediaId` while the value was the row's composite
|
|
29694
|
+
* key — a leftover that read as done and was not. It is the row's own id
|
|
29695
|
+
* now, addressed at `/addon/<addonId>/event-media/m/<id>`.
|
|
29696
|
+
*/
|
|
29697
|
+
thumbnailMediaId: number().int().optional(),
|
|
29517
29698
|
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
29518
29699
|
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
29519
29700
|
* normalized rect frame a different piece of world, and the scene would
|
|
@@ -30327,7 +30508,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
30327
30508
|
* disarmed the channels it did not mention would make the Levels page and
|
|
30328
30509
|
* the Diagnostics page fight over the same value.
|
|
30329
30510
|
*/
|
|
30330
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
30511
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
30512
|
+
/**
|
|
30513
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
30514
|
+
* retention actually deleted.
|
|
30515
|
+
*
|
|
30516
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
30517
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
30518
|
+
* this system is configured through this one document, and a retention audit
|
|
30519
|
+
* configured somewhere else is a second place to look when the question is
|
|
30520
|
+
* "what happened to my data".
|
|
30521
|
+
*
|
|
30522
|
+
* That placement has a cost worth stating: this document ships in the
|
|
30523
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
30524
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
30525
|
+
*
|
|
30526
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
30527
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
30528
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
30529
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
30530
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
30531
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
30532
|
+
*/
|
|
30533
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
30331
30534
|
});
|
|
30332
30535
|
/**
|
|
30333
30536
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -30400,6 +30603,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
30400
30603
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
30401
30604
|
/** The channels ARMED right now, each with its deadline. */
|
|
30402
30605
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
30606
|
+
/**
|
|
30607
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
30608
|
+
*
|
|
30609
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
30610
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
30611
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
30612
|
+
*/
|
|
30613
|
+
opsLogRetentionDays: number().int().min(0),
|
|
30403
30614
|
persisted: boolean()
|
|
30404
30615
|
});
|
|
30405
30616
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
@@ -30961,7 +31172,7 @@ var StationaryObjectSchema = object({
|
|
|
30961
31172
|
/** Enrichment label carried from the source track (identity / plate). */
|
|
30962
31173
|
label: string().optional(),
|
|
30963
31174
|
/** Native-resolution key-frame media key for the parked object's best image. */
|
|
30964
|
-
|
|
31175
|
+
keyFrameMediaId: number().int().optional()
|
|
30965
31176
|
});
|
|
30966
31177
|
var CameraOccupancySnapshotSchema = object({
|
|
30967
31178
|
/** Frame timestamp of the inference result that produced this snapshot. */
|
|
@@ -32117,6 +32328,12 @@ Object.freeze({
|
|
|
32117
32328
|
addonId: null,
|
|
32118
32329
|
access: "create"
|
|
32119
32330
|
},
|
|
32331
|
+
"dataStoreProvider.upsert": {
|
|
32332
|
+
capName: "data-store-provider",
|
|
32333
|
+
capScope: "system",
|
|
32334
|
+
addonId: null,
|
|
32335
|
+
access: "create"
|
|
32336
|
+
},
|
|
32120
32337
|
"dayNight.getOptions": {
|
|
32121
32338
|
capName: "day-night",
|
|
32122
32339
|
capScope: "device",
|
|
@@ -34553,6 +34770,12 @@ Object.freeze({
|
|
|
34553
34770
|
addonId: null,
|
|
34554
34771
|
access: "view"
|
|
34555
34772
|
},
|
|
34773
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
34774
|
+
capName: "pipeline-analytics",
|
|
34775
|
+
capScope: "device",
|
|
34776
|
+
addonId: null,
|
|
34777
|
+
access: "view"
|
|
34778
|
+
},
|
|
34556
34779
|
"pipelineAnalytics.listRecentTracks": {
|
|
34557
34780
|
capName: "pipeline-analytics",
|
|
34558
34781
|
capScope: "device",
|
|
@@ -35981,6 +36204,12 @@ Object.freeze({
|
|
|
35981
36204
|
addonId: null,
|
|
35982
36205
|
access: "create"
|
|
35983
36206
|
},
|
|
36207
|
+
"settingsStore.upsert": {
|
|
36208
|
+
capName: "settings-store",
|
|
36209
|
+
capScope: "system",
|
|
36210
|
+
addonId: null,
|
|
36211
|
+
access: "create"
|
|
36212
|
+
},
|
|
35984
36213
|
"smtpProvider.getStatus": {
|
|
35985
36214
|
capName: "smtp-provider",
|
|
35986
36215
|
capScope: "system",
|
|
@@ -38374,6 +38603,11 @@ Object.freeze({
|
|
|
38374
38603
|
form: "single",
|
|
38375
38604
|
optional: true
|
|
38376
38605
|
}],
|
|
38606
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
38607
|
+
name: "deviceIds",
|
|
38608
|
+
form: "array",
|
|
38609
|
+
optional: false
|
|
38610
|
+
}],
|
|
38377
38611
|
"pipelineAnalytics.listRecentTracks": [{
|
|
38378
38612
|
name: "deviceIds",
|
|
38379
38613
|
form: "array",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as e, l as t, u as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
|
|
2
|
-
import { o as i, s as a } from "./responsive-
|
|
2
|
+
import { o as i, s as a } from "./responsive-JVBuLbSa.mjs";
|
|
3
3
|
import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
4
4
|
var l = a("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-B5isrrh9.mjs";
|
|
2
2
|
export { t as get, e as init };
|