@camstack/addon-remote-storage 1.1.22 → 1.1.23

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-BS3ZpipR.js");
5
+ const require_shared = require("./shared-BL-GGrW8.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-DQjNIB1f.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-CFMg2pY9.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-BS3ZpipR.js");
5
+ const require_shared = require("./shared-BL-GGrW8.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-DQjNIB1f.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-CFMg2pY9.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
@@ -4652,7 +4652,7 @@ function _instanceof(cls, params = {}) {
4652
4652
  return inst;
4653
4653
  }
4654
4654
  //#endregion
4655
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4655
+ //#region ../types/dist/sleep-Baang_XW.mjs
4656
4656
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4657
4657
  EventCategory["SystemBoot"] = "system.boot";
4658
4658
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -10688,7 +10688,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
10688
10688
  image: _instanceof(Uint8Array).optional(),
10689
10689
  referenceImage: string().optional(),
10690
10690
  deviceId: number().optional(),
10691
- sessionId: string().optional()
10691
+ sessionId: string().optional(),
10692
+ /**
10693
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
10694
+ * reference-image, and detail-subtree calls. 'frame' is the live
10695
+ * per-frame dispatch: ONLY root-plane steps run; crop children
10696
+ * (inputClasses ≠ null) are skipped and served per-track via
10697
+ * pipelineRunner.runDetailSubtree (two-plane design).
10698
+ */
10699
+ plane: _enum(["full", "frame"]).optional()
10692
10700
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
10693
10701
  engine: PipelineEngineChoiceSchema.optional(),
10694
10702
  steps: array(PipelineStepInputSchema).min(1),
@@ -10831,6 +10839,28 @@ var NativeCropResultSchema = object({
10831
10839
  width: number().int().positive(),
10832
10840
  height: number().int().positive()
10833
10841
  });
10842
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
10843
+ * originating detection, in FRAME-space coordinates. Reuses
10844
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
10845
+ * the coordinates are frame-space rather than getNativeCrop's
10846
+ * normalized [0,1] convention). */
10847
+ var DetailParentSchema = object({
10848
+ bbox: NativeCropBboxSchema,
10849
+ className: string()
10850
+ });
10851
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
10852
+ * or refined detection produced by running the crop-subtree on a
10853
+ * single tracked detection. */
10854
+ var DetailResultSchema = object({
10855
+ stepId: string(),
10856
+ className: string(),
10857
+ score: number(),
10858
+ /** FRAME-space bbox (already mapped back from crop space). */
10859
+ bbox: NativeCropBboxSchema.optional(),
10860
+ embedding: string().optional(),
10861
+ label: string().optional(),
10862
+ alignedCropJpeg: string().optional()
10863
+ });
10834
10864
  /**
10835
10865
  * Per-camera tunable ranges + defaults. Single source of truth used
10836
10866
  * by both the Zod data schema (validation + default fallback) and
@@ -11091,7 +11121,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
11091
11121
  handle: FrameHandleSchema,
11092
11122
  bbox: NativeCropBboxSchema,
11093
11123
  maxWidth: number().int().positive().optional()
11094
- }), NativeCropResultSchema.nullable());
11124
+ }), NativeCropResultSchema.nullable()), method(object({
11125
+ deviceId: number(),
11126
+ frameHandle: FrameHandleSchema.optional(),
11127
+ cropJpeg: string().optional(),
11128
+ parent: DetailParentSchema,
11129
+ steps: array(string()).optional()
11130
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
11095
11131
  object({
11096
11132
  detected: boolean(),
11097
11133
  /** Ms epoch of the last detected-true observation. Null if never detected. */
@@ -21953,6 +21989,12 @@ Object.freeze({
21953
21989
  addonId: null,
21954
21990
  access: "create"
21955
21991
  },
21992
+ "pipelineRunner.runDetailSubtree": {
21993
+ capName: "pipeline-runner",
21994
+ capScope: "system",
21995
+ addonId: null,
21996
+ access: "create"
21997
+ },
21956
21998
  "plateGallery.correctPlateText": {
21957
21999
  capName: "plate-gallery",
21958
22000
  capScope: "system",
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
4629
4629
  return inst;
4630
4630
  }
4631
4631
  //#endregion
4632
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4632
+ //#region ../types/dist/sleep-Baang_XW.mjs
4633
4633
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4634
4634
  EventCategory["SystemBoot"] = "system.boot";
4635
4635
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -10665,7 +10665,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
10665
10665
  image: _instanceof(Uint8Array).optional(),
10666
10666
  referenceImage: string().optional(),
10667
10667
  deviceId: number().optional(),
10668
- sessionId: string().optional()
10668
+ sessionId: string().optional(),
10669
+ /**
10670
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
10671
+ * reference-image, and detail-subtree calls. 'frame' is the live
10672
+ * per-frame dispatch: ONLY root-plane steps run; crop children
10673
+ * (inputClasses ≠ null) are skipped and served per-track via
10674
+ * pipelineRunner.runDetailSubtree (two-plane design).
10675
+ */
10676
+ plane: _enum(["full", "frame"]).optional()
10669
10677
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
10670
10678
  engine: PipelineEngineChoiceSchema.optional(),
10671
10679
  steps: array(PipelineStepInputSchema).min(1),
@@ -10808,6 +10816,28 @@ var NativeCropResultSchema = object({
10808
10816
  width: number().int().positive(),
10809
10817
  height: number().int().positive()
10810
10818
  });
10819
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
10820
+ * originating detection, in FRAME-space coordinates. Reuses
10821
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
10822
+ * the coordinates are frame-space rather than getNativeCrop's
10823
+ * normalized [0,1] convention). */
10824
+ var DetailParentSchema = object({
10825
+ bbox: NativeCropBboxSchema,
10826
+ className: string()
10827
+ });
10828
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
10829
+ * or refined detection produced by running the crop-subtree on a
10830
+ * single tracked detection. */
10831
+ var DetailResultSchema = object({
10832
+ stepId: string(),
10833
+ className: string(),
10834
+ score: number(),
10835
+ /** FRAME-space bbox (already mapped back from crop space). */
10836
+ bbox: NativeCropBboxSchema.optional(),
10837
+ embedding: string().optional(),
10838
+ label: string().optional(),
10839
+ alignedCropJpeg: string().optional()
10840
+ });
10811
10841
  /**
10812
10842
  * Per-camera tunable ranges + defaults. Single source of truth used
10813
10843
  * by both the Zod data schema (validation + default fallback) and
@@ -11068,7 +11098,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
11068
11098
  handle: FrameHandleSchema,
11069
11099
  bbox: NativeCropBboxSchema,
11070
11100
  maxWidth: number().int().positive().optional()
11071
- }), NativeCropResultSchema.nullable());
11101
+ }), NativeCropResultSchema.nullable()), method(object({
11102
+ deviceId: number(),
11103
+ frameHandle: FrameHandleSchema.optional(),
11104
+ cropJpeg: string().optional(),
11105
+ parent: DetailParentSchema,
11106
+ steps: array(string()).optional()
11107
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
11072
11108
  object({
11073
11109
  detected: boolean(),
11074
11110
  /** Ms epoch of the last detected-true observation. Null if never detected. */
@@ -21930,6 +21966,12 @@ Object.freeze({
21930
21966
  addonId: null,
21931
21967
  access: "create"
21932
21968
  },
21969
+ "pipelineRunner.runDetailSubtree": {
21970
+ capName: "pipeline-runner",
21971
+ capScope: "system",
21972
+ addonId: null,
21973
+ access: "create"
21974
+ },
21933
21975
  "plateGallery.correctPlateText": {
21934
21976
  capName: "plate-gallery",
21935
21977
  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-BS3ZpipR.js");
5
+ const require_shared = require("./shared-BL-GGrW8.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-DQjNIB1f.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-CFMg2pY9.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.22",
3
+ "version": "1.1.23",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",