@camstack/addon-remote-storage 1.2.38 → 1.2.41
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-DgwL7dV-.mjs → shared-BgEt_GPp.mjs} +69 -10
- package/dist/{shared-B9LrdyaK.js → shared-DMrHydd5.js} +69 -10
- 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-DMrHydd5.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-BgEt_GPp.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-DMrHydd5.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-BgEt_GPp.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
|
|
@@ -13603,6 +13603,50 @@ var NodeProcessSchema = object({
|
|
|
13603
13603
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13604
13604
|
uptimeSec: number()
|
|
13605
13605
|
});
|
|
13606
|
+
/**
|
|
13607
|
+
* One retained container-memory reading.
|
|
13608
|
+
*
|
|
13609
|
+
* `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
|
|
13610
|
+
* a second clock: that is what makes "processes sum to X, container says Y"
|
|
13611
|
+
* subtractable per point rather than an eyeballed comparison of two series
|
|
13612
|
+
* sampled at different instants.
|
|
13613
|
+
*
|
|
13614
|
+
* A reduced window keeps the sample with the LARGEST `currentBytes` in each
|
|
13615
|
+
* bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
|
|
13616
|
+
* never coexisted, and a mean would smear away the peak this exists to find.
|
|
13617
|
+
*/
|
|
13618
|
+
var ContainerMemoryPointSchema = object({
|
|
13619
|
+
/** Which hierarchy answered, so a reading is never ambiguous. */
|
|
13620
|
+
source: _enum(["cgroup-v2", "cgroup-v1"]),
|
|
13621
|
+
/** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
|
|
13622
|
+
currentBytes: number(),
|
|
13623
|
+
/** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
|
|
13624
|
+
limitBytes: number().nullable(),
|
|
13625
|
+
/** Anonymous pages: the closest thing to "what the processes allocated". */
|
|
13626
|
+
anonBytes: number().nullable(),
|
|
13627
|
+
/** Page cache. Charged to the cgroup, owned by no process. */
|
|
13628
|
+
fileBytes: number().nullable(),
|
|
13629
|
+
/**
|
|
13630
|
+
* Shared memory — and the field that explained the largest single surprise.
|
|
13631
|
+
* The i915 driver backs GPU buffers with shmem, so an inference pool or a
|
|
13632
|
+
* hardware-decode session holding DRM objects is charged HERE and appears
|
|
13633
|
+
* nowhere in a `ps` scan.
|
|
13634
|
+
*/
|
|
13635
|
+
shmemBytes: number().nullable(),
|
|
13636
|
+
/** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
|
|
13637
|
+
slabBytes: number().nullable(),
|
|
13638
|
+
/**
|
|
13639
|
+
* Shrinkable i915 GEM object bytes, from debugfs.
|
|
13640
|
+
*
|
|
13641
|
+
* **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
|
|
13642
|
+
* component of `currentBytes` and must not be subtracted from it; it says
|
|
13643
|
+
* what put the shmem there, where `shmemBytes` only says how much.
|
|
13644
|
+
*
|
|
13645
|
+
* `null` wherever debugfs is not mounted — which is inside every camstack
|
|
13646
|
+
* container today — and on any node with no Intel GPU.
|
|
13647
|
+
*/
|
|
13648
|
+
gpuShmemBytes: number().nullable()
|
|
13649
|
+
}).extend({ atMs: number() });
|
|
13606
13650
|
var DumpHeapSnapshotInputSchema = object({
|
|
13607
13651
|
/** The addon whose runner should dump a heap snapshot. */
|
|
13608
13652
|
addonId: string() });
|
|
@@ -13666,6 +13710,21 @@ var NodeLoadSeriesSchema = object({
|
|
|
13666
13710
|
/** One entry per function seen in the window, heaviest-first. */
|
|
13667
13711
|
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13668
13712
|
/**
|
|
13713
|
+
* The CONTAINER's memory over the same window, oldest-first.
|
|
13714
|
+
*
|
|
13715
|
+
* Sits next to `series` rather than in a method of its own because the whole
|
|
13716
|
+
* question is a subtraction: the per-process rows in `series` sum to one
|
|
13717
|
+
* number and this one is another, and an operator who has to issue two calls
|
|
13718
|
+
* to compare them will compare two different instants. Same reader, same
|
|
13719
|
+
* `sinceMs`, same `bucketMs`, same timestamps.
|
|
13720
|
+
*
|
|
13721
|
+
* **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
|
|
13722
|
+
* Mac, a bare-metal host, a container with the hierarchy hidden — reports no
|
|
13723
|
+
* points at all. A zero here would be indistinguishable from a healthy
|
|
13724
|
+
* container and is precisely the lie this field exists to avoid.
|
|
13725
|
+
*/
|
|
13726
|
+
containerMemory: array(ContainerMemoryPointSchema).readonly(),
|
|
13727
|
+
/**
|
|
13669
13728
|
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13670
13729
|
* reduction was needed — so a caller can always say what one point covers
|
|
13671
13730
|
* without having to know whether it was reduced.
|
|
@@ -23604,23 +23663,23 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23604
23663
|
sdpOffer: string()
|
|
23605
23664
|
}), {
|
|
23606
23665
|
kind: "mutation",
|
|
23607
|
-
auth: "
|
|
23666
|
+
auth: "protected"
|
|
23608
23667
|
}), method(object({
|
|
23609
23668
|
deviceId: number(),
|
|
23610
23669
|
sessionId: string(),
|
|
23611
23670
|
sdpAnswer: string()
|
|
23612
23671
|
}), _void(), {
|
|
23613
23672
|
kind: "mutation",
|
|
23614
|
-
auth: "
|
|
23673
|
+
auth: "protected"
|
|
23615
23674
|
}), method(object({
|
|
23616
23675
|
deviceId: number(),
|
|
23617
23676
|
sessionId: string()
|
|
23618
23677
|
}), _void(), {
|
|
23619
23678
|
kind: "mutation",
|
|
23620
|
-
auth: "
|
|
23679
|
+
auth: "protected"
|
|
23621
23680
|
}), method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23622
23681
|
kind: "mutation",
|
|
23623
|
-
auth: "
|
|
23682
|
+
auth: "protected"
|
|
23624
23683
|
}), method(object({
|
|
23625
23684
|
deviceId: number(),
|
|
23626
23685
|
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
@@ -23639,10 +23698,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23639
23698
|
sequenceNumber: number().int()
|
|
23640
23699
|
}), object({ accepted: boolean() }), {
|
|
23641
23700
|
kind: "mutation",
|
|
23642
|
-
auth: "
|
|
23701
|
+
auth: "protected"
|
|
23643
23702
|
}), method(object({ deviceId: number() }), _void(), {
|
|
23644
23703
|
kind: "mutation",
|
|
23645
|
-
auth: "
|
|
23704
|
+
auth: "protected"
|
|
23646
23705
|
}), object({
|
|
23647
23706
|
deviceId: number(),
|
|
23648
23707
|
status: IntercomStatusSchema
|
|
@@ -25655,10 +25714,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
|
|
|
25655
25714
|
* recording config. NOTE on events (source of truth, R5/C3): this cap carries
|
|
25656
25715
|
* NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
|
|
25657
25716
|
* events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
|
|
25658
|
-
* rows)
|
|
25659
|
-
*
|
|
25660
|
-
*
|
|
25661
|
-
* (`interfaces/recording-config.ts`).
|
|
25717
|
+
* rows) and are the ONLY event surface — the recorder has none. The in-RAM
|
|
25718
|
+
* playback markers it used to build were deleted on 2026-08-29 because nothing
|
|
25719
|
+
* ever read them. Event<->footage joins are by time, padded with the shared
|
|
25720
|
+
* `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
|
|
25662
25721
|
*/
|
|
25663
25722
|
var RecordingStatusSchema = object({
|
|
25664
25723
|
deviceId: number(),
|
|
@@ -13626,6 +13626,50 @@ var NodeProcessSchema = object({
|
|
|
13626
13626
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13627
13627
|
uptimeSec: number()
|
|
13628
13628
|
});
|
|
13629
|
+
/**
|
|
13630
|
+
* One retained container-memory reading.
|
|
13631
|
+
*
|
|
13632
|
+
* `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
|
|
13633
|
+
* a second clock: that is what makes "processes sum to X, container says Y"
|
|
13634
|
+
* subtractable per point rather than an eyeballed comparison of two series
|
|
13635
|
+
* sampled at different instants.
|
|
13636
|
+
*
|
|
13637
|
+
* A reduced window keeps the sample with the LARGEST `currentBytes` in each
|
|
13638
|
+
* bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
|
|
13639
|
+
* never coexisted, and a mean would smear away the peak this exists to find.
|
|
13640
|
+
*/
|
|
13641
|
+
var ContainerMemoryPointSchema = object({
|
|
13642
|
+
/** Which hierarchy answered, so a reading is never ambiguous. */
|
|
13643
|
+
source: _enum(["cgroup-v2", "cgroup-v1"]),
|
|
13644
|
+
/** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
|
|
13645
|
+
currentBytes: number(),
|
|
13646
|
+
/** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
|
|
13647
|
+
limitBytes: number().nullable(),
|
|
13648
|
+
/** Anonymous pages: the closest thing to "what the processes allocated". */
|
|
13649
|
+
anonBytes: number().nullable(),
|
|
13650
|
+
/** Page cache. Charged to the cgroup, owned by no process. */
|
|
13651
|
+
fileBytes: number().nullable(),
|
|
13652
|
+
/**
|
|
13653
|
+
* Shared memory — and the field that explained the largest single surprise.
|
|
13654
|
+
* The i915 driver backs GPU buffers with shmem, so an inference pool or a
|
|
13655
|
+
* hardware-decode session holding DRM objects is charged HERE and appears
|
|
13656
|
+
* nowhere in a `ps` scan.
|
|
13657
|
+
*/
|
|
13658
|
+
shmemBytes: number().nullable(),
|
|
13659
|
+
/** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
|
|
13660
|
+
slabBytes: number().nullable(),
|
|
13661
|
+
/**
|
|
13662
|
+
* Shrinkable i915 GEM object bytes, from debugfs.
|
|
13663
|
+
*
|
|
13664
|
+
* **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
|
|
13665
|
+
* component of `currentBytes` and must not be subtracted from it; it says
|
|
13666
|
+
* what put the shmem there, where `shmemBytes` only says how much.
|
|
13667
|
+
*
|
|
13668
|
+
* `null` wherever debugfs is not mounted — which is inside every camstack
|
|
13669
|
+
* container today — and on any node with no Intel GPU.
|
|
13670
|
+
*/
|
|
13671
|
+
gpuShmemBytes: number().nullable()
|
|
13672
|
+
}).extend({ atMs: number() });
|
|
13629
13673
|
var DumpHeapSnapshotInputSchema = object({
|
|
13630
13674
|
/** The addon whose runner should dump a heap snapshot. */
|
|
13631
13675
|
addonId: string() });
|
|
@@ -13689,6 +13733,21 @@ var NodeLoadSeriesSchema = object({
|
|
|
13689
13733
|
/** One entry per function seen in the window, heaviest-first. */
|
|
13690
13734
|
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13691
13735
|
/**
|
|
13736
|
+
* The CONTAINER's memory over the same window, oldest-first.
|
|
13737
|
+
*
|
|
13738
|
+
* Sits next to `series` rather than in a method of its own because the whole
|
|
13739
|
+
* question is a subtraction: the per-process rows in `series` sum to one
|
|
13740
|
+
* number and this one is another, and an operator who has to issue two calls
|
|
13741
|
+
* to compare them will compare two different instants. Same reader, same
|
|
13742
|
+
* `sinceMs`, same `bucketMs`, same timestamps.
|
|
13743
|
+
*
|
|
13744
|
+
* **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
|
|
13745
|
+
* Mac, a bare-metal host, a container with the hierarchy hidden — reports no
|
|
13746
|
+
* points at all. A zero here would be indistinguishable from a healthy
|
|
13747
|
+
* container and is precisely the lie this field exists to avoid.
|
|
13748
|
+
*/
|
|
13749
|
+
containerMemory: array(ContainerMemoryPointSchema).readonly(),
|
|
13750
|
+
/**
|
|
13692
13751
|
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13693
13752
|
* reduction was needed — so a caller can always say what one point covers
|
|
13694
13753
|
* without having to know whether it was reduced.
|
|
@@ -23627,23 +23686,23 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23627
23686
|
sdpOffer: string()
|
|
23628
23687
|
}), {
|
|
23629
23688
|
kind: "mutation",
|
|
23630
|
-
auth: "
|
|
23689
|
+
auth: "protected"
|
|
23631
23690
|
}), method(object({
|
|
23632
23691
|
deviceId: number(),
|
|
23633
23692
|
sessionId: string(),
|
|
23634
23693
|
sdpAnswer: string()
|
|
23635
23694
|
}), _void(), {
|
|
23636
23695
|
kind: "mutation",
|
|
23637
|
-
auth: "
|
|
23696
|
+
auth: "protected"
|
|
23638
23697
|
}), method(object({
|
|
23639
23698
|
deviceId: number(),
|
|
23640
23699
|
sessionId: string()
|
|
23641
23700
|
}), _void(), {
|
|
23642
23701
|
kind: "mutation",
|
|
23643
|
-
auth: "
|
|
23702
|
+
auth: "protected"
|
|
23644
23703
|
}), method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23645
23704
|
kind: "mutation",
|
|
23646
|
-
auth: "
|
|
23705
|
+
auth: "protected"
|
|
23647
23706
|
}), method(object({
|
|
23648
23707
|
deviceId: number(),
|
|
23649
23708
|
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
@@ -23662,10 +23721,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23662
23721
|
sequenceNumber: number().int()
|
|
23663
23722
|
}), object({ accepted: boolean() }), {
|
|
23664
23723
|
kind: "mutation",
|
|
23665
|
-
auth: "
|
|
23724
|
+
auth: "protected"
|
|
23666
23725
|
}), method(object({ deviceId: number() }), _void(), {
|
|
23667
23726
|
kind: "mutation",
|
|
23668
|
-
auth: "
|
|
23727
|
+
auth: "protected"
|
|
23669
23728
|
}), object({
|
|
23670
23729
|
deviceId: number(),
|
|
23671
23730
|
status: IntercomStatusSchema
|
|
@@ -25678,10 +25737,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
|
|
|
25678
25737
|
* recording config. NOTE on events (source of truth, R5/C3): this cap carries
|
|
25679
25738
|
* NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
|
|
25680
25739
|
* events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
|
|
25681
|
-
* rows)
|
|
25682
|
-
*
|
|
25683
|
-
*
|
|
25684
|
-
* (`interfaces/recording-config.ts`).
|
|
25740
|
+
* rows) and are the ONLY event surface — the recorder has none. The in-RAM
|
|
25741
|
+
* playback markers it used to build were deleted on 2026-08-29 because nothing
|
|
25742
|
+
* ever read them. Event<->footage joins are by time, padded with the shared
|
|
25743
|
+
* `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
|
|
25685
25744
|
*/
|
|
25686
25745
|
var RecordingStatusSchema = object({
|
|
25687
25746
|
deviceId: number(),
|
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-DMrHydd5.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-BgEt_GPp.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