@camstack/addon-remote-storage 1.2.88 → 1.2.91
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/s3.addon.js +1 -1
- package/dist/s3.addon.mjs +1 -1
- package/dist/sftp.addon.js +1 -1
- package/dist/sftp.addon.mjs +1 -1
- package/dist/{shared-B2_dMV3o.mjs → shared-BlMaNCjA.mjs} +201 -14
- package/dist/{shared-DGPc5-3O.js → shared-D40Opc8I.js} +201 -14
- package/dist/smb.addon.js +5 -5
- package/dist/smb.addon.mjs +5 -5
- package/dist/webdav.addon.js +1 -1
- package/dist/webdav.addon.mjs +1 -1
- package/package.json +1 -1
package/dist/s3.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-D40Opc8I.js");
|
|
6
6
|
let node_stream = require("node:stream");
|
|
7
7
|
let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
|
|
8
8
|
let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
|
package/dist/s3.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-BlMaNCjA.mjs";
|
|
2
2
|
import { PassThrough } from "node:stream";
|
|
3
3
|
import { DeleteObjectCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
|
|
4
4
|
import { Upload } from "@aws-sdk/lib-storage";
|
package/dist/sftp.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-D40Opc8I.js");
|
|
6
6
|
let ssh2 = require("ssh2");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
package/dist/sftp.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-BlMaNCjA.mjs";
|
|
2
2
|
import { Client } from "ssh2";
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
//#region src/providers/sftp/sftp-config-schema.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { randomUUID } from "node:crypto";
|
|
2
2
|
import * as path from "node:path";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -592,7 +592,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
592
592
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
593
593
|
*/
|
|
594
594
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
595
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
596
595
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
597
596
|
/**
|
|
598
597
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -12508,7 +12507,7 @@ DeviceType.Camera;
|
|
|
12508
12507
|
var SourceInfoSchema = object({
|
|
12509
12508
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
12510
12509
|
id: string(),
|
|
12511
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
12510
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
12512
12511
|
system: string(),
|
|
12513
12512
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
12514
12513
|
* Used to detect rename when `id` changes. */
|
|
@@ -12995,7 +12994,7 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
12995
12994
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
12996
12995
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
12997
12996
|
*
|
|
12998
|
-
* All device provider addons (rtsp, onvif,
|
|
12997
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
12999
12998
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13000
12999
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13001
13000
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -17005,7 +17004,7 @@ var NcRuleInputSchema = object({
|
|
|
17005
17004
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
17006
17005
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
17007
17006
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
17008
|
-
* 30 is
|
|
17007
|
+
* 30 s is a widely shipped value for the same decision.
|
|
17009
17008
|
*
|
|
17010
17009
|
* ### What it replaces
|
|
17011
17010
|
*
|
|
@@ -19047,6 +19046,13 @@ var ZoneCrossingSchema = object({
|
|
|
19047
19046
|
/** Zone display name at crossing time (falls back to the id). */
|
|
19048
19047
|
zoneName: string().optional()
|
|
19049
19048
|
});
|
|
19049
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
19050
|
+
var ZoneOverlapSchema = object({
|
|
19051
|
+
zoneId: string(),
|
|
19052
|
+
zoneName: string().optional(),
|
|
19053
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
19054
|
+
overlapPct: number()
|
|
19055
|
+
});
|
|
19050
19056
|
var ObjectEventSchema = object({
|
|
19051
19057
|
...BaseEventFields,
|
|
19052
19058
|
kind: literal("object"),
|
|
@@ -19071,6 +19077,35 @@ var ObjectEventSchema = object({
|
|
|
19071
19077
|
bbox: BoundingBoxSchema.optional(),
|
|
19072
19078
|
/** Heavy JSON — omitted in slim projection. */
|
|
19073
19079
|
zones: array(string()).readonly().optional(),
|
|
19080
|
+
/**
|
|
19081
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
19082
|
+
* the BOX area.
|
|
19083
|
+
*
|
|
19084
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
19085
|
+
* the bar an operator argues with — and the number already existed: the
|
|
19086
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
19087
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
19088
|
+
* else to judge by.
|
|
19089
|
+
*/
|
|
19090
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
19091
|
+
/**
|
|
19092
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
19093
|
+
* has no track and never will.
|
|
19094
|
+
*
|
|
19095
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
19096
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
19097
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
19098
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
19099
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
19100
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
19101
|
+
* event at all.
|
|
19102
|
+
*
|
|
19103
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
19104
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
19105
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
19106
|
+
* history is asking for something that never existed.
|
|
19107
|
+
*/
|
|
19108
|
+
spawnRefused: string().optional(),
|
|
19074
19109
|
/** Omitted in slim projection. */
|
|
19075
19110
|
state: TrackStateSchema.optional(),
|
|
19076
19111
|
/**
|
|
@@ -20144,6 +20179,60 @@ var NativeCropResultSchema = object({
|
|
|
20144
20179
|
*/
|
|
20145
20180
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
20146
20181
|
});
|
|
20182
|
+
/**
|
|
20183
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
20184
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
20185
|
+
*
|
|
20186
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
20187
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
20188
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
20189
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
20190
|
+
* window, cut by the runner at uncapped native resolution.
|
|
20191
|
+
*
|
|
20192
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
20193
|
+
*/
|
|
20194
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
20195
|
+
/**
|
|
20196
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
20197
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
20198
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
20199
|
+
* never a reason to retry in a loop.
|
|
20200
|
+
*
|
|
20201
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
20202
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
20203
|
+
* carries the runner's own miss reason.
|
|
20204
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
20205
|
+
*/
|
|
20206
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
20207
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
20208
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
20209
|
+
parked: literal(true),
|
|
20210
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
20211
|
+
nodeId: string(),
|
|
20212
|
+
width: number().int().positive(),
|
|
20213
|
+
height: number().int().positive(),
|
|
20214
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
20215
|
+
bytes: number().int().nonnegative(),
|
|
20216
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
20217
|
+
replaced: boolean()
|
|
20218
|
+
}), object({
|
|
20219
|
+
parked: literal(false),
|
|
20220
|
+
nodeId: string(),
|
|
20221
|
+
reason: ParkRefusalSchema,
|
|
20222
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
20223
|
+
handleAgeMs: number().nullable(),
|
|
20224
|
+
detail: string().optional()
|
|
20225
|
+
})]);
|
|
20226
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20227
|
+
var ParkedTrackFrameSchema = object({
|
|
20228
|
+
jpeg: string(),
|
|
20229
|
+
width: number().int().positive(),
|
|
20230
|
+
height: number().int().positive(),
|
|
20231
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
20232
|
+
timestamp: number(),
|
|
20233
|
+
/** When the node stored it (the node's clock). */
|
|
20234
|
+
parkedAt: number()
|
|
20235
|
+
});
|
|
20147
20236
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
20148
20237
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
20149
20238
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -20533,7 +20622,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20533
20622
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
20534
20623
|
* analyzer providers) running on decoded frames in this runner.
|
|
20535
20624
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
20536
|
-
* analytics
|
|
20625
|
+
* analytics). The provider emits ProviderMotion
|
|
20537
20626
|
* events; the orchestrator forwards to `reportMotion`.
|
|
20538
20627
|
*/
|
|
20539
20628
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -20775,7 +20864,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
20775
20864
|
className: string(),
|
|
20776
20865
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
20777
20866
|
sourceDeviceId: number()
|
|
20778
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
20867
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
20868
|
+
deviceId: number(),
|
|
20869
|
+
/** Opaque to the runner — the hub's track id. */
|
|
20870
|
+
trackId: string(),
|
|
20871
|
+
kind: ParkedFrameKindSchema,
|
|
20872
|
+
handle: FrameHandleSchema,
|
|
20873
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
20874
|
+
bbox: NativeCropBboxSchema,
|
|
20875
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
20876
|
+
maxWidth: number().int().positive().optional(),
|
|
20877
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
20878
|
+
timestamp: number()
|
|
20879
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
20880
|
+
deviceId: number(),
|
|
20881
|
+
trackId: string(),
|
|
20882
|
+
kind: ParkedFrameKindSchema
|
|
20883
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
20884
|
+
deviceId: number(),
|
|
20885
|
+
trackId: string()
|
|
20886
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
20779
20887
|
var CameraPipelineConfigSchema = object({
|
|
20780
20888
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
20781
20889
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -23764,7 +23872,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
23764
23872
|
*
|
|
23765
23873
|
* Implementations:
|
|
23766
23874
|
* - Each camera-providing addon registers this cap natively per
|
|
23767
|
-
* device (Reolink, Hikvision, RTSP,
|
|
23875
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
23768
23876
|
* - Returns a snapshot from the persisted device config blob — no
|
|
23769
23877
|
* extra round-trip to the camera, no probing.
|
|
23770
23878
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -25150,7 +25258,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
25150
25258
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
25151
25259
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
25152
25260
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
25153
|
-
* `device-provider` integrations (Reolink/
|
|
25261
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
25154
25262
|
* legacy config → discovery flow.
|
|
25155
25263
|
*/
|
|
25156
25264
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -27707,13 +27815,31 @@ var RecordingManifestSchema = object({
|
|
|
27707
27815
|
*/
|
|
27708
27816
|
playbackEndpoints: array(string())
|
|
27709
27817
|
});
|
|
27710
|
-
/**
|
|
27711
|
-
*
|
|
27818
|
+
/**
|
|
27819
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
27820
|
+
* across every profile and every resolvable location on this node.
|
|
27821
|
+
*
|
|
27822
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
27823
|
+
*
|
|
27824
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
27825
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
27826
|
+
* this camera writes to, so the two can be added up and compared.
|
|
27827
|
+
*
|
|
27828
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
27829
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
27830
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
27831
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
27832
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
27833
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
27834
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
27835
|
+
*/
|
|
27712
27836
|
var RecordingDeviceUsageSchema = object({
|
|
27713
27837
|
deviceId: number(),
|
|
27838
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
27839
|
+
* recordings locations. */
|
|
27714
27840
|
usedBytes: number(),
|
|
27715
27841
|
/**
|
|
27716
|
-
* Start of this camera's OLDEST
|
|
27842
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
27717
27843
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
27718
27844
|
* only honest answer to "is retention actually holding?" per camera.
|
|
27719
27845
|
*
|
|
@@ -27723,7 +27849,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
27723
27849
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
27724
27850
|
* the later of the two.
|
|
27725
27851
|
*/
|
|
27726
|
-
oldestMs: number().nullable().optional()
|
|
27852
|
+
oldestMs: number().nullable().optional(),
|
|
27853
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
27854
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
27855
|
+
segments: number().optional(),
|
|
27856
|
+
/**
|
|
27857
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
27858
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
27859
|
+
*
|
|
27860
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
27861
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
27862
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
27863
|
+
* it, and so does a node whose ledger could not answer.
|
|
27864
|
+
*/
|
|
27865
|
+
residentBytes: number().optional(),
|
|
27866
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
27867
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
27868
|
+
* retention. `null` = nothing resident. */
|
|
27869
|
+
residentOldestMs: number().nullable().optional()
|
|
27727
27870
|
});
|
|
27728
27871
|
/** Recording storage usage + capacity for one storage location. */
|
|
27729
27872
|
var RecordingLocationUsageSchema = object({
|
|
@@ -27761,6 +27904,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
27761
27904
|
totalUsedBytes: number(),
|
|
27762
27905
|
devices: array(RecordingDeviceUsageSchema),
|
|
27763
27906
|
/**
|
|
27907
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
27908
|
+
* disks (D418).
|
|
27909
|
+
*
|
|
27910
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
27911
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
27912
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
27913
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
27914
|
+
* and its rows are residency.
|
|
27915
|
+
*/
|
|
27916
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
27917
|
+
/**
|
|
27764
27918
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
27765
27919
|
* of the payload without it: the hub serves this method through a BAKED
|
|
27766
27920
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -34148,6 +34302,24 @@ Object.freeze({
|
|
|
34148
34302
|
addonId: null,
|
|
34149
34303
|
access: "view"
|
|
34150
34304
|
},
|
|
34305
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
34306
|
+
capName: "pipeline-runner",
|
|
34307
|
+
capScope: "system",
|
|
34308
|
+
addonId: null,
|
|
34309
|
+
access: "view"
|
|
34310
|
+
},
|
|
34311
|
+
"pipelineRunner.parkTrackFrame": {
|
|
34312
|
+
capName: "pipeline-runner",
|
|
34313
|
+
capScope: "system",
|
|
34314
|
+
addonId: null,
|
|
34315
|
+
access: "create"
|
|
34316
|
+
},
|
|
34317
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
34318
|
+
capName: "pipeline-runner",
|
|
34319
|
+
capScope: "system",
|
|
34320
|
+
addonId: null,
|
|
34321
|
+
access: "create"
|
|
34322
|
+
},
|
|
34151
34323
|
"pipelineRunner.reportMotion": {
|
|
34152
34324
|
capName: "pipeline-runner",
|
|
34153
34325
|
capScope: "system",
|
|
@@ -37425,6 +37597,21 @@ Object.freeze({
|
|
|
37425
37597
|
form: "single",
|
|
37426
37598
|
optional: false
|
|
37427
37599
|
}],
|
|
37600
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
37601
|
+
name: "deviceId",
|
|
37602
|
+
form: "single",
|
|
37603
|
+
optional: false
|
|
37604
|
+
}],
|
|
37605
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
37606
|
+
name: "deviceId",
|
|
37607
|
+
form: "single",
|
|
37608
|
+
optional: false
|
|
37609
|
+
}],
|
|
37610
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
37611
|
+
name: "deviceId",
|
|
37612
|
+
form: "single",
|
|
37613
|
+
optional: false
|
|
37614
|
+
}],
|
|
37428
37615
|
"pipelineRunner.reportMotion": [{
|
|
37429
37616
|
name: "deviceId",
|
|
37430
37617
|
form: "single",
|
|
@@ -38116,7 +38303,7 @@ var PreviewTextField = string().max(200);
|
|
|
38116
38303
|
* Whether the notification's preview is a STILL or a short animation.
|
|
38117
38304
|
*
|
|
38118
38305
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
38119
|
-
* rule)"* —
|
|
38306
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
38120
38307
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
38121
38308
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
38122
38309
|
* simply applies it to a dozen frames sampled across the render and assembles
|
|
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
let node_crypto = require("node:crypto");
|
|
24
24
|
let node_path = require("node:path");
|
|
25
25
|
node_path = __toESM(node_path);
|
|
26
|
-
//#region ../types/dist/event-category-
|
|
26
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
27
27
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
28
28
|
EventCategory["SystemBoot"] = "system.boot";
|
|
29
29
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -615,7 +615,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
615
615
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
616
616
|
*/
|
|
617
617
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
618
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
619
618
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
620
619
|
/**
|
|
621
620
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -12531,7 +12530,7 @@ DeviceType.Camera;
|
|
|
12531
12530
|
var SourceInfoSchema = object({
|
|
12532
12531
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
12533
12532
|
id: string(),
|
|
12534
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
12533
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
12535
12534
|
system: string(),
|
|
12536
12535
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
12537
12536
|
* Used to detect rename when `id` changes. */
|
|
@@ -13018,7 +13017,7 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
13018
13017
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13019
13018
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13020
13019
|
*
|
|
13021
|
-
* All device provider addons (rtsp, onvif,
|
|
13020
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
13022
13021
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13023
13022
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13024
13023
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -17028,7 +17027,7 @@ var NcRuleInputSchema = object({
|
|
|
17028
17027
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
17029
17028
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
17030
17029
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
17031
|
-
* 30 is
|
|
17030
|
+
* 30 s is a widely shipped value for the same decision.
|
|
17032
17031
|
*
|
|
17033
17032
|
* ### What it replaces
|
|
17034
17033
|
*
|
|
@@ -19070,6 +19069,13 @@ var ZoneCrossingSchema = object({
|
|
|
19070
19069
|
/** Zone display name at crossing time (falls back to the id). */
|
|
19071
19070
|
zoneName: string().optional()
|
|
19072
19071
|
});
|
|
19072
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
19073
|
+
var ZoneOverlapSchema = object({
|
|
19074
|
+
zoneId: string(),
|
|
19075
|
+
zoneName: string().optional(),
|
|
19076
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
19077
|
+
overlapPct: number()
|
|
19078
|
+
});
|
|
19073
19079
|
var ObjectEventSchema = object({
|
|
19074
19080
|
...BaseEventFields,
|
|
19075
19081
|
kind: literal("object"),
|
|
@@ -19094,6 +19100,35 @@ var ObjectEventSchema = object({
|
|
|
19094
19100
|
bbox: BoundingBoxSchema.optional(),
|
|
19095
19101
|
/** Heavy JSON — omitted in slim projection. */
|
|
19096
19102
|
zones: array(string()).readonly().optional(),
|
|
19103
|
+
/**
|
|
19104
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
19105
|
+
* the BOX area.
|
|
19106
|
+
*
|
|
19107
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
19108
|
+
* the bar an operator argues with — and the number already existed: the
|
|
19109
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
19110
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
19111
|
+
* else to judge by.
|
|
19112
|
+
*/
|
|
19113
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
19114
|
+
/**
|
|
19115
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
19116
|
+
* has no track and never will.
|
|
19117
|
+
*
|
|
19118
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
19119
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
19120
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
19121
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
19122
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
19123
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
19124
|
+
* event at all.
|
|
19125
|
+
*
|
|
19126
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
19127
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
19128
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
19129
|
+
* history is asking for something that never existed.
|
|
19130
|
+
*/
|
|
19131
|
+
spawnRefused: string().optional(),
|
|
19097
19132
|
/** Omitted in slim projection. */
|
|
19098
19133
|
state: TrackStateSchema.optional(),
|
|
19099
19134
|
/**
|
|
@@ -20167,6 +20202,60 @@ var NativeCropResultSchema = object({
|
|
|
20167
20202
|
*/
|
|
20168
20203
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
20169
20204
|
});
|
|
20205
|
+
/**
|
|
20206
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
20207
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
20208
|
+
*
|
|
20209
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
20210
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
20211
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
20212
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
20213
|
+
* window, cut by the runner at uncapped native resolution.
|
|
20214
|
+
*
|
|
20215
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
20216
|
+
*/
|
|
20217
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
20218
|
+
/**
|
|
20219
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
20220
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
20221
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
20222
|
+
* never a reason to retry in a loop.
|
|
20223
|
+
*
|
|
20224
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
20225
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
20226
|
+
* carries the runner's own miss reason.
|
|
20227
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
20228
|
+
*/
|
|
20229
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
20230
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
20231
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
20232
|
+
parked: literal(true),
|
|
20233
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
20234
|
+
nodeId: string(),
|
|
20235
|
+
width: number().int().positive(),
|
|
20236
|
+
height: number().int().positive(),
|
|
20237
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
20238
|
+
bytes: number().int().nonnegative(),
|
|
20239
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
20240
|
+
replaced: boolean()
|
|
20241
|
+
}), object({
|
|
20242
|
+
parked: literal(false),
|
|
20243
|
+
nodeId: string(),
|
|
20244
|
+
reason: ParkRefusalSchema,
|
|
20245
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
20246
|
+
handleAgeMs: number().nullable(),
|
|
20247
|
+
detail: string().optional()
|
|
20248
|
+
})]);
|
|
20249
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20250
|
+
var ParkedTrackFrameSchema = object({
|
|
20251
|
+
jpeg: string(),
|
|
20252
|
+
width: number().int().positive(),
|
|
20253
|
+
height: number().int().positive(),
|
|
20254
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
20255
|
+
timestamp: number(),
|
|
20256
|
+
/** When the node stored it (the node's clock). */
|
|
20257
|
+
parkedAt: number()
|
|
20258
|
+
});
|
|
20170
20259
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
20171
20260
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
20172
20261
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -20556,7 +20645,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20556
20645
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
20557
20646
|
* analyzer providers) running on decoded frames in this runner.
|
|
20558
20647
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
20559
|
-
* analytics
|
|
20648
|
+
* analytics). The provider emits ProviderMotion
|
|
20560
20649
|
* events; the orchestrator forwards to `reportMotion`.
|
|
20561
20650
|
*/
|
|
20562
20651
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -20798,7 +20887,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
20798
20887
|
className: string(),
|
|
20799
20888
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
20800
20889
|
sourceDeviceId: number()
|
|
20801
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
20890
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
20891
|
+
deviceId: number(),
|
|
20892
|
+
/** Opaque to the runner — the hub's track id. */
|
|
20893
|
+
trackId: string(),
|
|
20894
|
+
kind: ParkedFrameKindSchema,
|
|
20895
|
+
handle: FrameHandleSchema,
|
|
20896
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
20897
|
+
bbox: NativeCropBboxSchema,
|
|
20898
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
20899
|
+
maxWidth: number().int().positive().optional(),
|
|
20900
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
20901
|
+
timestamp: number()
|
|
20902
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
20903
|
+
deviceId: number(),
|
|
20904
|
+
trackId: string(),
|
|
20905
|
+
kind: ParkedFrameKindSchema
|
|
20906
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
20907
|
+
deviceId: number(),
|
|
20908
|
+
trackId: string()
|
|
20909
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
20802
20910
|
var CameraPipelineConfigSchema = object({
|
|
20803
20911
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
20804
20912
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -23787,7 +23895,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
23787
23895
|
*
|
|
23788
23896
|
* Implementations:
|
|
23789
23897
|
* - Each camera-providing addon registers this cap natively per
|
|
23790
|
-
* device (Reolink, Hikvision, RTSP,
|
|
23898
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
23791
23899
|
* - Returns a snapshot from the persisted device config blob — no
|
|
23792
23900
|
* extra round-trip to the camera, no probing.
|
|
23793
23901
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -25173,7 +25281,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
25173
25281
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
25174
25282
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
25175
25283
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
25176
|
-
* `device-provider` integrations (Reolink/
|
|
25284
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
25177
25285
|
* legacy config → discovery flow.
|
|
25178
25286
|
*/
|
|
25179
25287
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -27730,13 +27838,31 @@ var RecordingManifestSchema = object({
|
|
|
27730
27838
|
*/
|
|
27731
27839
|
playbackEndpoints: array(string())
|
|
27732
27840
|
});
|
|
27733
|
-
/**
|
|
27734
|
-
*
|
|
27841
|
+
/**
|
|
27842
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
27843
|
+
* across every profile and every resolvable location on this node.
|
|
27844
|
+
*
|
|
27845
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
27846
|
+
*
|
|
27847
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
27848
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
27849
|
+
* this camera writes to, so the two can be added up and compared.
|
|
27850
|
+
*
|
|
27851
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
27852
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
27853
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
27854
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
27855
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
27856
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
27857
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
27858
|
+
*/
|
|
27735
27859
|
var RecordingDeviceUsageSchema = object({
|
|
27736
27860
|
deviceId: number(),
|
|
27861
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
27862
|
+
* recordings locations. */
|
|
27737
27863
|
usedBytes: number(),
|
|
27738
27864
|
/**
|
|
27739
|
-
* Start of this camera's OLDEST
|
|
27865
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
27740
27866
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
27741
27867
|
* only honest answer to "is retention actually holding?" per camera.
|
|
27742
27868
|
*
|
|
@@ -27746,7 +27872,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
27746
27872
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
27747
27873
|
* the later of the two.
|
|
27748
27874
|
*/
|
|
27749
|
-
oldestMs: number().nullable().optional()
|
|
27875
|
+
oldestMs: number().nullable().optional(),
|
|
27876
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
27877
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
27878
|
+
segments: number().optional(),
|
|
27879
|
+
/**
|
|
27880
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
27881
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
27882
|
+
*
|
|
27883
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
27884
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
27885
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
27886
|
+
* it, and so does a node whose ledger could not answer.
|
|
27887
|
+
*/
|
|
27888
|
+
residentBytes: number().optional(),
|
|
27889
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
27890
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
27891
|
+
* retention. `null` = nothing resident. */
|
|
27892
|
+
residentOldestMs: number().nullable().optional()
|
|
27750
27893
|
});
|
|
27751
27894
|
/** Recording storage usage + capacity for one storage location. */
|
|
27752
27895
|
var RecordingLocationUsageSchema = object({
|
|
@@ -27784,6 +27927,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
27784
27927
|
totalUsedBytes: number(),
|
|
27785
27928
|
devices: array(RecordingDeviceUsageSchema),
|
|
27786
27929
|
/**
|
|
27930
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
27931
|
+
* disks (D418).
|
|
27932
|
+
*
|
|
27933
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
27934
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
27935
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
27936
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
27937
|
+
* and its rows are residency.
|
|
27938
|
+
*/
|
|
27939
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
27940
|
+
/**
|
|
27787
27941
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
27788
27942
|
* of the payload without it: the hub serves this method through a BAKED
|
|
27789
27943
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -34171,6 +34325,24 @@ Object.freeze({
|
|
|
34171
34325
|
addonId: null,
|
|
34172
34326
|
access: "view"
|
|
34173
34327
|
},
|
|
34328
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
34329
|
+
capName: "pipeline-runner",
|
|
34330
|
+
capScope: "system",
|
|
34331
|
+
addonId: null,
|
|
34332
|
+
access: "view"
|
|
34333
|
+
},
|
|
34334
|
+
"pipelineRunner.parkTrackFrame": {
|
|
34335
|
+
capName: "pipeline-runner",
|
|
34336
|
+
capScope: "system",
|
|
34337
|
+
addonId: null,
|
|
34338
|
+
access: "create"
|
|
34339
|
+
},
|
|
34340
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
34341
|
+
capName: "pipeline-runner",
|
|
34342
|
+
capScope: "system",
|
|
34343
|
+
addonId: null,
|
|
34344
|
+
access: "create"
|
|
34345
|
+
},
|
|
34174
34346
|
"pipelineRunner.reportMotion": {
|
|
34175
34347
|
capName: "pipeline-runner",
|
|
34176
34348
|
capScope: "system",
|
|
@@ -37448,6 +37620,21 @@ Object.freeze({
|
|
|
37448
37620
|
form: "single",
|
|
37449
37621
|
optional: false
|
|
37450
37622
|
}],
|
|
37623
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
37624
|
+
name: "deviceId",
|
|
37625
|
+
form: "single",
|
|
37626
|
+
optional: false
|
|
37627
|
+
}],
|
|
37628
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
37629
|
+
name: "deviceId",
|
|
37630
|
+
form: "single",
|
|
37631
|
+
optional: false
|
|
37632
|
+
}],
|
|
37633
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
37634
|
+
name: "deviceId",
|
|
37635
|
+
form: "single",
|
|
37636
|
+
optional: false
|
|
37637
|
+
}],
|
|
37451
37638
|
"pipelineRunner.reportMotion": [{
|
|
37452
37639
|
name: "deviceId",
|
|
37453
37640
|
form: "single",
|
|
@@ -38139,7 +38326,7 @@ var PreviewTextField = string().max(200);
|
|
|
38139
38326
|
* Whether the notification's preview is a STILL or a short animation.
|
|
38140
38327
|
*
|
|
38141
38328
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
38142
|
-
* rule)"* —
|
|
38329
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
38143
38330
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
38144
38331
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
38145
38332
|
* simply applies it to a dozen frames sampled across the render and assembles
|
package/dist/smb.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-D40Opc8I.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
|
@@ -17,8 +17,8 @@ let node_util = require("node:util");
|
|
|
17
17
|
* SMB / CIFS `storage-provider` config schema — drives the "Add location"
|
|
18
18
|
* wizard form in the admin UI.
|
|
19
19
|
*
|
|
20
|
-
* The shape follows the operator's own production Samba backup client
|
|
21
|
-
*
|
|
20
|
+
* The shape follows the operator's own production Samba backup client:
|
|
21
|
+
* a server address, a target
|
|
22
22
|
* directory, username / password / domain, and a max-protocol override for
|
|
23
23
|
* the servers that need one pinned.
|
|
24
24
|
*
|
|
@@ -103,8 +103,8 @@ var SMB_CONFIG_SCHEMA = { sections: [{
|
|
|
103
103
|
* the whole reason it was chosen over the pure-JS options: every SMB client on
|
|
104
104
|
* npm is a fork of the abandoned `@marsaud/smb2` (last publish 2022), whereas
|
|
105
105
|
* `smbclient` is Samba's own tool, maintained by the people who define the
|
|
106
|
-
* protocol. It is the client the operator
|
|
107
|
-
*
|
|
106
|
+
* protocol. It is the client the operator has been running in production
|
|
107
|
+
* against this same NAS.
|
|
108
108
|
*
|
|
109
109
|
* The cost is stated plainly because it does not go away: **the provider
|
|
110
110
|
* cannot work without the `smbclient` binary on PATH.** It is absent from the
|
package/dist/smb.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-
|
|
1
|
+
import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-BlMaNCjA.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
import * as fsp from "node:fs/promises";
|
|
@@ -10,8 +10,8 @@ import { promisify } from "node:util";
|
|
|
10
10
|
* SMB / CIFS `storage-provider` config schema — drives the "Add location"
|
|
11
11
|
* wizard form in the admin UI.
|
|
12
12
|
*
|
|
13
|
-
* The shape follows the operator's own production Samba backup client
|
|
14
|
-
*
|
|
13
|
+
* The shape follows the operator's own production Samba backup client:
|
|
14
|
+
* a server address, a target
|
|
15
15
|
* directory, username / password / domain, and a max-protocol override for
|
|
16
16
|
* the servers that need one pinned.
|
|
17
17
|
*
|
|
@@ -96,8 +96,8 @@ var SMB_CONFIG_SCHEMA = { sections: [{
|
|
|
96
96
|
* the whole reason it was chosen over the pure-JS options: every SMB client on
|
|
97
97
|
* npm is a fork of the abandoned `@marsaud/smb2` (last publish 2022), whereas
|
|
98
98
|
* `smbclient` is Samba's own tool, maintained by the people who define the
|
|
99
|
-
* protocol. It is the client the operator
|
|
100
|
-
*
|
|
99
|
+
* protocol. It is the client the operator has been running in production
|
|
100
|
+
* against this same NAS.
|
|
101
101
|
*
|
|
102
102
|
* The cost is stated plainly because it does not go away: **the provider
|
|
103
103
|
* cannot work without the `smbclient` binary on PATH.** It is absent from the
|
package/dist/webdav.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-D40Opc8I.js");
|
|
6
6
|
let node_stream = require("node:stream");
|
|
7
7
|
let webdav = require("webdav");
|
|
8
8
|
//#region src/providers/webdav/webdav-config-schema.ts
|
package/dist/webdav.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-BlMaNCjA.mjs";
|
|
2
2
|
import { PassThrough } from "node:stream";
|
|
3
3
|
import { AuthType, createClient } from "webdav";
|
|
4
4
|
//#region src/providers/webdav/webdav-config-schema.ts
|
package/package.json
CHANGED