@camstack/addon-auth 1.2.107 → 1.2.109
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/{dist-CAsOHORv.js → dist-7r1rzYJ-.js} +334 -16
- package/dist/{dist-Cq62tX6r.mjs → dist-CpmoYtH6.mjs} +334 -16
- package/dist/magic-link/auth-magic-link.addon.js +1 -1
- package/dist/magic-link/auth-magic-link.addon.mjs +1 -1
- package/dist/oidc/auth-oidc.addon.js +1 -1
- package/dist/oidc/auth-oidc.addon.mjs +1 -1
- package/dist/webauthn/_stub.js +1 -1
- package/dist/webauthn/{_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-DUc1Nfit.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-BulxZ7VE.mjs} +3 -3
- package/dist/webauthn/{_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-COuAOx3o.mjs → _virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Gbxo7OuP.mjs} +1 -1
- package/dist/webauthn/auth-webauthn.addon.js +1 -1
- package/dist/webauthn/auth-webauthn.addon.mjs +1 -1
- package/dist/webauthn/{hostInit-eobLio1R.mjs → hostInit-SHw4SBMy.mjs} +3 -3
- package/dist/webauthn/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-BVDXG4tB.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -615,6 +615,20 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
615
615
|
* pull-reconcile from the provider's `getStatus` on reconnect. */
|
|
616
616
|
EventCategory["MeshNetworkChanged"] = "network.mesh.changed";
|
|
617
617
|
EventCategory["BackupCompleted"] = "backup.completed";
|
|
618
|
+
/**
|
|
619
|
+
* A whole backup RUN finished — every destination attempted, win or lose.
|
|
620
|
+
*
|
|
621
|
+
* `backup.completed` fires once per DESTINATION, which is the right grain for
|
|
622
|
+
* a progress UI and the wrong one for a notification: an operator with three
|
|
623
|
+
* destinations would be told three times. And a run where two of three
|
|
624
|
+
* destinations succeeded is not a clean success — a single "backup
|
|
625
|
+
* completed" that hid the failed one would be a lie, so the count of each is
|
|
626
|
+
* carried here and the message says both.
|
|
627
|
+
*
|
|
628
|
+
* Emitted by the backup orchestrator only after the destination loop, so a
|
|
629
|
+
* run that dies during the BUILD phase produces no completion at all.
|
|
630
|
+
*/
|
|
631
|
+
EventCategory["BackupRunCompleted"] = "backup.run-completed";
|
|
618
632
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
619
633
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
620
634
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
@@ -5345,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5345
5359
|
var ZodFirstPartyTypeKind;
|
|
5346
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5347
5361
|
//#endregion
|
|
5348
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-DEuj7E3j.mjs
|
|
5349
5363
|
/**
|
|
5350
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5351
5365
|
* window to float samples (D455).
|
|
@@ -7487,7 +7501,23 @@ var EncodeProfileSchema = object({
|
|
|
7487
7501
|
"zerolatency",
|
|
7488
7502
|
"film",
|
|
7489
7503
|
"animation"
|
|
7490
|
-
]).optional()
|
|
7504
|
+
]).optional(),
|
|
7505
|
+
/**
|
|
7506
|
+
* ONE slice per access unit.
|
|
7507
|
+
*
|
|
7508
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
7509
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
7510
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
7511
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
7512
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
7513
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
7514
|
+
*
|
|
7515
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
7516
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
7517
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
7518
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
7519
|
+
*/
|
|
7520
|
+
singleSlicePerFrame: boolean().optional()
|
|
7491
7521
|
}),
|
|
7492
7522
|
audio: union([literal("passthrough"), object({
|
|
7493
7523
|
codec: _enum([
|
|
@@ -7537,7 +7567,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
7537
7567
|
audio: "passthrough"
|
|
7538
7568
|
};
|
|
7539
7569
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7540
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
7570
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7541
7571
|
/**
|
|
7542
7572
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
7543
7573
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -11637,6 +11667,58 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
|
|
|
11637
11667
|
auth: "admin"
|
|
11638
11668
|
}), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
|
|
11639
11669
|
DeviceType.Camera;
|
|
11670
|
+
/**
|
|
11671
|
+
* The signals a device can emit to WAKE its own stream.
|
|
11672
|
+
*
|
|
11673
|
+
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
11674
|
+
* and "something" cannot be a consumer that is merely attached — a Frigate-style
|
|
11675
|
+
* puller holds a session open for ever, and treating that as demand would keep
|
|
11676
|
+
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
11677
|
+
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
11678
|
+
* itself, with no stream running.
|
|
11679
|
+
*
|
|
11680
|
+
* ## The vocabulary is the PROVIDER'S, not ours
|
|
11681
|
+
*
|
|
11682
|
+
* Like `consumables`, this cap declares no vocabulary of its own. A provider
|
|
11683
|
+
* names each signal with a `code` it chooses and a `label` an operator reads.
|
|
11684
|
+
* Reolink offers motion and camera-native detection; another provider may offer
|
|
11685
|
+
* a tamper, a doorbell press, a PIR, or something no camera in this fleet has
|
|
11686
|
+
* yet. A fixed enum here would mean every new signal is a framework release.
|
|
11687
|
+
*
|
|
11688
|
+
* It is deliberately NOT derived from the caps a device already binds. Whether
|
|
11689
|
+
* a camera CAN push firmware motion is expressed by `motionSources` containing
|
|
11690
|
+
* `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
|
|
11691
|
+
* binding — but both answer "what drives the detection pipeline", which is a
|
|
11692
|
+
* different question from "what may wake a sleeping stream". A camera can do
|
|
11693
|
+
* the first and not be trusted with the second, and the operator picks per
|
|
11694
|
+
* camera. Two questions, two authorities.
|
|
11695
|
+
*
|
|
11696
|
+
* ## Availability is not permission
|
|
11697
|
+
*
|
|
11698
|
+
* `listSignals` says what the device CAN emit. Whether a given signal actually
|
|
11699
|
+
* wakes the stream is the operator's per-camera choice, held by the broker
|
|
11700
|
+
* alongside the cooldown — see the stream-broker cap's wake settings. A
|
|
11701
|
+
* provider declaring a signal is not a provider enabling it.
|
|
11702
|
+
*/
|
|
11703
|
+
/** One signal a device can emit. */
|
|
11704
|
+
var StreamSignalSchema = object({
|
|
11705
|
+
/** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
|
|
11706
|
+
code: string().min(1),
|
|
11707
|
+
/** What an operator reads in the picker. The provider's own wording. */
|
|
11708
|
+
label: string().min(1),
|
|
11709
|
+
/**
|
|
11710
|
+
* Whether the provider recommends this signal ON when a camera is first set
|
|
11711
|
+
* up. A provider knows which of its signals are cheap and reliable; an
|
|
11712
|
+
* operator should not have to discover that by trial. Reolink recommends
|
|
11713
|
+
* both of its own.
|
|
11714
|
+
*/
|
|
11715
|
+
recommended: boolean()
|
|
11716
|
+
});
|
|
11717
|
+
object({
|
|
11718
|
+
signals: array(StreamSignalSchema),
|
|
11719
|
+
lastFetchedAt: number()
|
|
11720
|
+
});
|
|
11721
|
+
Object.values(DeviceType), method(_void(), array(StreamSignalSchema).readonly());
|
|
11640
11722
|
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
11641
11723
|
var StreamFormatSchema = _enum([
|
|
11642
11724
|
"webrtc",
|
|
@@ -12033,6 +12115,22 @@ var EgressTranscodeSchema = object({
|
|
|
12033
12115
|
camStreamId: string().nullable()
|
|
12034
12116
|
});
|
|
12035
12117
|
method(object({
|
|
12118
|
+
deviceId: number().int().nonnegative(),
|
|
12119
|
+
/** The provider's signal code. */
|
|
12120
|
+
code: string().min(1),
|
|
12121
|
+
/** Ms epoch. Absent ⇒ now. */
|
|
12122
|
+
at: number().optional()
|
|
12123
|
+
}), object({
|
|
12124
|
+
/** Whether the broker acted on it, and if not, why. */
|
|
12125
|
+
accepted: boolean(),
|
|
12126
|
+
reason: _enum([
|
|
12127
|
+
"woke",
|
|
12128
|
+
"hold-extended",
|
|
12129
|
+
"not-enabled",
|
|
12130
|
+
"no-consumer",
|
|
12131
|
+
"unknown-code"
|
|
12132
|
+
])
|
|
12133
|
+
}), { kind: "mutation" }), method(object({
|
|
12036
12134
|
deviceId: number().int().nonnegative(),
|
|
12037
12135
|
camStreamId: string().min(1),
|
|
12038
12136
|
kind: CamStreamKindSchema,
|
|
@@ -12287,6 +12385,16 @@ var PickStreamRequirementsSchema = object({
|
|
|
12287
12385
|
acceptCodecs: array(StreamCodecSchema).readonly().optional(),
|
|
12288
12386
|
/** Minimum vertical resolution. Streams shorter than this are dropped. */
|
|
12289
12387
|
minHeight: number().int().positive().optional(),
|
|
12388
|
+
/**
|
|
12389
|
+
* Maximum vertical resolution. Streams TALLER than this are dropped.
|
|
12390
|
+
*
|
|
12391
|
+
* A consumer can have a ceiling as real as its floor: Alexa documents
|
|
12392
|
+
* 480p to 1080p, and a 4K stream is as unusable to an Echo as a 360p one.
|
|
12393
|
+
* Without this the ceiling had to be re-implemented by every caller — and
|
|
12394
|
+
* one caller implementing it privately is how a second scoring authority
|
|
12395
|
+
* gets born.
|
|
12396
|
+
*/
|
|
12397
|
+
maxHeight: number().int().positive().optional(),
|
|
12290
12398
|
/** Minimum horizontal resolution. */
|
|
12291
12399
|
minWidth: number().int().positive().optional(),
|
|
12292
12400
|
/**
|
|
@@ -12303,7 +12411,22 @@ var PickStreamRequirementsSchema = object({
|
|
|
12303
12411
|
* transcoded" guard: if the device is already serving the consumer's
|
|
12304
12412
|
* codec end-to-end, there's nothing to optimise.
|
|
12305
12413
|
*/
|
|
12306
|
-
requireSiblingCodec: array(StreamCodecSchema).readonly().optional()
|
|
12414
|
+
requireSiblingCodec: array(StreamCodecSchema).readonly().optional(),
|
|
12415
|
+
/**
|
|
12416
|
+
* Whether a stream the consumer CANNOT decode may still be picked, on the
|
|
12417
|
+
* understanding that it will be transcoded.
|
|
12418
|
+
*
|
|
12419
|
+
* Default `false` — today's behaviour, and the right one for a bypass
|
|
12420
|
+
* question ("is there a stream I can forward untouched?"). Set `true` to
|
|
12421
|
+
* ask the larger question: "what is the best stream for me, transcoding if
|
|
12422
|
+
* I must?" A stream that satisfies `acceptCodecs` always outranks one that
|
|
12423
|
+
* does not, so a passthrough is never lost to a transcode; the answer says
|
|
12424
|
+
* which it is in {@link PickedCamStreamSchema.transcodes}.
|
|
12425
|
+
*
|
|
12426
|
+
* This is what lets one picker serve both the bypass and the full source
|
|
12427
|
+
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12428
|
+
*/
|
|
12429
|
+
allowTranscode: boolean().optional()
|
|
12307
12430
|
}).readonly();
|
|
12308
12431
|
var PickStreamPreferencesSchema = object({
|
|
12309
12432
|
/**
|
|
@@ -12317,12 +12440,32 @@ var PickStreamPreferencesSchema = object({
|
|
|
12317
12440
|
* picks the tallest stream; `'lowest'` picks the shortest (used by
|
|
12318
12441
|
* memory-constrained consumers / Apple Home guest sessions).
|
|
12319
12442
|
*/
|
|
12320
|
-
resolutionPreference: _enum(["highest", "lowest"]).optional()
|
|
12443
|
+
resolutionPreference: _enum(["highest", "lowest"]).optional(),
|
|
12444
|
+
/**
|
|
12445
|
+
* The height the consumer actually wants to DELIVER.
|
|
12446
|
+
*
|
|
12447
|
+
* Not a constraint — an ordering. With it set, the SMALLEST stream at or
|
|
12448
|
+
* above the target wins, and only if nothing reaches it does the tallest
|
|
12449
|
+
* take over. Pulling 1296 lines to draw 720 on a 1280x800 Echo panel costs
|
|
12450
|
+
* a decode and buys nothing, and `resolutionPreference: 'highest'` cannot
|
|
12451
|
+
* express that: it says "as big as possible", which is a different wish.
|
|
12452
|
+
*
|
|
12453
|
+
* Ignored when absent, so every existing caller keeps its ordering.
|
|
12454
|
+
*/
|
|
12455
|
+
targetHeight: number().int().positive().optional()
|
|
12321
12456
|
}).readonly();
|
|
12322
12457
|
var PickedCamStreamSchema = object({
|
|
12323
12458
|
camStreamId: string(),
|
|
12324
12459
|
codec: string().optional(),
|
|
12325
12460
|
resolution: CamStreamResolutionSchema.optional(),
|
|
12461
|
+
/**
|
|
12462
|
+
* Whether serving this stream requires a decode + re-encode.
|
|
12463
|
+
*
|
|
12464
|
+
* `false` is a stream the consumer can take as it stands. Only ever `true`
|
|
12465
|
+
* when the caller asked for it with `allowTranscode`, so a caller that did
|
|
12466
|
+
* not ask cannot be handed a cost it never agreed to pay.
|
|
12467
|
+
*/
|
|
12468
|
+
transcodes: boolean(),
|
|
12326
12469
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12327
12470
|
reason: string()
|
|
12328
12471
|
});
|
|
@@ -16519,6 +16662,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16519
16662
|
"device-enabled",
|
|
16520
16663
|
"device-battery-low",
|
|
16521
16664
|
"device-battery-normal",
|
|
16665
|
+
"device-consumable-low",
|
|
16666
|
+
"device-consumable-normal",
|
|
16522
16667
|
"stream-online",
|
|
16523
16668
|
"stream-offline",
|
|
16524
16669
|
"node-online",
|
|
@@ -16537,6 +16682,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16537
16682
|
"addon-updated",
|
|
16538
16683
|
"server-updated",
|
|
16539
16684
|
"export-completed",
|
|
16685
|
+
"backup-completed",
|
|
16540
16686
|
"camera-online",
|
|
16541
16687
|
"camera-offline",
|
|
16542
16688
|
"camera-disabled",
|
|
@@ -19933,13 +20079,109 @@ var SummariesQueryInput = object({
|
|
|
19933
20079
|
deviceIds: array(number()).min(1),
|
|
19934
20080
|
since: number().optional(),
|
|
19935
20081
|
until: number().optional(),
|
|
19936
|
-
limit: number().int().min(1).max(200).default(50)
|
|
20082
|
+
limit: number().int().min(1).max(200).default(50),
|
|
20083
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
20084
|
+
* meaning of "dog" on every summary surface. */
|
|
20085
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
19937
20086
|
});
|
|
19938
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19939
20087
|
var SummaryDetailSchema = object({
|
|
19940
20088
|
summary: SummarySchema,
|
|
19941
|
-
/**
|
|
19942
|
-
|
|
20089
|
+
/** Members in absorption order, oldest join first. */
|
|
20090
|
+
members: array(object({
|
|
20091
|
+
trackId: string(),
|
|
20092
|
+
/**
|
|
20093
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
20094
|
+
* and the track no longer exists to fill it.
|
|
20095
|
+
*
|
|
20096
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
20097
|
+
* class afterwards, and a group's composition is the history of who came
|
|
20098
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
20099
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
20100
|
+
* drift from the members it claims to describe.
|
|
20101
|
+
*/
|
|
20102
|
+
className: string().nullable(),
|
|
20103
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
20104
|
+
role: _enum([
|
|
20105
|
+
"primary",
|
|
20106
|
+
"sibling",
|
|
20107
|
+
"child"
|
|
20108
|
+
]).nullable(),
|
|
20109
|
+
joinedAt: number(),
|
|
20110
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
20111
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
20112
|
+
label: string().optional(),
|
|
20113
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
20114
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
20115
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
20116
|
+
subLabel: string().optional()
|
|
20117
|
+
})).readonly()
|
|
20118
|
+
});
|
|
20119
|
+
/**
|
|
20120
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
20121
|
+
*
|
|
20122
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
20123
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
20124
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
20125
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
20126
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
20127
|
+
* draw two hundred badges.
|
|
20128
|
+
*/
|
|
20129
|
+
var SummaryListItemSchema = object({
|
|
20130
|
+
summary: SummarySchema,
|
|
20131
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
20132
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
20133
|
+
classes: array(object({
|
|
20134
|
+
className: string().nullable(),
|
|
20135
|
+
count: number().int().positive()
|
|
20136
|
+
})).readonly()
|
|
20137
|
+
});
|
|
20138
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
20139
|
+
/**
|
|
20140
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
20141
|
+
*
|
|
20142
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
20143
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
20144
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
20145
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
20146
|
+
* "newest" means, on one screen.
|
|
20147
|
+
*/
|
|
20148
|
+
var RecentSummariesQueryInput = object({
|
|
20149
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
20150
|
+
deviceIds: array(number()),
|
|
20151
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
20152
|
+
since: number().optional(),
|
|
20153
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
20154
|
+
until: number().optional(),
|
|
20155
|
+
limit: number().int().min(1).max(500).default(100),
|
|
20156
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
20157
|
+
cursor: string().optional(),
|
|
20158
|
+
/**
|
|
20159
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
20160
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
20161
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
20162
|
+
* make the operator's one filter component produce two shapes.
|
|
20163
|
+
*
|
|
20164
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
20165
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
20166
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
20167
|
+
* about its primary.
|
|
20168
|
+
*
|
|
20169
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
20170
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
20171
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
20172
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
20173
|
+
* that read only the class would answer "animal" and never "dog".
|
|
20174
|
+
*
|
|
20175
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
20176
|
+
*/
|
|
20177
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20178
|
+
});
|
|
20179
|
+
var RecentSummariesPageSchema = object({
|
|
20180
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
20181
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
20182
|
+
* whichever feed drew it. */
|
|
20183
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
20184
|
+
nextCursor: string().nullable()
|
|
19943
20185
|
});
|
|
19944
20186
|
var RecentTracksPageSchema = object({
|
|
19945
20187
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -20353,7 +20595,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20353
20595
|
classes: array(string()).optional(),
|
|
20354
20596
|
/** See {@link ExcludeSourcesDoc}. */
|
|
20355
20597
|
excludeSources: array(TrackSourceSchema).optional()
|
|
20356
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20598
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20357
20599
|
kind: "mutation",
|
|
20358
20600
|
auth: "admin"
|
|
20359
20601
|
}), 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({
|
|
@@ -23717,10 +23959,28 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
23717
23959
|
}), boolean()), method(object({
|
|
23718
23960
|
deviceId: number().int().nonnegative(),
|
|
23719
23961
|
sessionId: string()
|
|
23720
|
-
}), object({
|
|
23721
|
-
|
|
23722
|
-
|
|
23723
|
-
|
|
23962
|
+
}), object({
|
|
23963
|
+
pendingRenegotiation: object({
|
|
23964
|
+
target: WebrtcStreamTargetSchema,
|
|
23965
|
+
epoch: number()
|
|
23966
|
+
}).nullable(),
|
|
23967
|
+
/**
|
|
23968
|
+
* Whether the session still EXISTS.
|
|
23969
|
+
*
|
|
23970
|
+
* A consumer that holds a resource for the life of a session needs to
|
|
23971
|
+
* be able to ask, because a session does not always end the way it
|
|
23972
|
+
* began. Measured on this hub 2026-09-13: an Echo that got stuck never
|
|
23973
|
+
* sent `SessionDisconnected`, so the Alexa exporter's
|
|
23974
|
+
* `releaseEgressTranscode` never ran, and a 2304x1296 HEVC to 720p
|
|
23975
|
+
* H.264 transcode kept running for NOBODY for more than twenty
|
|
23976
|
+
* minutes. The WebRTC session had logged `WebRTC session closed`
|
|
23977
|
+
* minutes earlier — the broker knew; the holder had no way to ask.
|
|
23978
|
+
*
|
|
23979
|
+
* `false` for a session id the provider has never heard of, which is
|
|
23980
|
+
* the same answer as "it ended": either way nothing is holding it up.
|
|
23981
|
+
*/
|
|
23982
|
+
alive: boolean()
|
|
23983
|
+
}));
|
|
23724
23984
|
object({
|
|
23725
23985
|
/** All accessory children of the parent. */
|
|
23726
23986
|
childDeviceIds: array(number()).readonly(),
|
|
@@ -29994,7 +30254,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
29994
30254
|
* disarmed the channels it did not mention would make the Levels page and
|
|
29995
30255
|
* the Diagnostics page fight over the same value.
|
|
29996
30256
|
*/
|
|
29997
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
30257
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
30258
|
+
/**
|
|
30259
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
30260
|
+
* retention actually deleted.
|
|
30261
|
+
*
|
|
30262
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
30263
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
30264
|
+
* this system is configured through this one document, and a retention audit
|
|
30265
|
+
* configured somewhere else is a second place to look when the question is
|
|
30266
|
+
* "what happened to my data".
|
|
30267
|
+
*
|
|
30268
|
+
* That placement has a cost worth stating: this document ships in the
|
|
30269
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
30270
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
30271
|
+
*
|
|
30272
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
30273
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
30274
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
30275
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
30276
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
30277
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
30278
|
+
*/
|
|
30279
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
29998
30280
|
});
|
|
29999
30281
|
/**
|
|
30000
30282
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -30067,6 +30349,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
30067
30349
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
30068
30350
|
/** The channels ARMED right now, each with its deadline. */
|
|
30069
30351
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
30352
|
+
/**
|
|
30353
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
30354
|
+
*
|
|
30355
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
30356
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
30357
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
30358
|
+
*/
|
|
30359
|
+
opsLogRetentionDays: number().int().min(0),
|
|
30070
30360
|
persisted: boolean()
|
|
30071
30361
|
});
|
|
30072
30362
|
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(), {
|
|
@@ -34226,6 +34516,12 @@ Object.freeze({
|
|
|
34226
34516
|
addonId: null,
|
|
34227
34517
|
access: "view"
|
|
34228
34518
|
},
|
|
34519
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
34520
|
+
capName: "pipeline-analytics",
|
|
34521
|
+
capScope: "device",
|
|
34522
|
+
addonId: null,
|
|
34523
|
+
access: "view"
|
|
34524
|
+
},
|
|
34229
34525
|
"pipelineAnalytics.listRecentTracks": {
|
|
34230
34526
|
capName: "pipeline-analytics",
|
|
34231
34527
|
capScope: "device",
|
|
@@ -36188,6 +36484,12 @@ Object.freeze({
|
|
|
36188
36484
|
addonId: null,
|
|
36189
36485
|
access: "create"
|
|
36190
36486
|
},
|
|
36487
|
+
"streamBroker.reportStreamSignal": {
|
|
36488
|
+
capName: "stream-broker",
|
|
36489
|
+
capScope: "system",
|
|
36490
|
+
addonId: null,
|
|
36491
|
+
access: "create"
|
|
36492
|
+
},
|
|
36191
36493
|
"streamBroker.restartProfile": {
|
|
36192
36494
|
capName: "stream-broker",
|
|
36193
36495
|
capScope: "system",
|
|
@@ -36272,6 +36574,12 @@ Object.freeze({
|
|
|
36272
36574
|
addonId: null,
|
|
36273
36575
|
access: "create"
|
|
36274
36576
|
},
|
|
36577
|
+
"streamSignals.listSignals": {
|
|
36578
|
+
capName: "stream-signals",
|
|
36579
|
+
capScope: "device",
|
|
36580
|
+
addonId: null,
|
|
36581
|
+
access: "view"
|
|
36582
|
+
},
|
|
36275
36583
|
"switch.setState": {
|
|
36276
36584
|
capName: "switch",
|
|
36277
36585
|
capScope: "device",
|
|
@@ -38053,6 +38361,11 @@ Object.freeze({
|
|
|
38053
38361
|
form: "single",
|
|
38054
38362
|
optional: true
|
|
38055
38363
|
}],
|
|
38364
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
38365
|
+
name: "deviceIds",
|
|
38366
|
+
form: "array",
|
|
38367
|
+
optional: false
|
|
38368
|
+
}],
|
|
38056
38369
|
"pipelineAnalytics.listRecentTracks": [{
|
|
38057
38370
|
name: "deviceIds",
|
|
38058
38371
|
form: "array",
|
|
@@ -38639,6 +38952,11 @@ Object.freeze({
|
|
|
38639
38952
|
form: "single",
|
|
38640
38953
|
optional: false
|
|
38641
38954
|
}],
|
|
38955
|
+
"streamBroker.reportStreamSignal": [{
|
|
38956
|
+
name: "deviceId",
|
|
38957
|
+
form: "single",
|
|
38958
|
+
optional: false
|
|
38959
|
+
}],
|
|
38642
38960
|
"streamBroker.restartProfile": [{
|
|
38643
38961
|
name: "deviceId",
|
|
38644
38962
|
form: "single",
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
6
|
+
const require_dist = require("../dist-7r1rzYJ-.js");
|
|
7
7
|
//#region src/magic-link/auth-magic-link.addon.ts
|
|
8
8
|
/**
|
|
9
9
|
* Magic-link authentication addon.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-
|
|
1
|
+
import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-CpmoYtH6.mjs";
|
|
2
2
|
//#region src/magic-link/auth-magic-link.addon.ts
|
|
3
3
|
/**
|
|
4
4
|
* Magic-link authentication addon.
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
6
|
+
const require_dist = require("../dist-7r1rzYJ-.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
node_crypto = require_chunk.__toESM(node_crypto);
|
|
9
9
|
//#region node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-
|
|
1
|
+
import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-CpmoYtH6.mjs";
|
|
2
2
|
import * as crypto$1 from "node:crypto";
|
|
3
3
|
//#region node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
4
4
|
var encoder = new TextEncoder();
|
package/dist/webauthn/_stub.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare__react__loadShare__.js-BIIa6vDX.mjs";
|
|
2
2
|
import { n as r, t as i } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CQ-aEQ9b.mjs";
|
|
3
|
-
import { t as a } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { t as a } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Gbxo7OuP.mjs";
|
|
4
4
|
import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-BL2etuqg.mjs";
|
|
5
5
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
6
6
|
var l = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), u = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), d = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), f = (e) => {
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.105",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_auth_webauthn_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.189",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_auth_webauthn_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.154",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_auth_webauthn_widgets",
|