@camstack/addon-remote-storage 1.2.17 → 1.2.18

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-xQFRTCIN.js");
5
+ const require_shared = require("./shared-C48hU09g.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-_sLM9Y1A.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-Cud38F0U.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-xQFRTCIN.js");
5
+ const require_shared = require("./shared-C48hU09g.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-_sLM9Y1A.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-Cud38F0U.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
@@ -19068,7 +19068,31 @@ DeviceType.Camera, method(object({
19068
19068
  lastCapturedAt: number().nullable(),
19069
19069
  cacheAgeMs: number().nullable(),
19070
19070
  etag: string().nullable()
19071
- }))), systemMethod(object({
19071
+ }))), systemMethod(object({ deviceId: number() }), object({
19072
+ /** The battery slice as read, or null when the device has none. */
19073
+ battery: object({
19074
+ sleeping: boolean(),
19075
+ lastUpdated: number(),
19076
+ lastContactAt: number().optional()
19077
+ }).nullable(),
19078
+ /** The resolved snapshot state (what the overlay decision used). */
19079
+ state: object({
19080
+ isBattery: boolean(),
19081
+ reason: _enum([
19082
+ "disabled",
19083
+ "sleeping",
19084
+ "unreachable",
19085
+ "waking"
19086
+ ]).nullable()
19087
+ }),
19088
+ /** The cached frame behind the next paint. */
19089
+ frame: object({
19090
+ capturedAt: number().nullable(),
19091
+ ageMs: number().nullable()
19092
+ }),
19093
+ /** A wake window is currently open (the Waking overlay's source). */
19094
+ waking: boolean()
19095
+ })), systemMethod(object({
19072
19096
  /** The tiles a surface is actually rendering. One entry per (device,
19073
19097
  * width) the caller will paint — the width is snapped to the server's
19074
19098
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30328,6 +30352,12 @@ Object.freeze({
30328
30352
  addonId: null,
30329
30353
  access: "view"
30330
30354
  },
30355
+ "snapshot.getDebugState": {
30356
+ capName: "snapshot",
30357
+ capScope: "device",
30358
+ addonId: null,
30359
+ access: "view"
30360
+ },
30331
30361
  "snapshot.getSnapshot": {
30332
30362
  capName: "snapshot",
30333
30363
  capScope: "device",
@@ -32925,6 +32955,11 @@ Object.freeze({
32925
32955
  form: "single",
32926
32956
  optional: false
32927
32957
  }],
32958
+ "snapshot.getDebugState": [{
32959
+ name: "deviceId",
32960
+ form: "single",
32961
+ optional: false
32962
+ }],
32928
32963
  "snapshot.getSnapshot": [{
32929
32964
  name: "deviceId",
32930
32965
  form: "single",
@@ -19045,7 +19045,31 @@ DeviceType.Camera, method(object({
19045
19045
  lastCapturedAt: number().nullable(),
19046
19046
  cacheAgeMs: number().nullable(),
19047
19047
  etag: string().nullable()
19048
- }))), systemMethod(object({
19048
+ }))), systemMethod(object({ deviceId: number() }), object({
19049
+ /** The battery slice as read, or null when the device has none. */
19050
+ battery: object({
19051
+ sleeping: boolean(),
19052
+ lastUpdated: number(),
19053
+ lastContactAt: number().optional()
19054
+ }).nullable(),
19055
+ /** The resolved snapshot state (what the overlay decision used). */
19056
+ state: object({
19057
+ isBattery: boolean(),
19058
+ reason: _enum([
19059
+ "disabled",
19060
+ "sleeping",
19061
+ "unreachable",
19062
+ "waking"
19063
+ ]).nullable()
19064
+ }),
19065
+ /** The cached frame behind the next paint. */
19066
+ frame: object({
19067
+ capturedAt: number().nullable(),
19068
+ ageMs: number().nullable()
19069
+ }),
19070
+ /** A wake window is currently open (the Waking overlay's source). */
19071
+ waking: boolean()
19072
+ })), systemMethod(object({
19049
19073
  /** The tiles a surface is actually rendering. One entry per (device,
19050
19074
  * width) the caller will paint — the width is snapped to the server's
19051
19075
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30305,6 +30329,12 @@ Object.freeze({
30305
30329
  addonId: null,
30306
30330
  access: "view"
30307
30331
  },
30332
+ "snapshot.getDebugState": {
30333
+ capName: "snapshot",
30334
+ capScope: "device",
30335
+ addonId: null,
30336
+ access: "view"
30337
+ },
30308
30338
  "snapshot.getSnapshot": {
30309
30339
  capName: "snapshot",
30310
30340
  capScope: "device",
@@ -32902,6 +32932,11 @@ Object.freeze({
32902
32932
  form: "single",
32903
32933
  optional: false
32904
32934
  }],
32935
+ "snapshot.getDebugState": [{
32936
+ name: "deviceId",
32937
+ form: "single",
32938
+ optional: false
32939
+ }],
32905
32940
  "snapshot.getSnapshot": [{
32906
32941
  name: "deviceId",
32907
32942
  form: "single",
@@ -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-xQFRTCIN.js");
5
+ const require_shared = require("./shared-C48hU09g.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-_sLM9Y1A.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-Cud38F0U.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.17",
3
+ "version": "1.2.18",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",