@camstack/system 1.2.15 → 1.2.17
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/addon-runner.js +2 -10
- package/dist/addon-runner.mjs +3 -11
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +73 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +73 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +1 -1
- package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +3 -38
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +2 -2
- package/dist/builtins/platform-probe/index.js +2 -2
- package/dist/builtins/platform-probe/index.mjs +3 -2
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-backup/system-backup.service.d.ts +14 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/chunk-CNf5ZN-e.mjs +37 -0
- package/dist/{dist-eOaraBhT.mjs → dist-DmQ6thmF.mjs} +10418 -10231
- package/dist/{dist-yttC1aUI.js → dist-OQ1yU92D.js} +10477 -10296
- package/dist/framework-resolver-hook.mjs +2 -0
- package/dist/index.js +224 -32
- package/dist/index.mjs +227 -34
- package/dist/kernel/addon-installer.d.ts +86 -7
- package/dist/kernel/fs-utils.d.ts +18 -5
- package/dist/lib-5THG9eKz.mjs +15545 -0
- package/dist/lib-CZ3g2WTS.js +15549 -0
- package/dist/{manifest-python-deps-bn3qrsxR.mjs → manifest-python-deps-B30qVAuW.mjs} +1 -2
- package/dist/{manifest-python-deps-DSrmih6E.js → manifest-python-deps-CnRW2Utv.js} +2 -3
- package/dist/{resource-monitor-Le3l0qS2.mjs → resource-monitor-BkP504Vq.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Y as readNodePin } from "./dist-eOaraBhT.mjs";
|
|
2
1
|
import { ensureBinary, ensureFfmpeg, ensurePython, installPythonPackages, installPythonRequirements } from "@camstack/types/node";
|
|
3
2
|
import { createServer } from "node:http";
|
|
4
3
|
import * as fs from "node:fs";
|
|
@@ -6,7 +5,7 @@ import * as path$1 from "node:path";
|
|
|
6
5
|
import { isAbsolute, join } from "node:path";
|
|
7
6
|
import * as crypto$1 from "node:crypto";
|
|
8
7
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
9
|
-
import { DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, scopeKey, sleep } from "@camstack/types/addon";
|
|
8
|
+
import { DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, readNodePin, scopeKey, sleep } from "@camstack/types/addon";
|
|
10
9
|
import { execFile } from "node:child_process";
|
|
11
10
|
import { promisify } from "node:util";
|
|
12
11
|
import * as os from "node:os";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-yttC1aUI.js");
|
|
3
2
|
let _camstack_types_node = require("@camstack/types/node");
|
|
4
3
|
let node_http = require("node:http");
|
|
5
4
|
let node_fs = require("node:fs");
|
|
@@ -5419,7 +5418,7 @@ function localProviderLink(resolver, observerOpts) {
|
|
|
5419
5418
|
const parsed = parsePath(op.path);
|
|
5420
5419
|
if (!parsed) return next(op);
|
|
5421
5420
|
if (localBase !== void 0) {
|
|
5422
|
-
const pinnedNodeId =
|
|
5421
|
+
const pinnedNodeId = (0, _camstack_types_addon.readNodePin)(op.context);
|
|
5423
5422
|
if (pinnedNodeId !== void 0 && pinnedNodeId !== localBase) return next(op);
|
|
5424
5423
|
}
|
|
5425
5424
|
const provider = resolver.getByName(parsed.capName);
|
|
@@ -5788,7 +5787,7 @@ function ipcParentLink(getCallOut) {
|
|
|
5788
5787
|
const input = op.input;
|
|
5789
5788
|
const inputObj = input && typeof input === "object" && !Array.isArray(input) ? input : null;
|
|
5790
5789
|
const deviceId = inputObj && typeof Reflect.get(inputObj, "deviceId") === "number" ? Reflect.get(inputObj, "deviceId") : void 0;
|
|
5791
|
-
const pinnedNodeId =
|
|
5790
|
+
const pinnedNodeId = (0, _camstack_types_addon.readNodePin)(op.context);
|
|
5792
5791
|
const capCallInput = {
|
|
5793
5792
|
capName: parsed.capName,
|
|
5794
5793
|
method: parsed.method,
|