@camstack/addon-remote-storage 1.2.0 → 1.2.2
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-D2FKy7ui.js → shared-B_GfteRr.js} +86 -9
- package/dist/{shared-2xhHvv1n.mjs → shared-Co8avCOn.mjs} +86 -9
- 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-B_GfteRr.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-Co8avCOn.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-B_GfteRr.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-Co8avCOn.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
|
|
@@ -11038,7 +11038,8 @@ var PipelineStepInputSchema = lazy(() => object({
|
|
|
11038
11038
|
modelId: string().optional(),
|
|
11039
11039
|
enabled: boolean().default(true),
|
|
11040
11040
|
children: array(PipelineStepInputSchema).optional(),
|
|
11041
|
-
settings: record(string(), unknown()).optional()
|
|
11041
|
+
settings: record(string(), unknown()).optional(),
|
|
11042
|
+
jumpDeviceKey: string().optional()
|
|
11042
11043
|
}));
|
|
11043
11044
|
var ModelSubstitutionSchema = object({
|
|
11044
11045
|
addonId: string(),
|
|
@@ -11344,10 +11345,40 @@ var NativeCropBboxSchema = object({
|
|
|
11344
11345
|
});
|
|
11345
11346
|
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
11346
11347
|
var NativeCropResultSchema = object({
|
|
11347
|
-
/**
|
|
11348
|
-
|
|
11348
|
+
/**
|
|
11349
|
+
* Packed rgb (24-bit) pixels of the crop. Present on the DEFAULT (raw) path —
|
|
11350
|
+
* same-node (in-process / UDS) callers get zero-copy RGB and encode locally.
|
|
11351
|
+
* OMITTED when the caller requested `encodeJpeg` (the cross-node compressed
|
|
11352
|
+
* path below), where shipping raw RGB is both an invariant violation and, for
|
|
11353
|
+
* a native full frame (~26 MB at 4K), larger than Moleculer's 10 MB
|
|
11354
|
+
* `maxPacketSize` → the packet is dropped and the call 60s-times-out. That is
|
|
11355
|
+
* the cross-node native-media miss: `bytes` is replaced by `jpeg`.
|
|
11356
|
+
*/
|
|
11357
|
+
bytes: _instanceof(Uint8Array).optional(),
|
|
11358
|
+
/**
|
|
11359
|
+
* Base64 JPEG of the crop — the COMPRESSED cross-node payload. The OWNING node
|
|
11360
|
+
* (which holds the native surface) encodes it in-process, so a native 4K frame
|
|
11361
|
+
* ships as ~0.5–2 MB (well under `maxPacketSize`) and NO raw pixels ever cross
|
|
11362
|
+
* a process boundary (CLAUDE.md invariant #21). Present ONLY when the request
|
|
11363
|
+
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
11364
|
+
*/
|
|
11365
|
+
jpeg: string().optional(),
|
|
11349
11366
|
width: number().int().positive(),
|
|
11350
|
-
height: number().int().positive()
|
|
11367
|
+
height: number().int().positive(),
|
|
11368
|
+
/**
|
|
11369
|
+
* Which source served this crop, so a quality-sensitive consumer (the native
|
|
11370
|
+
* `keyFrame`) can reject a degraded fallback:
|
|
11371
|
+
* - `native` — cut from the decode worker's retained NATIVE surface (the
|
|
11372
|
+
* quality path).
|
|
11373
|
+
* - `ram-fullframe` — the native surface MISSED but the request was full-frame,
|
|
11374
|
+
* so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
|
|
11375
|
+
* the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
|
|
11376
|
+
*
|
|
11377
|
+
* OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
|
|
11378
|
+
* treated as `native` (accepted) by every consumer so mixed-version clusters
|
|
11379
|
+
* keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
|
|
11380
|
+
*/
|
|
11381
|
+
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
11351
11382
|
});
|
|
11352
11383
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11353
11384
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
@@ -11477,6 +11508,20 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
11477
11508
|
hubHostnameOverride: string().optional()
|
|
11478
11509
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
11479
11510
|
/**
|
|
11511
|
+
* One ENABLED inference device on the runner's node, as the step-tree
|
|
11512
|
+
* device-jump resolver sees it (phase 1). The orchestrator populates this
|
|
11513
|
+
* roster on the attach payload whenever the camera is elected onto a specific
|
|
11514
|
+
* `deviceKey` and the node has ≥2 enabled devices — it is the candidate set the
|
|
11515
|
+
* runner auto-jumps an enrichment step to when the elected device's format
|
|
11516
|
+
* cannot run that step's model. `weight`/`maxSessions` mirror the balancer's
|
|
11517
|
+
* per-device knobs so the auto choice is weighted-least-loaded.
|
|
11518
|
+
*/
|
|
11519
|
+
var RunnerInferenceDeviceSchema = object({
|
|
11520
|
+
deviceKey: string(),
|
|
11521
|
+
weight: number().positive().default(1),
|
|
11522
|
+
maxSessions: number().int().positive().nullable().default(null)
|
|
11523
|
+
});
|
|
11524
|
+
/**
|
|
11480
11525
|
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
11481
11526
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
11482
11527
|
* runner needs to subscribe to the local broker and execute inference.
|
|
@@ -11594,7 +11639,16 @@ var RunnerCameraConfigSchema = object({
|
|
|
11594
11639
|
* omitted ⇒ the runner's default device. The engine itself stays node-local —
|
|
11595
11640
|
* this only selects WHICH device pool of that node runs the session.
|
|
11596
11641
|
*/
|
|
11597
|
-
deviceKey: string().optional()
|
|
11642
|
+
deviceKey: string().optional(),
|
|
11643
|
+
/**
|
|
11644
|
+
* Step-tree device-jump roster (phase 1): the node's ENABLED inference
|
|
11645
|
+
* devices, populated by the orchestrator ONLY when `deviceKey` is set and the
|
|
11646
|
+
* node has ≥2 enabled devices. The runner uses it to AUTO-jump an enrichment
|
|
11647
|
+
* step whose model has no build for the elected device's format onto another
|
|
11648
|
+
* enabled device of the SAME node (weighted-least-loaded). Absent/single-entry
|
|
11649
|
+
* ⇒ no jump possible; the step runs on `deviceKey`.
|
|
11650
|
+
*/
|
|
11651
|
+
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
11598
11652
|
});
|
|
11599
11653
|
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
11600
11654
|
/**
|
|
@@ -11650,7 +11704,18 @@ var RunnerLocalMetricsSchema = object({
|
|
|
11650
11704
|
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
|
|
11651
11705
|
handle: FrameHandleSchema,
|
|
11652
11706
|
bbox: NativeCropBboxSchema,
|
|
11653
|
-
maxWidth: number().int().positive().optional()
|
|
11707
|
+
maxWidth: number().int().positive().optional(),
|
|
11708
|
+
/**
|
|
11709
|
+
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
11710
|
+
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
11711
|
+
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
11712
|
+
* agent) so the compressed payload fits Moleculer's `maxPacketSize` and
|
|
11713
|
+
* no raw pixels cross the process boundary. Same-node callers omit it
|
|
11714
|
+
* and keep the zero-copy raw `bytes` path. Additive + optional: a
|
|
11715
|
+
* pre-encode runner (version skew) ignores it and returns `bytes`, so
|
|
11716
|
+
* the caller falls back to encoding locally.
|
|
11717
|
+
*/
|
|
11718
|
+
encodeJpeg: boolean().optional()
|
|
11654
11719
|
}), NativeCropResultSchema.nullable()), method(object({
|
|
11655
11720
|
deviceId: number(),
|
|
11656
11721
|
frameHandle: FrameHandleSchema.optional(),
|
|
@@ -14678,7 +14743,8 @@ var LinkedDeviceSchema = object({
|
|
|
14678
14743
|
deviceId: number(),
|
|
14679
14744
|
name: string(),
|
|
14680
14745
|
location: string().nullable(),
|
|
14681
|
-
features: array(string())
|
|
14746
|
+
features: array(string()),
|
|
14747
|
+
producesTrackedEvents: boolean().optional()
|
|
14682
14748
|
});
|
|
14683
14749
|
var SavedDeviceRowSchema = object({
|
|
14684
14750
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
@@ -16308,6 +16374,7 @@ var TrackSchema = object({
|
|
|
16308
16374
|
deviceId: number(),
|
|
16309
16375
|
className: string(),
|
|
16310
16376
|
label: string().optional(),
|
|
16377
|
+
producingDeviceName: string().optional(),
|
|
16311
16378
|
/** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
|
|
16312
16379
|
source: TrackSourceSchema.optional(),
|
|
16313
16380
|
firstSeen: number(),
|
|
@@ -16445,7 +16512,8 @@ var MediaFileKindEnum = _enum([
|
|
|
16445
16512
|
"fullFrameBoxed",
|
|
16446
16513
|
"faceCrop",
|
|
16447
16514
|
"plateCrop",
|
|
16448
|
-
"keyFrame"
|
|
16515
|
+
"keyFrame",
|
|
16516
|
+
"keyFrameSmall"
|
|
16449
16517
|
]);
|
|
16450
16518
|
var MediaFileSchema = object({
|
|
16451
16519
|
key: string(),
|
|
@@ -16776,7 +16844,16 @@ var PipelineTemplateSchema = object({
|
|
|
16776
16844
|
});
|
|
16777
16845
|
var DeviceStepConfigSchema = object({
|
|
16778
16846
|
modelId: string().optional(),
|
|
16779
|
-
settings: record(string(), unknown()).optional()
|
|
16847
|
+
settings: record(string(), unknown()).optional(),
|
|
16848
|
+
/**
|
|
16849
|
+
* Step-tree device jump (same-node, phase 1) — OPTIONAL manual override.
|
|
16850
|
+
* When set, this step runs on the named enabled device of the SAME node
|
|
16851
|
+
* (`<backend>:<device>`) instead of the camera's elected device, bypassing
|
|
16852
|
+
* the runtime AUTO-jump. The orchestrator rejects a `jumpDeviceKey` pointing
|
|
16853
|
+
* at a disabled/absent device on that node at save time. Absent ⇒ the runner
|
|
16854
|
+
* auto-jumps only when the effective device's format cannot run the step.
|
|
16855
|
+
*/
|
|
16856
|
+
jumpDeviceKey: string().optional()
|
|
16780
16857
|
});
|
|
16781
16858
|
var AgentPipelineSettingsSchema = object({
|
|
16782
16859
|
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
@@ -11015,7 +11015,8 @@ var PipelineStepInputSchema = lazy(() => object({
|
|
|
11015
11015
|
modelId: string().optional(),
|
|
11016
11016
|
enabled: boolean().default(true),
|
|
11017
11017
|
children: array(PipelineStepInputSchema).optional(),
|
|
11018
|
-
settings: record(string(), unknown()).optional()
|
|
11018
|
+
settings: record(string(), unknown()).optional(),
|
|
11019
|
+
jumpDeviceKey: string().optional()
|
|
11019
11020
|
}));
|
|
11020
11021
|
var ModelSubstitutionSchema = object({
|
|
11021
11022
|
addonId: string(),
|
|
@@ -11321,10 +11322,40 @@ var NativeCropBboxSchema = object({
|
|
|
11321
11322
|
});
|
|
11322
11323
|
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
11323
11324
|
var NativeCropResultSchema = object({
|
|
11324
|
-
/**
|
|
11325
|
-
|
|
11325
|
+
/**
|
|
11326
|
+
* Packed rgb (24-bit) pixels of the crop. Present on the DEFAULT (raw) path —
|
|
11327
|
+
* same-node (in-process / UDS) callers get zero-copy RGB and encode locally.
|
|
11328
|
+
* OMITTED when the caller requested `encodeJpeg` (the cross-node compressed
|
|
11329
|
+
* path below), where shipping raw RGB is both an invariant violation and, for
|
|
11330
|
+
* a native full frame (~26 MB at 4K), larger than Moleculer's 10 MB
|
|
11331
|
+
* `maxPacketSize` → the packet is dropped and the call 60s-times-out. That is
|
|
11332
|
+
* the cross-node native-media miss: `bytes` is replaced by `jpeg`.
|
|
11333
|
+
*/
|
|
11334
|
+
bytes: _instanceof(Uint8Array).optional(),
|
|
11335
|
+
/**
|
|
11336
|
+
* Base64 JPEG of the crop — the COMPRESSED cross-node payload. The OWNING node
|
|
11337
|
+
* (which holds the native surface) encodes it in-process, so a native 4K frame
|
|
11338
|
+
* ships as ~0.5–2 MB (well under `maxPacketSize`) and NO raw pixels ever cross
|
|
11339
|
+
* a process boundary (CLAUDE.md invariant #21). Present ONLY when the request
|
|
11340
|
+
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
11341
|
+
*/
|
|
11342
|
+
jpeg: string().optional(),
|
|
11326
11343
|
width: number().int().positive(),
|
|
11327
|
-
height: number().int().positive()
|
|
11344
|
+
height: number().int().positive(),
|
|
11345
|
+
/**
|
|
11346
|
+
* Which source served this crop, so a quality-sensitive consumer (the native
|
|
11347
|
+
* `keyFrame`) can reject a degraded fallback:
|
|
11348
|
+
* - `native` — cut from the decode worker's retained NATIVE surface (the
|
|
11349
|
+
* quality path).
|
|
11350
|
+
* - `ram-fullframe` — the native surface MISSED but the request was full-frame,
|
|
11351
|
+
* so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
|
|
11352
|
+
* the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
|
|
11353
|
+
*
|
|
11354
|
+
* OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
|
|
11355
|
+
* treated as `native` (accepted) by every consumer so mixed-version clusters
|
|
11356
|
+
* keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
|
|
11357
|
+
*/
|
|
11358
|
+
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
11328
11359
|
});
|
|
11329
11360
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11330
11361
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
@@ -11454,6 +11485,20 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
11454
11485
|
hubHostnameOverride: string().optional()
|
|
11455
11486
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
11456
11487
|
/**
|
|
11488
|
+
* One ENABLED inference device on the runner's node, as the step-tree
|
|
11489
|
+
* device-jump resolver sees it (phase 1). The orchestrator populates this
|
|
11490
|
+
* roster on the attach payload whenever the camera is elected onto a specific
|
|
11491
|
+
* `deviceKey` and the node has ≥2 enabled devices — it is the candidate set the
|
|
11492
|
+
* runner auto-jumps an enrichment step to when the elected device's format
|
|
11493
|
+
* cannot run that step's model. `weight`/`maxSessions` mirror the balancer's
|
|
11494
|
+
* per-device knobs so the auto choice is weighted-least-loaded.
|
|
11495
|
+
*/
|
|
11496
|
+
var RunnerInferenceDeviceSchema = object({
|
|
11497
|
+
deviceKey: string(),
|
|
11498
|
+
weight: number().positive().default(1),
|
|
11499
|
+
maxSessions: number().int().positive().nullable().default(null)
|
|
11500
|
+
});
|
|
11501
|
+
/**
|
|
11457
11502
|
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
11458
11503
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
11459
11504
|
* runner needs to subscribe to the local broker and execute inference.
|
|
@@ -11571,7 +11616,16 @@ var RunnerCameraConfigSchema = object({
|
|
|
11571
11616
|
* omitted ⇒ the runner's default device. The engine itself stays node-local —
|
|
11572
11617
|
* this only selects WHICH device pool of that node runs the session.
|
|
11573
11618
|
*/
|
|
11574
|
-
deviceKey: string().optional()
|
|
11619
|
+
deviceKey: string().optional(),
|
|
11620
|
+
/**
|
|
11621
|
+
* Step-tree device-jump roster (phase 1): the node's ENABLED inference
|
|
11622
|
+
* devices, populated by the orchestrator ONLY when `deviceKey` is set and the
|
|
11623
|
+
* node has ≥2 enabled devices. The runner uses it to AUTO-jump an enrichment
|
|
11624
|
+
* step whose model has no build for the elected device's format onto another
|
|
11625
|
+
* enabled device of the SAME node (weighted-least-loaded). Absent/single-entry
|
|
11626
|
+
* ⇒ no jump possible; the step runs on `deviceKey`.
|
|
11627
|
+
*/
|
|
11628
|
+
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
11575
11629
|
});
|
|
11576
11630
|
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
11577
11631
|
/**
|
|
@@ -11627,7 +11681,18 @@ var RunnerLocalMetricsSchema = object({
|
|
|
11627
11681
|
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
|
|
11628
11682
|
handle: FrameHandleSchema,
|
|
11629
11683
|
bbox: NativeCropBboxSchema,
|
|
11630
|
-
maxWidth: number().int().positive().optional()
|
|
11684
|
+
maxWidth: number().int().positive().optional(),
|
|
11685
|
+
/**
|
|
11686
|
+
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
11687
|
+
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
11688
|
+
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
11689
|
+
* agent) so the compressed payload fits Moleculer's `maxPacketSize` and
|
|
11690
|
+
* no raw pixels cross the process boundary. Same-node callers omit it
|
|
11691
|
+
* and keep the zero-copy raw `bytes` path. Additive + optional: a
|
|
11692
|
+
* pre-encode runner (version skew) ignores it and returns `bytes`, so
|
|
11693
|
+
* the caller falls back to encoding locally.
|
|
11694
|
+
*/
|
|
11695
|
+
encodeJpeg: boolean().optional()
|
|
11631
11696
|
}), NativeCropResultSchema.nullable()), method(object({
|
|
11632
11697
|
deviceId: number(),
|
|
11633
11698
|
frameHandle: FrameHandleSchema.optional(),
|
|
@@ -14655,7 +14720,8 @@ var LinkedDeviceSchema = object({
|
|
|
14655
14720
|
deviceId: number(),
|
|
14656
14721
|
name: string(),
|
|
14657
14722
|
location: string().nullable(),
|
|
14658
|
-
features: array(string())
|
|
14723
|
+
features: array(string()),
|
|
14724
|
+
producesTrackedEvents: boolean().optional()
|
|
14659
14725
|
});
|
|
14660
14726
|
var SavedDeviceRowSchema = object({
|
|
14661
14727
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
@@ -16285,6 +16351,7 @@ var TrackSchema = object({
|
|
|
16285
16351
|
deviceId: number(),
|
|
16286
16352
|
className: string(),
|
|
16287
16353
|
label: string().optional(),
|
|
16354
|
+
producingDeviceName: string().optional(),
|
|
16288
16355
|
/** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
|
|
16289
16356
|
source: TrackSourceSchema.optional(),
|
|
16290
16357
|
firstSeen: number(),
|
|
@@ -16422,7 +16489,8 @@ var MediaFileKindEnum = _enum([
|
|
|
16422
16489
|
"fullFrameBoxed",
|
|
16423
16490
|
"faceCrop",
|
|
16424
16491
|
"plateCrop",
|
|
16425
|
-
"keyFrame"
|
|
16492
|
+
"keyFrame",
|
|
16493
|
+
"keyFrameSmall"
|
|
16426
16494
|
]);
|
|
16427
16495
|
var MediaFileSchema = object({
|
|
16428
16496
|
key: string(),
|
|
@@ -16753,7 +16821,16 @@ var PipelineTemplateSchema = object({
|
|
|
16753
16821
|
});
|
|
16754
16822
|
var DeviceStepConfigSchema = object({
|
|
16755
16823
|
modelId: string().optional(),
|
|
16756
|
-
settings: record(string(), unknown()).optional()
|
|
16824
|
+
settings: record(string(), unknown()).optional(),
|
|
16825
|
+
/**
|
|
16826
|
+
* Step-tree device jump (same-node, phase 1) — OPTIONAL manual override.
|
|
16827
|
+
* When set, this step runs on the named enabled device of the SAME node
|
|
16828
|
+
* (`<backend>:<device>`) instead of the camera's elected device, bypassing
|
|
16829
|
+
* the runtime AUTO-jump. The orchestrator rejects a `jumpDeviceKey` pointing
|
|
16830
|
+
* at a disabled/absent device on that node at save time. Absent ⇒ the runner
|
|
16831
|
+
* auto-jumps only when the effective device's format cannot run the step.
|
|
16832
|
+
*/
|
|
16833
|
+
jumpDeviceKey: string().optional()
|
|
16757
16834
|
});
|
|
16758
16835
|
var AgentPipelineSettingsSchema = object({
|
|
16759
16836
|
maxCameras: number().int().nonnegative().nullable().default(null),
|
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-B_GfteRr.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-Co8avCOn.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