@camstack/addon-remote-storage 1.1.15 → 1.1.16

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-CCwZkQ8w.js");
5
+ const require_shared = require("./shared-DAnfUk9-.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-Gufyq4pP.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-adXJdGLb.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-CCwZkQ8w.js");
5
+ const require_shared = require("./shared-DAnfUk9-.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-Gufyq4pP.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-adXJdGLb.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
@@ -14980,7 +14980,10 @@ var AgentLoadSummarySchema = object({
14980
14980
  online: boolean(),
14981
14981
  load: RunnerLocalLoadSchema,
14982
14982
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
14983
- score: number()
14983
+ score: number(),
14984
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
14985
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
14986
+ decodeHwaccel: string().nullable()
14984
14987
  });
14985
14988
  /**
14986
14989
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17561,7 +17564,7 @@ var HardwareEncoderIdSchema = _enum([
17561
17564
  "libx264",
17562
17565
  "libx265"
17563
17566
  ]);
17564
- var HardwareEncodersSchema = object({
17567
+ object({
17565
17568
  encoders: array(object({
17566
17569
  encoder: HardwareEncoderIdSchema,
17567
17570
  codec: _enum(["H264", "H265"]),
@@ -17580,15 +17583,7 @@ var HardwareEncodersSchema = object({
17580
17583
  defaultH265: HardwareEncoderIdSchema,
17581
17584
  probedAt: number()
17582
17585
  });
17583
- /**
17584
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17585
- * methods the configured ffmpeg binary actually supports (parsed from
17586
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17587
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17588
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17589
- * software fallback — this only filters out wholly-unsupported backends.
17590
- */
17591
- var HardwareDecodeAccelsSchema = object({
17586
+ object({
17592
17587
  methods: array(string()).readonly(),
17593
17588
  probedAt: number()
17594
17589
  });
@@ -17651,13 +17646,7 @@ var ResolvedInferenceConfigSchema = object({
17651
17646
  format: ModelFormatSchema,
17652
17647
  reason: string()
17653
17648
  });
17654
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17655
- kind: "mutation",
17656
- auth: "admin"
17657
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17658
- kind: "mutation",
17659
- auth: "admin"
17660
- });
17649
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17661
17650
  var PtzPresetSchema = object({
17662
17651
  id: string(),
17663
17652
  name: string()
@@ -21282,30 +21271,6 @@ Object.freeze({
21282
21271
  addonId: null,
21283
21272
  access: "view"
21284
21273
  },
21285
- "platformProbe.getHardwareDecodeAccels": {
21286
- capName: "platform-probe",
21287
- capScope: "system",
21288
- addonId: null,
21289
- access: "view"
21290
- },
21291
- "platformProbe.getHardwareEncoders": {
21292
- capName: "platform-probe",
21293
- capScope: "system",
21294
- addonId: null,
21295
- access: "view"
21296
- },
21297
- "platformProbe.refreshHardwareDecodeAccels": {
21298
- capName: "platform-probe",
21299
- capScope: "system",
21300
- addonId: null,
21301
- access: "create"
21302
- },
21303
- "platformProbe.refreshHardwareEncoders": {
21304
- capName: "platform-probe",
21305
- capScope: "system",
21306
- addonId: null,
21307
- access: "create"
21308
- },
21309
21274
  "platformProbe.resolveHwAccel": {
21310
21275
  capName: "platform-probe",
21311
21276
  capScope: "system",
@@ -14957,7 +14957,10 @@ var AgentLoadSummarySchema = object({
14957
14957
  online: boolean(),
14958
14958
  load: RunnerLocalLoadSchema,
14959
14959
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
14960
- score: number()
14960
+ score: number(),
14961
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
14962
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
14963
+ decodeHwaccel: string().nullable()
14961
14964
  });
14962
14965
  /**
14963
14966
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17538,7 +17541,7 @@ var HardwareEncoderIdSchema = _enum([
17538
17541
  "libx264",
17539
17542
  "libx265"
17540
17543
  ]);
17541
- var HardwareEncodersSchema = object({
17544
+ object({
17542
17545
  encoders: array(object({
17543
17546
  encoder: HardwareEncoderIdSchema,
17544
17547
  codec: _enum(["H264", "H265"]),
@@ -17557,15 +17560,7 @@ var HardwareEncodersSchema = object({
17557
17560
  defaultH265: HardwareEncoderIdSchema,
17558
17561
  probedAt: number()
17559
17562
  });
17560
- /**
17561
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17562
- * methods the configured ffmpeg binary actually supports (parsed from
17563
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17564
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17565
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17566
- * software fallback — this only filters out wholly-unsupported backends.
17567
- */
17568
- var HardwareDecodeAccelsSchema = object({
17563
+ object({
17569
17564
  methods: array(string()).readonly(),
17570
17565
  probedAt: number()
17571
17566
  });
@@ -17628,13 +17623,7 @@ var ResolvedInferenceConfigSchema = object({
17628
17623
  format: ModelFormatSchema,
17629
17624
  reason: string()
17630
17625
  });
17631
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17632
- kind: "mutation",
17633
- auth: "admin"
17634
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17635
- kind: "mutation",
17636
- auth: "admin"
17637
- });
17626
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17638
17627
  var PtzPresetSchema = object({
17639
17628
  id: string(),
17640
17629
  name: string()
@@ -21259,30 +21248,6 @@ Object.freeze({
21259
21248
  addonId: null,
21260
21249
  access: "view"
21261
21250
  },
21262
- "platformProbe.getHardwareDecodeAccels": {
21263
- capName: "platform-probe",
21264
- capScope: "system",
21265
- addonId: null,
21266
- access: "view"
21267
- },
21268
- "platformProbe.getHardwareEncoders": {
21269
- capName: "platform-probe",
21270
- capScope: "system",
21271
- addonId: null,
21272
- access: "view"
21273
- },
21274
- "platformProbe.refreshHardwareDecodeAccels": {
21275
- capName: "platform-probe",
21276
- capScope: "system",
21277
- addonId: null,
21278
- access: "create"
21279
- },
21280
- "platformProbe.refreshHardwareEncoders": {
21281
- capName: "platform-probe",
21282
- capScope: "system",
21283
- addonId: null,
21284
- access: "create"
21285
- },
21286
21251
  "platformProbe.resolveHwAccel": {
21287
21252
  capName: "platform-probe",
21288
21253
  capScope: "system",
@@ -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-CCwZkQ8w.js");
5
+ const require_shared = require("./shared-DAnfUk9-.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-Gufyq4pP.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-adXJdGLb.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.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",