camstack 1.2.11 → 1.2.12
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.
|
@@ -14522,7 +14522,7 @@ function date4(params) {
|
|
|
14522
14522
|
// ../../node_modules/zod/v4/classic/external.js
|
|
14523
14523
|
config(en_default());
|
|
14524
14524
|
|
|
14525
|
-
// ../types/dist/sleep-
|
|
14525
|
+
// ../types/dist/sleep-B_Uaqbai.mjs
|
|
14526
14526
|
var WELL_KNOWN_TABS = [
|
|
14527
14527
|
{
|
|
14528
14528
|
id: "overview",
|
|
@@ -15504,18 +15504,6 @@ var ConvertResultSchema = external_exports.object({
|
|
|
15504
15504
|
});
|
|
15505
15505
|
var RecordingWeekdaySchema = external_exports.number().int().min(0).max(6);
|
|
15506
15506
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
15507
|
-
var RecordingScheduleSchema = external_exports.discriminatedUnion("kind", [external_exports.object({ kind: external_exports.literal("always") }), external_exports.object({
|
|
15508
|
-
kind: external_exports.literal("timeOfDay"),
|
|
15509
|
-
start: external_exports.string().regex(HHMM),
|
|
15510
|
-
end: external_exports.string().regex(HHMM),
|
|
15511
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
15512
|
-
days: external_exports.array(RecordingWeekdaySchema).optional()
|
|
15513
|
-
})]);
|
|
15514
|
-
var RecordingModeSchema = external_exports.enum([
|
|
15515
|
-
"continuous",
|
|
15516
|
-
"onMotion",
|
|
15517
|
-
"onAudioThreshold"
|
|
15518
|
-
]);
|
|
15519
15507
|
var RecordingStorageModeSchema = external_exports.enum([
|
|
15520
15508
|
"off",
|
|
15521
15509
|
"events",
|
|
@@ -15536,18 +15524,6 @@ var RecordingBandSchema = external_exports.object({
|
|
|
15536
15524
|
preBufferSec: external_exports.number().min(0).optional(),
|
|
15537
15525
|
postBufferSec: external_exports.number().min(0).optional()
|
|
15538
15526
|
});
|
|
15539
|
-
var RecordingRuleSchema = external_exports.object({
|
|
15540
|
-
schedule: RecordingScheduleSchema,
|
|
15541
|
-
mode: RecordingModeSchema,
|
|
15542
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
15543
|
-
preBufferSec: external_exports.number().min(0).default(0),
|
|
15544
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
15545
|
-
postBufferSec: external_exports.number().min(0).default(0),
|
|
15546
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
15547
|
-
resetTimeoutOnNewEvent: external_exports.boolean().default(true),
|
|
15548
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
15549
|
-
thresholdDbfs: external_exports.number().optional()
|
|
15550
|
-
});
|
|
15551
15527
|
var RecordingRetentionSchema = external_exports.object({
|
|
15552
15528
|
maxAgeDays: external_exports.number().min(0).optional(),
|
|
15553
15529
|
maxSizeGb: external_exports.number().min(0).optional()
|
|
@@ -15561,33 +15537,17 @@ var ScrubThumbnailPresetSchema = external_exports.enum([
|
|
|
15561
15537
|
]);
|
|
15562
15538
|
var RecordingConfigSchema = external_exports.object({
|
|
15563
15539
|
enabled: external_exports.boolean(),
|
|
15564
|
-
/**
|
|
15565
|
-
*
|
|
15540
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
15541
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
15566
15542
|
mode: RecordingStorageModeSchema.optional(),
|
|
15567
15543
|
profiles: external_exports.array(CamProfileSchema).optional(),
|
|
15568
15544
|
segmentSeconds: external_exports.number().int().positive().optional(),
|
|
15569
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
15570
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
15571
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
15572
|
-
schedules: external_exports.array(RecordingScheduleSchema).optional(),
|
|
15573
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
15574
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
15575
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
15576
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
15577
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
15578
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
15579
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
15580
|
-
preBufferSec: external_exports.number().min(0).optional(),
|
|
15581
|
-
postBufferSec: external_exports.number().min(0).optional(),
|
|
15582
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
15583
|
-
rules: external_exports.array(RecordingRuleSchema).optional(),
|
|
15584
15545
|
/**
|
|
15585
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
15586
|
-
*
|
|
15587
|
-
*
|
|
15588
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
15546
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
15547
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
15548
|
+
* "off" is the absence of a covering band, never a band value.
|
|
15589
15549
|
*/
|
|
15590
|
-
bands: external_exports.array(RecordingBandSchema).
|
|
15550
|
+
bands: external_exports.array(RecordingBandSchema).default([]),
|
|
15591
15551
|
retention: RecordingRetentionSchema.optional(),
|
|
15592
15552
|
/**
|
|
15593
15553
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -15595,14 +15555,22 @@ var RecordingConfigSchema = external_exports.object({
|
|
|
15595
15555
|
* windows only — existing sheets are immutable, and each window's index
|
|
15596
15556
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
15597
15557
|
*/
|
|
15598
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
15599
|
-
|
|
15558
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
15559
|
+
/**
|
|
15560
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
15561
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
15562
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
15563
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
15564
|
+
*/
|
|
15565
|
+
stripsEnabled: external_exports.boolean().optional()
|
|
15566
|
+
}).strict();
|
|
15600
15567
|
var OpsLogDomainSchema = external_exports.enum(["recording", "events"]);
|
|
15601
15568
|
var OpsLogOpSchema = external_exports.enum([
|
|
15602
15569
|
"prune",
|
|
15603
15570
|
"manual-delete",
|
|
15604
15571
|
"rescan",
|
|
15605
|
-
"retention-run"
|
|
15572
|
+
"retention-run",
|
|
15573
|
+
"relocate"
|
|
15606
15574
|
]);
|
|
15607
15575
|
var OpsLogReasonSchema = external_exports.enum([
|
|
15608
15576
|
"retention",
|
|
@@ -15637,6 +15605,45 @@ var OpsLogQueryInputSchema = external_exports.object({
|
|
|
15637
15605
|
/** Max rows returned, newest-first. */
|
|
15638
15606
|
limit: external_exports.number().int().min(1).max(1e3).optional()
|
|
15639
15607
|
});
|
|
15608
|
+
var RelocateJobStateSchema = external_exports.enum([
|
|
15609
|
+
"running",
|
|
15610
|
+
"done",
|
|
15611
|
+
"failed",
|
|
15612
|
+
"cancelled"
|
|
15613
|
+
]);
|
|
15614
|
+
var RelocateJobSchema = external_exports.object({
|
|
15615
|
+
jobId: external_exports.string(),
|
|
15616
|
+
state: RelocateJobStateSchema,
|
|
15617
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
15618
|
+
* move from wherever they are to the target). */
|
|
15619
|
+
fromLocationId: external_exports.string(),
|
|
15620
|
+
toLocationId: external_exports.string(),
|
|
15621
|
+
/** Scoped device, or null = every device. */
|
|
15622
|
+
deviceId: external_exports.number().nullable(),
|
|
15623
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
15624
|
+
entities: external_exports.array(external_exports.string()),
|
|
15625
|
+
filesMoved: external_exports.number().int(),
|
|
15626
|
+
bytesMoved: external_exports.number().int(),
|
|
15627
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
15628
|
+
filesTotal: external_exports.number().int().nullable(),
|
|
15629
|
+
startedAt: external_exports.number(),
|
|
15630
|
+
finishedAt: external_exports.number().nullable(),
|
|
15631
|
+
error: external_exports.string().nullable()
|
|
15632
|
+
});
|
|
15633
|
+
var RelocateFootageInputSchema = external_exports.object({
|
|
15634
|
+
deviceId: external_exports.number().optional(),
|
|
15635
|
+
fromLocationId: external_exports.string(),
|
|
15636
|
+
toLocationId: external_exports.string(),
|
|
15637
|
+
entities: external_exports.array(external_exports.enum(["segments", "strips"])).optional(),
|
|
15638
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
15639
|
+
* never allowed to starve live writers. */
|
|
15640
|
+
throttleMbps: external_exports.number().min(1).max(1e3).optional()
|
|
15641
|
+
});
|
|
15642
|
+
var RelocateMediaInputSchema = external_exports.object({
|
|
15643
|
+
deviceId: external_exports.number().optional(),
|
|
15644
|
+
toLocationId: external_exports.string(),
|
|
15645
|
+
throttleMbps: external_exports.number().min(1).max(1e3).optional()
|
|
15646
|
+
});
|
|
15640
15647
|
var StorageLocationTypeSchema = external_exports.string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
15641
15648
|
var StorageLocationSchema = external_exports.object({
|
|
15642
15649
|
id: external_exports.string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -15654,6 +15661,13 @@ var StorageLocationSchema = external_exports.object({
|
|
|
15654
15661
|
nodeId: external_exports.string().optional(),
|
|
15655
15662
|
isDefault: external_exports.boolean().default(false),
|
|
15656
15663
|
isSystem: external_exports.boolean().default(false),
|
|
15664
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
15665
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
15666
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
15667
|
+
capacity: external_exports.object({
|
|
15668
|
+
totalBytes: external_exports.number(),
|
|
15669
|
+
availableBytes: external_exports.number()
|
|
15670
|
+
}).nullable().optional(),
|
|
15657
15671
|
createdAt: external_exports.number(),
|
|
15658
15672
|
updatedAt: external_exports.number()
|
|
15659
15673
|
});
|
|
@@ -16921,6 +16935,8 @@ var BATTERY_DEVICE_PROFILE = {
|
|
|
16921
16935
|
"streamBroker.preBufferEnabled": false
|
|
16922
16936
|
}
|
|
16923
16937
|
};
|
|
16938
|
+
var NC_BASE_CONDITION_KEYS = ["devices", "classes"];
|
|
16939
|
+
var BASE_CONDITION_SET = new Set(NC_BASE_CONDITION_KEYS);
|
|
16924
16940
|
var MaskPointSchema = external_exports.object({
|
|
16925
16941
|
x: external_exports.number(),
|
|
16926
16942
|
y: external_exports.number()
|
|
@@ -17004,6 +17020,11 @@ var NcOccupancyConditionSchema = external_exports.object({
|
|
|
17004
17020
|
count: external_exports.number().int().min(0).default(1),
|
|
17005
17021
|
sustainSeconds: external_exports.number().int().min(0).max(3600).default(15)
|
|
17006
17022
|
});
|
|
17023
|
+
var NcCrossingSchema = external_exports.enum([
|
|
17024
|
+
"enter",
|
|
17025
|
+
"exit",
|
|
17026
|
+
"any"
|
|
17027
|
+
]);
|
|
17007
17028
|
var NcZoneConditionSchema = external_exports.object({
|
|
17008
17029
|
ids: external_exports.array(external_exports.string().min(1)).min(1),
|
|
17009
17030
|
/** Quantifier over `ids` — at least one / every one visited. */
|
|
@@ -17023,6 +17044,13 @@ var NcConditionsSchema = external_exports.object({
|
|
|
17023
17044
|
/** Veto zones — any hit fails the rule. */
|
|
17024
17045
|
zonesExclude: external_exports.array(external_exports.string().min(1)).optional(),
|
|
17025
17046
|
/**
|
|
17047
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
17048
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
17049
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
17050
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
17051
|
+
*/
|
|
17052
|
+
crossing: NcCrossingSchema.optional(),
|
|
17053
|
+
/**
|
|
17026
17054
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
17027
17055
|
* (identity name / plate text / subclass).
|
|
17028
17056
|
*/
|
|
@@ -17143,16 +17171,62 @@ var NcRuleTargetSchema = external_exports.object({
|
|
|
17143
17171
|
*/
|
|
17144
17172
|
params: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
|
|
17145
17173
|
});
|
|
17146
|
-
var
|
|
17147
|
-
"
|
|
17148
|
-
"
|
|
17149
|
-
"
|
|
17150
|
-
|
|
17151
|
-
|
|
17174
|
+
var NcMediaFrameSchema = external_exports.enum([
|
|
17175
|
+
"cropped",
|
|
17176
|
+
"full",
|
|
17177
|
+
"boxed"
|
|
17178
|
+
]);
|
|
17179
|
+
var NcMediaPolicySchema = external_exports.object({
|
|
17180
|
+
attach: external_exports.enum([
|
|
17181
|
+
"best",
|
|
17182
|
+
"best-matching",
|
|
17183
|
+
"keyFrame",
|
|
17184
|
+
"none"
|
|
17185
|
+
]).default("best"),
|
|
17186
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
17187
|
+
frame: NcMediaFrameSchema.optional(),
|
|
17188
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
17189
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
17190
|
+
zoneCrop: external_exports.boolean().optional(),
|
|
17191
|
+
/**
|
|
17192
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
17193
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
17194
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
17195
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
17196
|
+
* gif, never a failed notification.
|
|
17197
|
+
*/
|
|
17198
|
+
gif: external_exports.boolean().optional(),
|
|
17199
|
+
/**
|
|
17200
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
17201
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
17202
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
17203
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
17204
|
+
*/
|
|
17205
|
+
clip: external_exports.boolean().optional(),
|
|
17206
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
17207
|
+
clipPreRollSec: external_exports.number().int().min(0).max(30).optional(),
|
|
17208
|
+
clipPostRollSec: external_exports.number().int().min(0).max(30).optional(),
|
|
17209
|
+
/**
|
|
17210
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
17211
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
17212
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
17213
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
17214
|
+
* reports which one actually ran.
|
|
17215
|
+
*/
|
|
17216
|
+
profile: CamProfileSchema.optional()
|
|
17217
|
+
});
|
|
17218
|
+
var NcThrottleGranularitySchema = external_exports.enum(["shared", "per-class"]);
|
|
17152
17219
|
var NcThrottleSchema = external_exports.object({
|
|
17153
17220
|
cooldownSec: external_exports.number().int().min(0).max(86400).default(60),
|
|
17154
17221
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
17155
|
-
scope: external_exports.enum(["rule", "rule-device"]).default("rule-device")
|
|
17222
|
+
scope: external_exports.enum(["rule", "rule-device"]).default("rule-device"),
|
|
17223
|
+
/**
|
|
17224
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
17225
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
17226
|
+
* rule authored before this field simply carries none — and the engine
|
|
17227
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
17228
|
+
*/
|
|
17229
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
17156
17230
|
});
|
|
17157
17231
|
var NcRuleInputSchema = external_exports.object({
|
|
17158
17232
|
name: external_exports.string().min(1).max(200),
|
|
@@ -17160,7 +17234,19 @@ var NcRuleInputSchema = external_exports.object({
|
|
|
17160
17234
|
delivery: NcDeliverySchema,
|
|
17161
17235
|
conditions: NcConditionsSchema.default({}),
|
|
17162
17236
|
schedule: NcScheduleSchema.optional(),
|
|
17163
|
-
|
|
17237
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
17238
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
17239
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
17240
|
+
targets: external_exports.array(NcRuleTargetSchema),
|
|
17241
|
+
/**
|
|
17242
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
17243
|
+
* time each user fans out to the personal targets they own
|
|
17244
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
17245
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
17246
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
17247
|
+
* targets.
|
|
17248
|
+
*/
|
|
17249
|
+
targetUsers: external_exports.array(external_exports.string()).optional(),
|
|
17164
17250
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
17165
17251
|
throttle: NcThrottleSchema.default({
|
|
17166
17252
|
cooldownSec: 60,
|
|
@@ -17237,6 +17323,7 @@ var NcConditionDescriptorSchema = external_exports.object({
|
|
|
17237
17323
|
"schedule",
|
|
17238
17324
|
"plateMatcher",
|
|
17239
17325
|
"packagePhase",
|
|
17326
|
+
"crossingSelect",
|
|
17240
17327
|
"polygonDraw",
|
|
17241
17328
|
"occupancy"
|
|
17242
17329
|
]),
|
|
@@ -17349,7 +17436,20 @@ var notificationRulesCapability = {
|
|
|
17349
17436
|
kind: "mutation",
|
|
17350
17437
|
auth: "admin"
|
|
17351
17438
|
}),
|
|
17352
|
-
|
|
17439
|
+
/**
|
|
17440
|
+
* The machine-readable condition surface a rule editor renders from, plus
|
|
17441
|
+
* the picker VOCABULARY those conditions draw on.
|
|
17442
|
+
*
|
|
17443
|
+
* `taxonomy` is optional so an older provider that only returns `catalog`
|
|
17444
|
+
* still validates; a client that receives none keeps free-text inputs.
|
|
17445
|
+
* It was previously served ONLY on the `nc.getConditionCatalog` bridge
|
|
17446
|
+
* action, which is why the viewer had grouped pickers and the admin UI —
|
|
17447
|
+
* which reaches this cap — was stuck typing `person` from memory.
|
|
17448
|
+
*/
|
|
17449
|
+
getConditionCatalog: method(external_exports.object({}), external_exports.object({
|
|
17450
|
+
catalog: external_exports.array(NcConditionDescriptorSchema),
|
|
17451
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
17452
|
+
})),
|
|
17353
17453
|
/**
|
|
17354
17454
|
* Queryable delivery history — a read-only view over the durable outbox
|
|
17355
17455
|
* (fired rule, subject summary, target, status, timestamps, error on a
|
|
@@ -18219,6 +18319,48 @@ var streamBrokerCapability = {
|
|
|
18219
18319
|
kind: "mutation",
|
|
18220
18320
|
auth: "admin"
|
|
18221
18321
|
}),
|
|
18322
|
+
/**
|
|
18323
|
+
* Render a short GIF or MP4 from the broker's PRE-BUFFER around an instant.
|
|
18324
|
+
*
|
|
18325
|
+
* The pre-buffer is the only source that already holds the seconds BEFORE
|
|
18326
|
+
* an event (it is what it exists for — "when an addon needs the last N
|
|
18327
|
+
* seconds of video for clip creation"). Cutting from recorded segments
|
|
18328
|
+
* cannot: only finalized segments are addressable and the one covering the
|
|
18329
|
+
* moment is still being written, so a segment-sourced clip is either
|
|
18330
|
+
* delayed or shows the approach instead of the event (operator,
|
|
18331
|
+
* 2026-07-30). It also means a camera does not have to be RECORDING to
|
|
18332
|
+
* produce a notification clip.
|
|
18333
|
+
*
|
|
18334
|
+
* Returns muxed BYTES, never packets: the frame plane never crosses a
|
|
18335
|
+
* process boundary at frame rate (D9/D18) — this is one compressed,
|
|
18336
|
+
* on-demand payload per notification.
|
|
18337
|
+
*
|
|
18338
|
+
* Waits up to `postRollSec` for the tail to accumulate, so the window is
|
|
18339
|
+
* CENTRED on `aroundMs`.
|
|
18340
|
+
*/
|
|
18341
|
+
renderPreBufferClip: method(external_exports.object({
|
|
18342
|
+
deviceId: external_exports.number(),
|
|
18343
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
18344
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
18345
|
+
profile: CamProfileSchema.optional(),
|
|
18346
|
+
aroundMs: external_exports.number(),
|
|
18347
|
+
preRollSec: external_exports.number().min(0).max(20).default(3),
|
|
18348
|
+
postRollSec: external_exports.number().min(0).max(20).default(5),
|
|
18349
|
+
format: external_exports.enum(["gif", "mp4"]).default("gif"),
|
|
18350
|
+
maxWidth: external_exports.number().int().min(120).max(1920).default(480),
|
|
18351
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
18352
|
+
fps: external_exports.number().int().min(1).max(15).default(5)
|
|
18353
|
+
}), external_exports.object({
|
|
18354
|
+
base64: external_exports.string(),
|
|
18355
|
+
mime: external_exports.string(),
|
|
18356
|
+
bytes: external_exports.number().int(),
|
|
18357
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
18358
|
+
profile: CamProfileSchema,
|
|
18359
|
+
durationMs: external_exports.number()
|
|
18360
|
+
}), {
|
|
18361
|
+
kind: "mutation",
|
|
18362
|
+
auth: "admin"
|
|
18363
|
+
}),
|
|
18222
18364
|
listAllCameraStreams: method(external_exports.void(), external_exports.array(CameraStreamSchema).readonly()),
|
|
18223
18365
|
listAllProfileSlots: method(external_exports.void(), external_exports.array(ProfileSlotSchema).readonly()),
|
|
18224
18366
|
getBrokerStats: method(external_exports.object({ brokerId: external_exports.string() }), BrokerStatsSchema),
|
|
@@ -25430,7 +25572,29 @@ var deviceManagerCapability = {
|
|
|
25430
25572
|
getDeviceStatusAggregate: method(external_exports.object({
|
|
25431
25573
|
deviceId: external_exports.number(),
|
|
25432
25574
|
caps: external_exports.array(external_exports.string()).readonly().optional()
|
|
25433
|
-
}), external_exports.record(external_exports.string(), external_exports.unknown().nullable()))
|
|
25575
|
+
}), external_exports.record(external_exports.string(), external_exports.unknown().nullable())),
|
|
25576
|
+
/**
|
|
25577
|
+
* The same aggregate, for a LIST of devices in one round-trip.
|
|
25578
|
+
*
|
|
25579
|
+
* The viewer's camera list is the caller this exists for. Each card asked
|
|
25580
|
+
* for its own badges — battery here, recording mode there — so a ten-camera
|
|
25581
|
+
* install issued N separate procedures per reconcile, each its own message
|
|
25582
|
+
* on the one WebSocket that also carries the WebRTC signalling (the client
|
|
25583
|
+
* has no `httpBatchLink`, so there is no transport-level batching to lean
|
|
25584
|
+
* on: collapsing has to happen at the procedure level, which is here).
|
|
25585
|
+
*
|
|
25586
|
+
* Keyed by device id as a STRING — a JSON object cannot key by number, and
|
|
25587
|
+
* pretending otherwise is how a record survives the wire only in tests.
|
|
25588
|
+
* The per-device value is exactly what `getDeviceStatusAggregate` returns,
|
|
25589
|
+
* so a caller can move between the two without reshaping anything.
|
|
25590
|
+
*
|
|
25591
|
+
* `caps` matters more here than in the single call: a client that needs two
|
|
25592
|
+
* caps should not pay for every status-carrying cap × every device.
|
|
25593
|
+
*/
|
|
25594
|
+
getDeviceStatusAggregateBatch: method(external_exports.object({
|
|
25595
|
+
deviceIds: external_exports.array(external_exports.number()).readonly(),
|
|
25596
|
+
caps: external_exports.array(external_exports.string()).readonly().optional()
|
|
25597
|
+
}), external_exports.record(external_exports.string(), external_exports.record(external_exports.string(), external_exports.unknown().nullable())))
|
|
25434
25598
|
}
|
|
25435
25599
|
};
|
|
25436
25600
|
var deviceStateCapability = {
|
|
@@ -26420,6 +26584,36 @@ var TargetKindSchema = external_exports.object({
|
|
|
26420
26584
|
icon: external_exports.string(),
|
|
26421
26585
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
26422
26586
|
addonId: external_exports.string(),
|
|
26587
|
+
/**
|
|
26588
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
26589
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
26590
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
26591
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
26592
|
+
*
|
|
26593
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
26594
|
+
* client, and a native client joins it onto its own hub base.
|
|
26595
|
+
*
|
|
26596
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
26597
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
26598
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
26599
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
26600
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
26601
|
+
*/
|
|
26602
|
+
iconUrl: external_exports.string().optional(),
|
|
26603
|
+
/**
|
|
26604
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
26605
|
+
*
|
|
26606
|
+
* The server knows this and therefore says it, because the client cannot
|
|
26607
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
26608
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
26609
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
26610
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
26611
|
+
*
|
|
26612
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
26613
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
26614
|
+
* its raster path, which is the safe default for an unknown image.
|
|
26615
|
+
*/
|
|
26616
|
+
iconMediaType: external_exports.string().optional(),
|
|
26423
26617
|
configSchema: ConfigSchemaPassthrough,
|
|
26424
26618
|
supportsDiscovery: external_exports.boolean(),
|
|
26425
26619
|
caps: TargetKindCapsSchema
|
|
@@ -26754,6 +26948,14 @@ var MotionEventSchema = external_exports.object({
|
|
|
26754
26948
|
mediaUrl: external_exports.string().optional()
|
|
26755
26949
|
});
|
|
26756
26950
|
var DetectionSourceSchema = external_exports.enum(["pipeline", "onboard"]);
|
|
26951
|
+
var ZoneCrossingDirectionSchema = external_exports.enum(["enter", "exit"]);
|
|
26952
|
+
var ZoneCrossingSchema = external_exports.object({
|
|
26953
|
+
direction: ZoneCrossingDirectionSchema,
|
|
26954
|
+
/** Admin zone id crossed. */
|
|
26955
|
+
zoneId: external_exports.string(),
|
|
26956
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
26957
|
+
zoneName: external_exports.string().optional()
|
|
26958
|
+
});
|
|
26757
26959
|
var ObjectEventSchema = external_exports.object({
|
|
26758
26960
|
...BaseEventFields,
|
|
26759
26961
|
kind: external_exports.literal("object"),
|
|
@@ -26780,6 +26982,12 @@ var ObjectEventSchema = external_exports.object({
|
|
|
26780
26982
|
zones: external_exports.array(external_exports.string()).readonly().optional(),
|
|
26781
26983
|
/** Omitted in slim projection. */
|
|
26782
26984
|
state: TrackStateSchema.optional(),
|
|
26985
|
+
/**
|
|
26986
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
26987
|
+
* event kind (movement state, appearance, package) — see
|
|
26988
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
26989
|
+
*/
|
|
26990
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
26783
26991
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
26784
26992
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
26785
26993
|
frameWidth: external_exports.number().optional(),
|
|
@@ -27156,6 +27364,23 @@ var pipelineAnalyticsCapability = {
|
|
|
27156
27364
|
}),
|
|
27157
27365
|
/** The events ops-log rows (newest-first), optionally scoped to one camera.
|
|
27158
27366
|
* Backed by a declared pipeline-analytics SQLite collection. */
|
|
27367
|
+
/**
|
|
27368
|
+
* Move event-media blobs onto `toLocationId` (entity-routing spec Phase
|
|
27369
|
+
* 4): per-row copy → stamp row.locationId → delete old blob. Rows already
|
|
27370
|
+
* at the target are skipped, so a re-run resumes. Single-flight.
|
|
27371
|
+
*/
|
|
27372
|
+
relocateMedia: method(RelocateMediaInputSchema, external_exports.object({ jobId: external_exports.string() }), {
|
|
27373
|
+
kind: "mutation",
|
|
27374
|
+
auth: "admin"
|
|
27375
|
+
}),
|
|
27376
|
+
getMediaRelocateStatus: method(external_exports.object({}), external_exports.array(RelocateJobSchema).readonly(), {
|
|
27377
|
+
kind: "query",
|
|
27378
|
+
auth: "admin"
|
|
27379
|
+
}),
|
|
27380
|
+
cancelMediaRelocate: method(external_exports.object({ jobId: external_exports.string() }), external_exports.object({ cancelled: external_exports.boolean() }), {
|
|
27381
|
+
kind: "mutation",
|
|
27382
|
+
auth: "admin"
|
|
27383
|
+
}),
|
|
27159
27384
|
listOpsLog: method(OpsLogQueryInputSchema, external_exports.array(OpsLogEntrySchema).readonly(), {
|
|
27160
27385
|
kind: "query",
|
|
27161
27386
|
auth: "admin"
|
|
@@ -30142,6 +30367,12 @@ var ConnectionEndpointSchema = external_exports.object({
|
|
|
30142
30367
|
priority: external_exports.number()
|
|
30143
30368
|
});
|
|
30144
30369
|
var GetConnectionEndpointsResultSchema = external_exports.object({ endpoints: external_exports.array(ConnectionEndpointSchema).readonly() });
|
|
30370
|
+
var NotificationEndpointSchema = external_exports.object({
|
|
30371
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
30372
|
+
baseUrl: external_exports.string().nullable(),
|
|
30373
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
30374
|
+
resolved: external_exports.string().nullable()
|
|
30375
|
+
});
|
|
30145
30376
|
var AllowedAddressesSchema = external_exports.object({
|
|
30146
30377
|
/**
|
|
30147
30378
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30194,6 +30425,26 @@ var localNetworkCapability = {
|
|
|
30194
30425
|
scheme: external_exports.enum(["http", "https"]).optional()
|
|
30195
30426
|
}), GetConnectionEndpointsResultSchema),
|
|
30196
30427
|
/**
|
|
30428
|
+
* The endpoint OUTBOUND artifacts must be addressed by — notification
|
|
30429
|
+
* attachment links and deep links. `baseUrl: null` means AUTO: the first
|
|
30430
|
+
* public candidate (a configured origin, then a connected tunnel, then the
|
|
30431
|
+
* LAN), never loopback.
|
|
30432
|
+
*
|
|
30433
|
+
* Why an explicit marker: the automatic ranking cannot know which of
|
|
30434
|
+
* several reachable addresses the RECIPIENT can actually open. A link is
|
|
30435
|
+
* consumed on someone's phone, off the LAN, possibly hours later — and a
|
|
30436
|
+
* link nobody can open is worse than no link, because the notification
|
|
30437
|
+
* arrives advertising media that 404s.
|
|
30438
|
+
*/
|
|
30439
|
+
getNotificationEndpoint: method(external_exports.void(), NotificationEndpointSchema),
|
|
30440
|
+
/**
|
|
30441
|
+
* Mark which endpoint notification artifacts use. `baseUrl: null` restores
|
|
30442
|
+
* AUTO. The value is stored verbatim (not an index into the candidate
|
|
30443
|
+
* list): interfaces come and go, and an index would silently re-point at a
|
|
30444
|
+
* different address after a reboot.
|
|
30445
|
+
*/
|
|
30446
|
+
setNotificationEndpoint: method(external_exports.object({ baseUrl: external_exports.string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }),
|
|
30447
|
+
/**
|
|
30197
30448
|
* Read the operator's allowlist. Empty = "auto" (no filter). Used
|
|
30198
30449
|
* by the admin UI's address selector to seed its checkbox state.
|
|
30199
30450
|
*/
|
|
@@ -31172,7 +31423,12 @@ var RecordingDeviceUsageSchema = external_exports.object({
|
|
|
31172
31423
|
var RecordingLocationUsageSchema = external_exports.object({
|
|
31173
31424
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
31174
31425
|
locationId: external_exports.string().nullable(),
|
|
31175
|
-
/**
|
|
31426
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
31427
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
31428
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
31429
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
31430
|
+
locationIds: external_exports.array(external_exports.string()).optional(),
|
|
31431
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
31176
31432
|
usedBytes: external_exports.number(),
|
|
31177
31433
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
31178
31434
|
availableBytes: external_exports.number().nullable(),
|
|
@@ -31314,6 +31570,77 @@ var recordingCapability = {
|
|
|
31314
31570
|
listOpsLog: method(OpsLogQueryInputSchema, external_exports.array(OpsLogEntrySchema).readonly(), {
|
|
31315
31571
|
kind: "query",
|
|
31316
31572
|
auth: "admin"
|
|
31573
|
+
}),
|
|
31574
|
+
/**
|
|
31575
|
+
* Move footage (segments and/or strips) from one recordings location to
|
|
31576
|
+
* another — the drain workflow's mover (entity-routing spec Phase 4).
|
|
31577
|
+
* Throttled copy → size-verify → delete source → index refresh; resumable
|
|
31578
|
+
* by construction (copy-if-absent). Single-flight: one job at a time.
|
|
31579
|
+
*/
|
|
31580
|
+
/**
|
|
31581
|
+
* Render a short GIF from recorded footage around `aroundMs` (low profile,
|
|
31582
|
+
* palette-free ffmpeg gif). Synchronous — the window is a few seconds of
|
|
31583
|
+
* `low`, rendering in ~1-2s. Built for notification attachments: the
|
|
31584
|
+
* caller gets bytes, nothing persists. Fails when no footage covers the
|
|
31585
|
+
* window (camera not recording → caller skips the attachment).
|
|
31586
|
+
*/
|
|
31587
|
+
renderGif: method(external_exports.object({
|
|
31588
|
+
deviceId: external_exports.number(),
|
|
31589
|
+
aroundMs: external_exports.number(),
|
|
31590
|
+
preRollSec: external_exports.number().min(0).max(30).default(2),
|
|
31591
|
+
postRollSec: external_exports.number().min(0).max(30).default(5),
|
|
31592
|
+
maxWidth: external_exports.number().int().min(120).max(1280).default(480),
|
|
31593
|
+
fps: external_exports.number().int().min(1).max(15).default(5)
|
|
31594
|
+
}), external_exports.object({
|
|
31595
|
+
gifBase64: external_exports.string(),
|
|
31596
|
+
fromMs: external_exports.number(),
|
|
31597
|
+
toMs: external_exports.number()
|
|
31598
|
+
}), {
|
|
31599
|
+
kind: "mutation",
|
|
31600
|
+
auth: "admin"
|
|
31601
|
+
}),
|
|
31602
|
+
/**
|
|
31603
|
+
* Render a short MP4 clip from recorded footage around `aroundMs` — the
|
|
31604
|
+
* "send a clip, not a gif" notification attachment. Same window, source
|
|
31605
|
+
* and fail-closed contract as {@link renderGif}: no footage covering the
|
|
31606
|
+
* window ⇒ it throws and the caller ships no attachment. Re-encoded (never
|
|
31607
|
+
* stream-copied) so a concat across segments with different encoder
|
|
31608
|
+
* parameters still plays. Silent by contract.
|
|
31609
|
+
*
|
|
31610
|
+
* The returned window is SEGMENT-GRANULAR: the source playlist is built
|
|
31611
|
+
* from whole segments, so the clip starts at or before `fromMs` and ends
|
|
31612
|
+
* at or after `toMs` — overshoot bounded by one segment per side (an 8 s
|
|
31613
|
+
* ask over 4 s segments measured 12 s). `fromMs`/`toMs` report the window
|
|
31614
|
+
* ASKED for, not the encoded duration.
|
|
31615
|
+
*/
|
|
31616
|
+
renderClip: method(external_exports.object({
|
|
31617
|
+
deviceId: external_exports.number(),
|
|
31618
|
+
aroundMs: external_exports.number(),
|
|
31619
|
+
preRollSec: external_exports.number().min(0).max(30).default(3),
|
|
31620
|
+
postRollSec: external_exports.number().min(0).max(30).default(7),
|
|
31621
|
+
maxWidth: external_exports.number().int().min(160).max(1920).default(640)
|
|
31622
|
+
}), external_exports.object({
|
|
31623
|
+
clipBase64: external_exports.string(),
|
|
31624
|
+
mime: external_exports.string(),
|
|
31625
|
+
fromMs: external_exports.number(),
|
|
31626
|
+
toMs: external_exports.number(),
|
|
31627
|
+
bytes: external_exports.number().int()
|
|
31628
|
+
}), {
|
|
31629
|
+
kind: "mutation",
|
|
31630
|
+
auth: "admin"
|
|
31631
|
+
}),
|
|
31632
|
+
relocateFootage: method(RelocateFootageInputSchema, external_exports.object({ jobId: external_exports.string() }), {
|
|
31633
|
+
kind: "mutation",
|
|
31634
|
+
auth: "admin"
|
|
31635
|
+
}),
|
|
31636
|
+
/** Every known relocate job (in-RAM, newest-first). */
|
|
31637
|
+
getRelocateStatus: method(external_exports.object({}), external_exports.array(RelocateJobSchema).readonly(), {
|
|
31638
|
+
kind: "query",
|
|
31639
|
+
auth: "admin"
|
|
31640
|
+
}),
|
|
31641
|
+
cancelRelocate: method(external_exports.object({ jobId: external_exports.string() }), external_exports.object({ cancelled: external_exports.boolean() }), {
|
|
31642
|
+
kind: "mutation",
|
|
31643
|
+
auth: "admin"
|
|
31317
31644
|
})
|
|
31318
31645
|
}
|
|
31319
31646
|
};
|
|
@@ -32922,6 +33249,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
32922
33249
|
addonId: null,
|
|
32923
33250
|
access: "view"
|
|
32924
33251
|
},
|
|
33252
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
33253
|
+
capName: "device-manager",
|
|
33254
|
+
capScope: "system",
|
|
33255
|
+
addonId: null,
|
|
33256
|
+
access: "view"
|
|
33257
|
+
},
|
|
32925
33258
|
"deviceManager.getLinkedDevices": {
|
|
32926
33259
|
capName: "device-manager",
|
|
32927
33260
|
capScope: "system",
|
|
@@ -33816,6 +34149,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
33816
34149
|
addonId: null,
|
|
33817
34150
|
access: "view"
|
|
33818
34151
|
},
|
|
34152
|
+
"localNetwork.getNotificationEndpoint": {
|
|
34153
|
+
capName: "local-network",
|
|
34154
|
+
capScope: "system",
|
|
34155
|
+
addonId: null,
|
|
34156
|
+
access: "view"
|
|
34157
|
+
},
|
|
33819
34158
|
"localNetwork.getPreferred": {
|
|
33820
34159
|
capName: "local-network",
|
|
33821
34160
|
capScope: "system",
|
|
@@ -33840,6 +34179,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
33840
34179
|
addonId: null,
|
|
33841
34180
|
access: "create"
|
|
33842
34181
|
},
|
|
34182
|
+
"localNetwork.setNotificationEndpoint": {
|
|
34183
|
+
capName: "local-network",
|
|
34184
|
+
capScope: "system",
|
|
34185
|
+
addonId: null,
|
|
34186
|
+
access: "create"
|
|
34187
|
+
},
|
|
33843
34188
|
"lockControl.lock": {
|
|
33844
34189
|
capName: "lock-control",
|
|
33845
34190
|
capScope: "device",
|
|
@@ -34482,6 +34827,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
34482
34827
|
addonId: null,
|
|
34483
34828
|
access: "create"
|
|
34484
34829
|
},
|
|
34830
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
34831
|
+
capName: "pipeline-analytics",
|
|
34832
|
+
capScope: "device",
|
|
34833
|
+
addonId: null,
|
|
34834
|
+
access: "create"
|
|
34835
|
+
},
|
|
34485
34836
|
"pipelineAnalytics.clearTracks": {
|
|
34486
34837
|
capName: "pipeline-analytics",
|
|
34487
34838
|
capScope: "device",
|
|
@@ -34536,6 +34887,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
34536
34887
|
addonId: null,
|
|
34537
34888
|
access: "view"
|
|
34538
34889
|
},
|
|
34890
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
34891
|
+
capName: "pipeline-analytics",
|
|
34892
|
+
capScope: "device",
|
|
34893
|
+
addonId: null,
|
|
34894
|
+
access: "view"
|
|
34895
|
+
},
|
|
34539
34896
|
"pipelineAnalytics.getMotionEvents": {
|
|
34540
34897
|
capName: "pipeline-analytics",
|
|
34541
34898
|
capScope: "device",
|
|
@@ -34608,6 +34965,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
34608
34965
|
addonId: null,
|
|
34609
34966
|
access: "create"
|
|
34610
34967
|
},
|
|
34968
|
+
"pipelineAnalytics.relocateMedia": {
|
|
34969
|
+
capName: "pipeline-analytics",
|
|
34970
|
+
capScope: "device",
|
|
34971
|
+
addonId: null,
|
|
34972
|
+
access: "create"
|
|
34973
|
+
},
|
|
34611
34974
|
"pipelineAnalytics.searchObjectEvents": {
|
|
34612
34975
|
capName: "pipeline-analytics",
|
|
34613
34976
|
capScope: "device",
|
|
@@ -35370,6 +35733,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
35370
35733
|
addonId: null,
|
|
35371
35734
|
access: "create"
|
|
35372
35735
|
},
|
|
35736
|
+
"recording.cancelRelocate": {
|
|
35737
|
+
capName: "recording",
|
|
35738
|
+
capScope: "system",
|
|
35739
|
+
addonId: null,
|
|
35740
|
+
access: "create"
|
|
35741
|
+
},
|
|
35373
35742
|
"recording.deleteFootprint": {
|
|
35374
35743
|
capName: "recording",
|
|
35375
35744
|
capScope: "system",
|
|
@@ -35400,6 +35769,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
35400
35769
|
addonId: null,
|
|
35401
35770
|
access: "view"
|
|
35402
35771
|
},
|
|
35772
|
+
"recording.getRelocateStatus": {
|
|
35773
|
+
capName: "recording",
|
|
35774
|
+
capScope: "system",
|
|
35775
|
+
addonId: null,
|
|
35776
|
+
access: "view"
|
|
35777
|
+
},
|
|
35403
35778
|
"recording.getStorageUsage": {
|
|
35404
35779
|
capName: "recording",
|
|
35405
35780
|
capScope: "system",
|
|
@@ -35430,6 +35805,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
35430
35805
|
addonId: null,
|
|
35431
35806
|
access: "view"
|
|
35432
35807
|
},
|
|
35808
|
+
"recording.relocateFootage": {
|
|
35809
|
+
capName: "recording",
|
|
35810
|
+
capScope: "system",
|
|
35811
|
+
addonId: null,
|
|
35812
|
+
access: "create"
|
|
35813
|
+
},
|
|
35814
|
+
"recording.renderClip": {
|
|
35815
|
+
capName: "recording",
|
|
35816
|
+
capScope: "system",
|
|
35817
|
+
addonId: null,
|
|
35818
|
+
access: "create"
|
|
35819
|
+
},
|
|
35820
|
+
"recording.renderGif": {
|
|
35821
|
+
capName: "recording",
|
|
35822
|
+
capScope: "system",
|
|
35823
|
+
addonId: null,
|
|
35824
|
+
access: "create"
|
|
35825
|
+
},
|
|
35433
35826
|
"recording.rescanStorage": {
|
|
35434
35827
|
capName: "recording",
|
|
35435
35828
|
capScope: "system",
|
|
@@ -36024,6 +36417,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36024
36417
|
addonId: null,
|
|
36025
36418
|
access: "create"
|
|
36026
36419
|
},
|
|
36420
|
+
"streamBroker.renderPreBufferClip": {
|
|
36421
|
+
capName: "stream-broker",
|
|
36422
|
+
capScope: "system",
|
|
36423
|
+
addonId: null,
|
|
36424
|
+
access: "create"
|
|
36425
|
+
},
|
|
36027
36426
|
"streamBroker.restartProfile": {
|
|
36028
36427
|
capName: "stream-broker",
|
|
36029
36428
|
capScope: "system",
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runDiscover
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7EQOMKUT.js";
|
|
5
5
|
import "./chunk-K3NQKI34.js";
|
|
6
6
|
|
|
7
7
|
// src/cli.ts
|
|
@@ -1079,7 +1079,7 @@ function isUnknown(_value) {
|
|
|
1079
1079
|
return true;
|
|
1080
1080
|
}
|
|
1081
1081
|
async function resolveServerInteractive(presetNamespace) {
|
|
1082
|
-
const { discoverNodes, resolveHubFromDiscovered, filterHubNodes, DEFAULT_HUB_HTTPS_PORT } = await import("./discover-
|
|
1082
|
+
const { discoverNodes, resolveHubFromDiscovered, filterHubNodes, DEFAULT_HUB_HTTPS_PORT } = await import("./discover-JDVFZ6NG.js");
|
|
1083
1083
|
if (presetNamespace) {
|
|
1084
1084
|
const spinner4 = clack.spinner();
|
|
1085
1085
|
spinner4.start(`Discovering hub on LAN (namespace "${presetNamespace}")`);
|