@camstack/server 1.2.811 → 1.2.812
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/CHANGELOG.md +6 -0
- package/package.json +8 -9
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.mjs +4 -4
- package/system/dist/index.mjs +1 -1
- package/system/dist/{restore-archive-BFA-hEhX.mjs → restore-archive-r3zTdLKr.mjs} +4 -4
- package/system/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.812",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,10 +66,9 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.
|
|
70
|
-
"@camstack/addon-agent-ui": ">=1.2.
|
|
71
|
-
"@camstack/addon-
|
|
72
|
-
"@camstack/addon-provider-homeassistant": ">=1.2.674"
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.619",
|
|
70
|
+
"@camstack/addon-agent-ui": ">=1.2.347",
|
|
71
|
+
"@camstack/addon-pipeline-orchestrator": ">=1.2.671"
|
|
73
72
|
},
|
|
74
73
|
"wrapper": {
|
|
75
74
|
"desktop": ">=0.0.1",
|
|
@@ -78,19 +77,19 @@
|
|
|
78
77
|
}
|
|
79
78
|
},
|
|
80
79
|
"dependencies": {
|
|
81
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
82
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
80
|
+
"@camstack/addon-admin-ui": "1.2.619",
|
|
81
|
+
"@camstack/addon-agent-ui": "1.2.347",
|
|
83
82
|
"@camstack/addon-auth": "1.2.179",
|
|
84
83
|
"@camstack/addon-benchmark": "1.2.312",
|
|
85
84
|
"@camstack/addon-decoder-nodeav": "1.2.149",
|
|
86
85
|
"@camstack/addon-notifiers": "1.2.633",
|
|
87
86
|
"@camstack/addon-pipeline": "1.2.648",
|
|
88
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
87
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.671",
|
|
89
88
|
"@camstack/addon-post-analysis": "1.2.685",
|
|
90
89
|
"@camstack/develop": "0.1.51",
|
|
91
90
|
"@camstack/sdk": "1.2.157",
|
|
92
91
|
"@camstack/types": "1.2.526",
|
|
93
|
-
"@camstack/ui-library": "1.2.
|
|
92
|
+
"@camstack/ui-library": "1.2.406",
|
|
94
93
|
"@fastify/compress": "^9.0.0",
|
|
95
94
|
"@fastify/cookie": "^11.0.2",
|
|
96
95
|
"@fastify/cors": "^11.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cn as backupCapability, Ic as toNodeId, Wa as storageOccupancyCapability, Xo as BaseAddon, qc as EventCategory, xc as nodePin, xi as mayWriteToLocation } from "../../dist-BPq13Y8j.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
|
-
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-
|
|
3
|
+
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-r3zTdLKr.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import * as fs$1 from "node:fs";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
@@ -15,7 +15,7 @@ import os from "node:os";
|
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import * as tls from "node:tls";
|
|
17
17
|
import { EventEmitter } from "node:events";
|
|
18
|
-
import
|
|
18
|
+
import Pe from "node:stream";
|
|
19
19
|
import { StringDecoder } from "node:string_decoder";
|
|
20
20
|
import { lstatSync, readdir as readdir$1, readdirSync as readdirSync$1, readlinkSync, realpathSync } from "fs";
|
|
21
21
|
import "path";
|
|
@@ -83699,7 +83699,7 @@ var xs = new Set([
|
|
|
83699
83699
|
"+",
|
|
83700
83700
|
"*",
|
|
83701
83701
|
"@"
|
|
83702
|
-
]), be = (n) => xs.has(n), vs = "(?!(?:^|/)\\.\\.?(?:$|/))", Ct = "(?!\\.)", Cs = new Set(["[", "."]), Ts = new Set(["..", "."]), As
|
|
83702
|
+
]), be = (n) => xs.has(n), vs = "(?!(?:^|/)\\.\\.?(?:$|/))", Ct = "(?!\\.)", Cs = new Set(["[", "."]), Ts = new Set(["..", "."]), As = /* @__PURE__ */ new Set("().*{}+?[]^$\\!"), ks = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), Kt = "[^/]", Se = Kt + "*?", Ee = Kt + "+?", Q = class n {
|
|
83703
83703
|
type;
|
|
83704
83704
|
#t;
|
|
83705
83705
|
#s;
|
|
@@ -83906,7 +83906,7 @@ var xs = new Set([
|
|
|
83906
83906
|
for (let a = 0; a < t.length; a++) {
|
|
83907
83907
|
let l = t.charAt(a);
|
|
83908
83908
|
if (i) {
|
|
83909
|
-
i = !1, r += (As
|
|
83909
|
+
i = !1, r += (As.has(l) ? "\\" : "") + l;
|
|
83910
83910
|
continue;
|
|
83911
83911
|
}
|
|
83912
83912
|
if (l === "*") {
|
|
@@ -84890,7 +84890,7 @@ var q = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n), De = (n) => q(n
|
|
|
84890
84890
|
var Ne = typeof process == "object" && process ? process : {
|
|
84891
84891
|
stdout: null,
|
|
84892
84892
|
stderr: null
|
|
84893
|
-
}, oi = (n) => !!n && typeof n == "object" && (n instanceof V || n instanceof
|
|
84893
|
+
}, oi = (n) => !!n && typeof n == "object" && (n instanceof V || n instanceof Pe || hi(n) || ai(n)), hi = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.pipe == "function" && n.pipe !== Pe.Writable.prototype.pipe, ai = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.write == "function" && typeof n.end == "function", G = Symbol("EOF"), H = Symbol("maybeEmitEnd"), K = Symbol("emittedEnd"), kt = Symbol("emittingEnd"), ut = Symbol("emittedError"), Rt = Symbol("closed"), _e = Symbol("read"), Ot = Symbol("flush"), Le = Symbol("flushChunk"), P = Symbol("encoding"), et = Symbol("decoder"), v = Symbol("flowing"), dt = Symbol("paused"), st = Symbol("resume"), C = Symbol("buffer"), F = Symbol("pipes"), T = Symbol("bufferLength"), Yt = Symbol("bufferPush"), Ft = Symbol("bufferShift"), k = Symbol("objectMode"), x = Symbol("destroyed"), Xt = Symbol("error"), Jt = Symbol("emitData"), We = Symbol("emitEnd"), Zt = Symbol("emitEnd2"), B = Symbol("async"), Qt = Symbol("abort"), Dt = Symbol("aborted"), pt = Symbol("signal"), Y = Symbol("dataListeners"), M = Symbol("discarded"), mt = (n) => Promise.resolve().then(n), li = (n) => n(), ci = (n) => n === "end" || n === "finish" || n === "prefinish", fi = (n) => n instanceof ArrayBuffer || !!n && typeof n == "object" && n.constructor && n.constructor.name === "ArrayBuffer" && n.byteLength >= 0, ui = (n) => !Buffer.isBuffer(n) && ArrayBuffer.isView(n), Mt = class {
|
|
84894
84894
|
src;
|
|
84895
84895
|
dest;
|
|
84896
84896
|
opts;
|
package/system/dist/index.mjs
CHANGED
|
@@ -41,7 +41,7 @@ import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, T as r
|
|
|
41
41
|
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-CrjItezp.mjs";
|
|
42
42
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
43
43
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
44
|
-
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-
|
|
44
|
+
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-r3zTdLKr.mjs";
|
|
45
45
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
46
46
|
import { z } from "zod";
|
|
47
47
|
import * as crypto$1 from "node:crypto";
|
|
@@ -9,7 +9,7 @@ import path, { basename, join, posix, win32 } from "node:path";
|
|
|
9
9
|
import * as fsp from "node:fs/promises";
|
|
10
10
|
import jn from "node:fs/promises";
|
|
11
11
|
import { EventEmitter } from "node:events";
|
|
12
|
-
import
|
|
12
|
+
import Pe, { Transform } from "node:stream";
|
|
13
13
|
import { StringDecoder } from "node:string_decoder";
|
|
14
14
|
import fs$1 from "fs";
|
|
15
15
|
import path$1, { dirname as dirname$1, parse } from "path";
|
|
@@ -477,7 +477,7 @@ var Br = (s, t) => {
|
|
|
477
477
|
var xs = typeof process == "object" && process ? process : {
|
|
478
478
|
stdout: null,
|
|
479
479
|
stderr: null
|
|
480
|
-
}, zr = (s) => !!s && typeof s == "object" && (s instanceof A || s instanceof
|
|
480
|
+
}, zr = (s) => !!s && typeof s == "object" && (s instanceof A || s instanceof Pe || Ur(s) || Hr(s)), Ur = (s) => !!s && typeof s == "object" && s instanceof EventEmitter && typeof s.pipe == "function" && s.pipe !== Pe.Writable.prototype.pipe, Hr = (s) => !!s && typeof s == "object" && s instanceof EventEmitter && typeof s.write == "function" && typeof s.end == "function", q = Symbol("EOF"), Q = Symbol("maybeEmitEnd"), rt = Symbol("emittedEnd"), Le = Symbol("emittingEnd"), qt = Symbol("emittedError"), Ne = Symbol("closed"), Ls = Symbol("read"), De = Symbol("flush"), Ns = Symbol("flushChunk"), z$1 = Symbol("encoding"), Mt = Symbol("decoder"), g = Symbol("flowing"), Qt = Symbol("paused"), Bt = Symbol("resume"), b = Symbol("buffer"), D = Symbol("pipes"), _ = Symbol("bufferLength"), gi = Symbol("bufferPush"), Ae = Symbol("bufferShift"), L = Symbol("objectMode"), w = Symbol("destroyed"), bi = Symbol("error"), _i = Symbol("emitData"), Ds = Symbol("emitEnd"), Oi = Symbol("emitEnd2"), Z = Symbol("async"), Ti = Symbol("abort"), Ie = Symbol("aborted"), Jt = Symbol("signal"), Rt = Symbol("dataListeners"), F = Symbol("discarded"), jt = (s) => Promise.resolve().then(s), Wr = (s) => s(), Gr = (s) => s === "end" || s === "finish" || s === "prefinish", Zr = (s) => s instanceof ArrayBuffer || !!s && typeof s == "object" && s.constructor && s.constructor.name === "ArrayBuffer" && s.byteLength >= 0, Yr = (s) => !Buffer.isBuffer(s) && ArrayBuffer.isView(s), Fe = class {
|
|
481
481
|
src;
|
|
482
482
|
dest;
|
|
483
483
|
opts;
|
|
@@ -1268,7 +1268,7 @@ var tn = Buffer$1.concat, Bs = Object.getOwnPropertyDescriptor(Buffer$1, "concat
|
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
|
-
var Pe = class extends Be {
|
|
1271
|
+
var Pe$1 = class extends Be {
|
|
1272
1272
|
#t;
|
|
1273
1273
|
constructor(t) {
|
|
1274
1274
|
super(t, "Gzip"), this.#t = t && !!t.portable;
|
|
@@ -2428,7 +2428,7 @@ var mi = class {
|
|
|
2428
2428
|
constructor(t = {}) {
|
|
2429
2429
|
if (super(), this.opt = t, this.file = t.file || "", this.cwd = t.cwd || process.cwd(), this.maxReadSize = t.maxReadSize, this.preservePaths = !!t.preservePaths, this.strict = !!t.strict, this.noPax = !!t.noPax, this.prefix = f(t.prefix || ""), this.linkCache = t.linkCache || /* @__PURE__ */ new Map(), this.statCache = t.statCache || /* @__PURE__ */ new Map(), this.readdirCache = t.readdirCache || /* @__PURE__ */ new Map(), this.onWriteEntry = t.onWriteEntry, this[di] = fe, typeof t.onwarn == "function" && this.on("warn", t.onwarn), this.portable = !!t.portable, t.gzip || t.brotli || t.zstd) {
|
|
2430
2430
|
if ((t.gzip ? 1 : 0) + (t.brotli ? 1 : 0) + (t.zstd ? 1 : 0) > 1) throw new TypeError("gzip, brotli, zstd are mutually exclusive");
|
|
2431
|
-
if (t.gzip && (typeof t.gzip != "object" && (t.gzip = {}), this.portable && (t.gzip.portable = !0), this.zip = new Pe(t.gzip)), t.brotli && (typeof t.brotli != "object" && (t.brotli = {}), this.zip = new He(t.brotli)), t.zstd && (typeof t.zstd != "object" && (t.zstd = {}), this.zip = new Ze(t.zstd)), !this.zip) throw new Error("impossible");
|
|
2431
|
+
if (t.gzip && (typeof t.gzip != "object" && (t.gzip = {}), this.portable && (t.gzip.portable = !0), this.zip = new Pe$1(t.gzip)), t.brotli && (typeof t.brotli != "object" && (t.brotli = {}), this.zip = new He(t.brotli)), t.zstd && (typeof t.zstd != "object" && (t.zstd = {}), this.zip = new Ze(t.zstd)), !this.zip) throw new Error("impossible");
|
|
2432
2432
|
let e = this.zip;
|
|
2433
2433
|
e.on("data", (i) => super.write(i)), e.on("end", () => super.end()), e.on("drain", () => this[ls]()), this.on("resume", () => e.resume());
|
|
2434
2434
|
} else this.on("drain", this[ls]);
|