@camstack/addon-remote-storage 1.2.81 → 1.2.83

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 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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-BW3uxISk.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-D53CqDis.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-CxqHJ1Hd.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";
@@ -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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-BW3uxISk.js");
6
6
  let ssh2 = require("ssh2");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -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-D53CqDis.mjs";
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-CxqHJ1Hd.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
@@ -18386,11 +18386,30 @@ var SensorEventSchema = object({
18386
18386
  value: record(string(), unknown()).nullable(),
18387
18387
  timestamp: number()
18388
18388
  });
18389
+ /**
18390
+ * One stored sighting on a track's trajectory.
18391
+ *
18392
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18393
+ * arrival order, and the two detector passes interleave, so a consumer must not
18394
+ * assume the two are the same on a row written by an older build.
18395
+ */
18389
18396
  var TrackPositionSchema = object({
18390
18397
  x: number(),
18391
18398
  y: number(),
18392
18399
  timestamp: number(),
18393
- bbox: BoundingBoxSchema
18400
+ bbox: BoundingBoxSchema,
18401
+ /**
18402
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18403
+ * pass on the analysis raster, `recovery` is the native-resolution
18404
+ * small-subject second pass (D377/D378). Both write into one array, and until
18405
+ * this field existed the only way to tell them apart was that full-frame boxes
18406
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18407
+ * Absent on rows written before D399.
18408
+ */
18409
+ source: _enum(["frame", "recovery"]).optional(),
18410
+ /** Detection score of this box, so a position can be weighed and not only
18411
+ * plotted. Absent on rows written before D399. */
18412
+ score: number().optional()
18394
18413
  });
18395
18414
  var TrackSnapshotSchema = object({
18396
18415
  timestamp: number(),
@@ -18790,14 +18809,25 @@ var TrackSchema = object({
18790
18809
  */
18791
18810
  hasRider: boolean().optional(),
18792
18811
  /**
18793
- * WHY this track ended without a NATIVE best-shot tile
18794
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18812
+ * WHY this track ended without a NATIVE best-shot FRAME
18813
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18814
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18795
18815
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18796
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18797
- * the late-keyFrame upgrade when a native tile lands after all. The
18798
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18816
+ * `derive-returned-null tile=standin`,
18817
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18818
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18819
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18799
18820
  * tile is a face/plate stand-in, a raster crop, or an icon.
18800
18821
  *
18822
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18823
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18824
+ * while its key frame missed carried no reason at all — three of the four
18825
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18826
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18827
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18828
+ * lastFrame copy source`), so its absence is now on this line whatever the
18829
+ * tile ended up being.
18830
+ *
18801
18831
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18802
18832
  * that predates the field, and every track whose tile landed native all
18803
18833
  * omit it. Render nothing when absent.
@@ -27165,8 +27195,27 @@ var PrivacyMaskRegionSchema = object({
27165
27195
  });
27166
27196
  object({
27167
27197
  enabled: boolean(),
27168
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27169
- regions: array(PrivacyMaskRegionSchema),
27198
+ /**
27199
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27200
+ *
27201
+ * `null` means "no answer" — the provider has never reached this camera
27202
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27203
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27204
+ * has no zones": those two look identical to an operator right up to the
27205
+ * moment one of them is acted on, and acting on them differs completely.
27206
+ * The switch group turned an unanswered read into *"nothing is set up for
27207
+ * it to act on"* — an instruction to go and draw a zone that already
27208
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27209
+ * from deleting the mask it could not read.
27210
+ *
27211
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27212
+ * has no zones. The distinction is the same one {@link
27213
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27214
+ * microphone, on the very same payload — both planes come from ONE refresh,
27215
+ * so it was never coherent for one of them to be able to say "unknown"
27216
+ * while the other could not.
27217
+ */
27218
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27170
27219
  /**
27171
27220
  * Is the camera capturing sound right now? Read from the camera, never from
27172
27221
  * a server-side mirror.
@@ -18363,11 +18363,30 @@ var SensorEventSchema = object({
18363
18363
  value: record(string(), unknown()).nullable(),
18364
18364
  timestamp: number()
18365
18365
  });
18366
+ /**
18367
+ * One stored sighting on a track's trajectory.
18368
+ *
18369
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18370
+ * arrival order, and the two detector passes interleave, so a consumer must not
18371
+ * assume the two are the same on a row written by an older build.
18372
+ */
18366
18373
  var TrackPositionSchema = object({
18367
18374
  x: number(),
18368
18375
  y: number(),
18369
18376
  timestamp: number(),
18370
- bbox: BoundingBoxSchema
18377
+ bbox: BoundingBoxSchema,
18378
+ /**
18379
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18380
+ * pass on the analysis raster, `recovery` is the native-resolution
18381
+ * small-subject second pass (D377/D378). Both write into one array, and until
18382
+ * this field existed the only way to tell them apart was that full-frame boxes
18383
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18384
+ * Absent on rows written before D399.
18385
+ */
18386
+ source: _enum(["frame", "recovery"]).optional(),
18387
+ /** Detection score of this box, so a position can be weighed and not only
18388
+ * plotted. Absent on rows written before D399. */
18389
+ score: number().optional()
18371
18390
  });
18372
18391
  var TrackSnapshotSchema = object({
18373
18392
  timestamp: number(),
@@ -18767,14 +18786,25 @@ var TrackSchema = object({
18767
18786
  */
18768
18787
  hasRider: boolean().optional(),
18769
18788
  /**
18770
- * WHY this track ended without a NATIVE best-shot tile
18771
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18789
+ * WHY this track ended without a NATIVE best-shot FRAME
18790
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18791
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18772
18792
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18773
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18774
- * the late-keyFrame upgrade when a native tile lands after all. The
18775
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18793
+ * `derive-returned-null tile=standin`,
18794
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18795
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18796
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18776
18797
  * tile is a face/plate stand-in, a raster crop, or an icon.
18777
18798
  *
18799
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18800
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18801
+ * while its key frame missed carried no reason at all — three of the four
18802
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18803
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18804
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18805
+ * lastFrame copy source`), so its absence is now on this line whatever the
18806
+ * tile ended up being.
18807
+ *
18778
18808
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18779
18809
  * that predates the field, and every track whose tile landed native all
18780
18810
  * omit it. Render nothing when absent.
@@ -27142,8 +27172,27 @@ var PrivacyMaskRegionSchema = object({
27142
27172
  });
27143
27173
  object({
27144
27174
  enabled: boolean(),
27145
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27146
- regions: array(PrivacyMaskRegionSchema),
27175
+ /**
27176
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27177
+ *
27178
+ * `null` means "no answer" — the provider has never reached this camera
27179
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27180
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27181
+ * has no zones": those two look identical to an operator right up to the
27182
+ * moment one of them is acted on, and acting on them differs completely.
27183
+ * The switch group turned an unanswered read into *"nothing is set up for
27184
+ * it to act on"* — an instruction to go and draw a zone that already
27185
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27186
+ * from deleting the mask it could not read.
27187
+ *
27188
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27189
+ * has no zones. The distinction is the same one {@link
27190
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27191
+ * microphone, on the very same payload — both planes come from ONE refresh,
27192
+ * so it was never coherent for one of them to be able to say "unknown"
27193
+ * while the other could not.
27194
+ */
27195
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27147
27196
  /**
27148
27197
  * Is the camera capturing sound right now? Read from the camera, never from
27149
27198
  * a server-side mirror.
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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-BW3uxISk.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);
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-D53CqDis.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-CxqHJ1Hd.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";
@@ -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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-BW3uxISk.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
@@ -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-D53CqDis.mjs";
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-CxqHJ1Hd.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-remote-storage",
3
- "version": "1.2.81",
3
+ "version": "1.2.83",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",