@camstack/system 1.1.57 → 1.1.59
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 -2
- package/dist/addon-runner.mjs +2 -2
- 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 +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- 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 +1 -1
- 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/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- 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-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/{dist-JAF9YR1q.mjs → dist-DNu-dV4C.mjs} +13 -70
- package/dist/{dist-Bg795EQF.js → dist-pMSHmQgR.js} +13 -70
- package/dist/index.js +34 -105
- package/dist/index.mjs +35 -104
- package/dist/kernel/index.d.ts +1 -3
- package/dist/kernel/lifecycle/lifecycle-job-engine.d.ts +21 -26
- package/dist/{manifest-python-deps-9wuRyL-k.mjs → manifest-python-deps-Di8m82Nl.mjs} +1 -1
- package/dist/{manifest-python-deps-eI3-3FeW.js → manifest-python-deps-E9MNTyA6.js} +1 -1
- package/package.json +1 -1
- package/dist/kernel/lifecycle/framework-staging.d.ts +0 -15
package/dist/addon-runner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
3
|
-
const require_manifest_python_deps = require("./manifest-python-deps-
|
|
2
|
+
const require_dist = require("./dist-pMSHmQgR.js");
|
|
3
|
+
const require_manifest_python_deps = require("./manifest-python-deps-E9MNTyA6.js");
|
|
4
4
|
const require_custom_action_registry = require("./custom-action-registry-vLYEFTtv.js");
|
|
5
5
|
let node_fs = require("node:fs");
|
|
6
6
|
node_fs = require_chunk.__toESM(node_fs);
|
package/dist/addon-runner.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as isCollectionArrayMethod, t as ALL_CAPABILITY_DEFINITIONS } from "./dist-
|
|
2
|
-
import { F as createUdsLoggerWithControl, I as LocalChildClient, bt as resolveAddonClass, i as createUdsAddonContext, it as setWorkerNativeCapsChangeListener, nt as getWorkerNativeCapSnapshot, ot as validateProviderRegistrations, t as installManifestPythonDeps, tt as getWorkerNativeCapProvider, vt as installManifestNativeDeps } from "./manifest-python-deps-
|
|
1
|
+
import { j as isCollectionArrayMethod, t as ALL_CAPABILITY_DEFINITIONS } from "./dist-DNu-dV4C.mjs";
|
|
2
|
+
import { F as createUdsLoggerWithControl, I as LocalChildClient, bt as resolveAddonClass, i as createUdsAddonContext, it as setWorkerNativeCapsChangeListener, nt as getWorkerNativeCapSnapshot, ot as validateProviderRegistrations, t as installManifestPythonDeps, tt as getWorkerNativeCapProvider, vt as installManifestNativeDeps } from "./manifest-python-deps-Di8m82Nl.mjs";
|
|
3
3
|
import { t as CustomActionRegistry } from "./custom-action-registry-BEXwC-oo.mjs";
|
|
4
4
|
import { register } from "node:module";
|
|
5
5
|
import * as fs from "node:fs";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as addonPagesCapability, it as BaseAddon, kt as EventCategory, rt as errMsg } from "../../dist-
|
|
1
|
+
import { f as addonPagesCapability, it as BaseAddon, kt as EventCategory, rt as errMsg } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as BaseAddon, kt as EventCategory, m as addonWidgetsCapability, rt as errMsg } from "../../dist-
|
|
1
|
+
import { it as BaseAddon, kt as EventCategory, m as addonWidgetsCapability, rt as errMsg } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
//#region src/builtins/alerts/alerts.addon.ts
|
|
8
8
|
var CATEGORY_MAPPINGS = {
|
|
9
9
|
"addon.crashed": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as createEvent, h as alertsCapability, it as BaseAddon, kt as EventCategory, n as AlertSchema, rt as errMsg } from "../../dist-
|
|
1
|
+
import { _t as createEvent, h as alertsCapability, it as BaseAddon, kt as EventCategory, n as AlertSchema, rt as errMsg } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
//#region src/builtins/alerts/alerts.addon.ts
|
|
3
3
|
var CATEGORY_MAPPINGS = {
|
|
4
4
|
"addon.crashed": {
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_fs$1 = require_chunk.__toESM(node_fs, 1);
|
|
9
9
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as BaseAddon, kt as EventCategory, v as backupCapability } from "../../dist-
|
|
1
|
+
import { it as BaseAddon, kt as EventCategory, v as backupCapability } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import * as fs from "node:fs";
|
|
3
3
|
import Kt from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
//#region src/builtins/console-logging/console-destination.ts
|
|
9
9
|
var LEVEL_RANK = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as logDestinationCapability, it as BaseAddon } from "../../dist-
|
|
1
|
+
import { L as logDestinationCapability, it as BaseAddon } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
//#region src/builtins/console-logging/console-destination.ts
|
|
4
4
|
var LEVEL_RANK = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let _camstack_types_node = require("@camstack/types/node");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as evaluateLinkExpression, J as setByPath, Ot as sleep, S as deviceStatusCapability, St as isDeviceConfigCap, T as enumerateSchemaFields, U as parseStreamParamsFormPatch, V as normalizeUnit, a as DeviceStatusSchema, b as deviceManagerCapability, c as STREAM_PROFILE_META, ct as DeviceFeature, et as toExpressionValue, g as applyTransform, i as CAP_NAMES_WITH_STATUS, it as BaseAddon, k as getByPath, kt as EventCategory, lt as DeviceRole, nt as validateExpressionSource, pt as WELL_KNOWN_TAB_MAP, rt as errMsg, t as ALL_CAPABILITY_DEFINITIONS, ut as DeviceType, w as enumerateItemArrayFields, x as deviceStateCapability, y as buildStreamParamsConfigSchema } from "../../dist-
|
|
1
|
+
import { E as evaluateLinkExpression, J as setByPath, Ot as sleep, S as deviceStatusCapability, St as isDeviceConfigCap, T as enumerateSchemaFields, U as parseStreamParamsFormPatch, V as normalizeUnit, a as DeviceStatusSchema, b as deviceManagerCapability, c as STREAM_PROFILE_META, ct as DeviceFeature, et as toExpressionValue, g as applyTransform, i as CAP_NAMES_WITH_STATUS, it as BaseAddon, k as getByPath, kt as EventCategory, lt as DeviceRole, nt as validateExpressionSource, pt as WELL_KNOWN_TAB_MAP, rt as errMsg, t as ALL_CAPABILITY_DEFINITIONS, ut as DeviceType, w as enumerateItemArrayFields, x as deviceStateCapability, y as buildStreamParamsConfigSchema } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { canonicalDeviceFingerprint } from "@camstack/types/node";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
//#region src/builtins/doorbell/trigger-engine.ts
|
|
8
8
|
/**
|
|
9
9
|
* Pure trigger logic for the virtual-doorbell builtin — edge detection over
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as doorbellCapability, _t as createEvent, it as BaseAddon, kt as EventCategory, rt as errMsg, ut as DeviceType } from "../../dist-
|
|
1
|
+
import { C as doorbellCapability, _t as createEvent, it as BaseAddon, kt as EventCategory, rt as errMsg, ut as DeviceType } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
//#region src/builtins/doorbell/trigger-engine.ts
|
|
3
3
|
/**
|
|
4
4
|
* Pure trigger logic for the virtual-doorbell builtin — edge detection over
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
//#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
|
|
9
9
|
var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as logDestinationCapability, it as BaseAddon } from "../../dist-
|
|
1
|
+
import { L as logDestinationCapability, it as BaseAddon } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
//#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
|
|
4
4
|
var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
node_crypto = require_chunk.__toESM(node_crypto);
|
|
9
9
|
let crypto$1 = require("crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as authProviderCapability, d as UserRecordSchema, it as BaseAddon, l as ScopedTokenSchema, r as ApiKeyRecordSchema, tt as userManagementCapability } from "../../dist-
|
|
1
|
+
import { _ as authProviderCapability, d as UserRecordSchema, it as BaseAddon, l as ScopedTokenSchema, r as ApiKeyRecordSchema, tt as userManagementCapability } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as crypto$1 from "node:crypto";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("../../dist-
|
|
3
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
4
4
|
let node_os = require("node:os");
|
|
5
5
|
node_os = require_chunk.__toESM(node_os);
|
|
6
6
|
//#region src/builtins/local-network/local-network.addon.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as localNetworkCapability, it as BaseAddon, kt as EventCategory } from "../../dist-
|
|
1
|
+
import { I as localNetworkCapability, it as BaseAddon, kt as EventCategory } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import * as os from "node:os";
|
|
3
3
|
//#region src/builtins/local-network/local-network.addon.ts
|
|
4
4
|
/**
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
node_fs = require_chunk.__toESM(node_fs);
|
|
9
9
|
let node_child_process = require("node:child_process");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as createEvent, it as BaseAddon, kt as EventCategory, z as metricsProviderCapability } from "../../dist-
|
|
1
|
+
import { _t as createEvent, it as BaseAddon, kt as EventCategory, z as metricsProviderCapability } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import * as fs from "node:fs";
|
|
3
3
|
import { execFile, execFileSync } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
node_fs = require_chunk.__toESM(node_fs);
|
|
9
9
|
let node_child_process = require("node:child_process");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as platformProbeCapability, it as BaseAddon, kt as EventCategory, q as scoreRuntimes, rt as errMsg, yt as emitReadiness } from "../../dist-
|
|
1
|
+
import { W as platformProbeCapability, it as BaseAddon, kt as EventCategory, q as scoreRuntimes, rt as errMsg, yt as emitReadiness } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import * as fs from "node:fs";
|
|
3
3
|
import { execFile } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
8
8
|
/**
|
|
9
9
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as BaseAddon, kt as EventCategory } from "../../dist-
|
|
1
|
+
import { it as BaseAddon, kt as EventCategory } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
3
3
|
/**
|
|
4
4
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
//#region src/builtins/snapshot/snapshot-coalescing.ts
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as streamQualityLabel, B as nodePin, X as snapshotCapability, ct as DeviceFeature, it as BaseAddon, rt as errMsg, ut as DeviceType } from "../../dist-
|
|
1
|
+
import { $ as streamQualityLabel, B as nodePin, X as snapshotCapability, ct as DeviceFeature, it as BaseAddon, rt as errMsg, ut as DeviceType } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { execFile } from "node:child_process";
|
|
3
3
|
//#region src/builtins/snapshot/snapshot-coalescing.ts
|
|
4
4
|
/**
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
node_fs = require_chunk.__toESM(node_fs);
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as filesystemBrowseCapability, Q as storageProviderCapability, it as BaseAddon } from "../../dist-
|
|
1
|
+
import { O as filesystemBrowseCapability, Q as storageProviderCapability, it as BaseAddon } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import * as fs from "node:fs";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import { basename, dirname, join, resolve, sep } from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let better_sqlite3 = require("better-sqlite3");
|
|
9
9
|
better_sqlite3 = require_chunk.__toESM(better_sqlite3);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as settingsStoreCapability, it as BaseAddon, mt as asJsonObject, rt as errMsg, s as RUNTIME_DEFAULTS, wt as parseJsonUnknown } from "../../dist-
|
|
1
|
+
import { Y as settingsStoreCapability, it as BaseAddon, mt as asJsonObject, rt as errMsg, s as RUNTIME_DEFAULTS, wt as parseJsonUnknown } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import Database from "better-sqlite3";
|
|
4
4
|
//#region src/builtins/sqlite-storage/sqlite-settings-backend.ts
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_chunk.__toESM(node_path);
|
|
9
9
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as parseJsonObject, Z as storageCapability, it as BaseAddon, u as StorageLocationTypeSchema } from "../../dist-
|
|
1
|
+
import { Ct as parseJsonObject, Z as storageCapability, it as BaseAddon, u as StorageLocationTypeSchema } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import * as path$1 from "node:path";
|
|
3
3
|
import * as fs from "node:fs/promises";
|
|
4
4
|
import { buildStorageLocationRegistry } from "@camstack/system";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
//#region src/builtins/system-config/system-config.addon.ts
|
|
8
8
|
/**
|
|
9
9
|
* Built-in `system-config` addon — Phase 4 of the settings redesign.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as BaseAddon, rt as errMsg, xt as hydrateSchema } from "../../dist-
|
|
1
|
+
import { it as BaseAddon, rt as errMsg, xt as hydrateSchema } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
//#region src/builtins/system-config/system-config.addon.ts
|
|
3
3
|
/**
|
|
4
4
|
* Built-in `system-config` addon — Phase 4 of the settings redesign.
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-pMSHmQgR.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_chunk.__toESM(node_path);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as logDestinationCapability, it as BaseAddon } from "../../dist-
|
|
1
|
+
import { L as logDestinationCapability, it as BaseAddon } from "../../dist-DNu-dV4C.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import path from "node:path";
|
|
@@ -3082,6 +3082,17 @@ var ModelCatalogEntrySchema = z.object({
|
|
|
3082
3082
|
"imagenet",
|
|
3083
3083
|
"none"
|
|
3084
3084
|
]).optional(),
|
|
3085
|
+
/**
|
|
3086
|
+
* The model already applies softmax IN-GRAPH — its raw output is a
|
|
3087
|
+
* probability distribution, not logits. When set, the `softmax`
|
|
3088
|
+
* postprocessor must NOT re-apply softmax: re-softmaxing an already-normalised
|
|
3089
|
+
* probability vector collapses it toward uniform (top-1 score craters far
|
|
3090
|
+
* below its true value, making every confidence gate meaningless). Absent ⇒
|
|
3091
|
+
* the output is raw logits and the postprocessor applies softmax (the normal
|
|
3092
|
+
* case). Set on the Google AIY Birds `bird-classifier` (softmax baked into the
|
|
3093
|
+
* TF graph). Threaded to the Python pool via `PoolModelConfig.outputProbabilities`.
|
|
3094
|
+
*/
|
|
3095
|
+
outputProbabilities: z.boolean().optional(),
|
|
3085
3096
|
preprocessMode: z.enum(["letterbox", "resize"]).optional(),
|
|
3086
3097
|
/**
|
|
3087
3098
|
* Per-MODEL postprocessor override. Absent ⇒ the step's own
|
|
@@ -11842,6 +11853,8 @@ function enumerateItemArrayFields(itemArray) {
|
|
|
11842
11853
|
item: true
|
|
11843
11854
|
}));
|
|
11844
11855
|
}
|
|
11856
|
+
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
11857
|
+
new Set(Object.values(DeviceType));
|
|
11845
11858
|
/**
|
|
11846
11859
|
* `addon-pages` — system-scoped singleton aggregator cap. Public-facing
|
|
11847
11860
|
* surface that admin-ui consumes through `useAddonPagesListPages()`.
|
|
@@ -19108,22 +19121,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
19108
19121
|
var RestartAddonResultSchema = z.unknown();
|
|
19109
19122
|
var InstallPackageResultSchema = z.unknown();
|
|
19110
19123
|
var ReloadPackagesResultSchema = z.unknown();
|
|
19111
|
-
/**
|
|
19112
|
-
* Result of `updateFrameworkPackage`. The cap method returns BEFORE the
|
|
19113
|
-
* server restarts so the admin UI can react to the `restartingAt`
|
|
19114
|
-
* timestamp (shows reconnect overlay). The transition from
|
|
19115
|
-
* `fromVersion` to `toVersion` will be confirmed by a subsequent
|
|
19116
|
-
* `system.restart-completed` event after the new process boots.
|
|
19117
|
-
*
|
|
19118
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
19119
|
-
*/
|
|
19120
|
-
var UpdateFrameworkPackageResultSchema = z.object({
|
|
19121
|
-
packageName: z.string(),
|
|
19122
|
-
fromVersion: z.string(),
|
|
19123
|
-
toVersion: z.string(),
|
|
19124
|
-
/** Ms-epoch the server scheduled its self-restart. */
|
|
19125
|
-
restartingAt: z.number()
|
|
19126
|
-
});
|
|
19127
19124
|
var BulkUpdateItemStatusSchema = z.enum([
|
|
19128
19125
|
"queued",
|
|
19129
19126
|
"updating",
|
|
@@ -19369,28 +19366,6 @@ var addonsCapability = {
|
|
|
19369
19366
|
kind: "mutation",
|
|
19370
19367
|
auth: "admin"
|
|
19371
19368
|
}),
|
|
19372
|
-
/**
|
|
19373
|
-
* Live-update one of the framework packages marked
|
|
19374
|
-
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
19375
|
-
* Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
|
|
19376
|
-
* writes a `.restart-pending` marker, emits `system.restarting`
|
|
19377
|
-
* and schedules a graceful process exit. The supervisor (Docker /
|
|
19378
|
-
* Electron / systemd) brings the hub back up; on first boot after
|
|
19379
|
-
* the restart the marker fires `system.restart-completed`.
|
|
19380
|
-
*
|
|
19381
|
-
* `version` defaults to `'latest'`. The allow-list of valid
|
|
19382
|
-
* `packageName` values is enforced server-side.
|
|
19383
|
-
*
|
|
19384
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
19385
|
-
*/
|
|
19386
|
-
updateFrameworkPackage: method(z.object({
|
|
19387
|
-
packageName: z.string().min(1),
|
|
19388
|
-
version: z.string().optional(),
|
|
19389
|
-
deferRestart: z.boolean().optional()
|
|
19390
|
-
}), UpdateFrameworkPackageResultSchema, {
|
|
19391
|
-
kind: "mutation",
|
|
19392
|
-
auth: "admin"
|
|
19393
|
-
}),
|
|
19394
19369
|
getVersions: method(z.object({ name: z.string() }), z.array(PackageVersionInfoSchema).readonly()),
|
|
19395
19370
|
restartAddon: method(z.object({ addonId: z.string() }), RestartAddonResultSchema, {
|
|
19396
19371
|
kind: "mutation",
|
|
@@ -22682,12 +22657,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
22682
22657
|
addonId: null,
|
|
22683
22658
|
access: "delete"
|
|
22684
22659
|
},
|
|
22685
|
-
"addons.updateFrameworkPackage": {
|
|
22686
|
-
capName: "addons",
|
|
22687
|
-
capScope: "system",
|
|
22688
|
-
addonId: null,
|
|
22689
|
-
access: "create"
|
|
22690
|
-
},
|
|
22691
22660
|
"addons.updatePackage": {
|
|
22692
22661
|
capName: "addons",
|
|
22693
22662
|
capScope: "system",
|
|
@@ -27276,32 +27245,6 @@ Object.freeze({
|
|
|
27276
27245
|
"network-access": "ingress",
|
|
27277
27246
|
"smtp-provider": "email"
|
|
27278
27247
|
});
|
|
27279
|
-
var frameworkSwapPackageSchema = z.object({
|
|
27280
|
-
name: z.string(),
|
|
27281
|
-
stagedPath: z.string(),
|
|
27282
|
-
backupPath: z.string(),
|
|
27283
|
-
toVersion: z.string(),
|
|
27284
|
-
fromVersion: z.string().nullable()
|
|
27285
|
-
});
|
|
27286
|
-
z.object({
|
|
27287
|
-
jobId: z.string(),
|
|
27288
|
-
taskId: z.string(),
|
|
27289
|
-
packages: z.array(frameworkSwapPackageSchema),
|
|
27290
|
-
requestedAtMs: z.number(),
|
|
27291
|
-
schemaVersion: z.literal(1)
|
|
27292
|
-
});
|
|
27293
|
-
z.object({
|
|
27294
|
-
jobId: z.string(),
|
|
27295
|
-
taskId: z.string(),
|
|
27296
|
-
backups: z.array(z.object({
|
|
27297
|
-
name: z.string(),
|
|
27298
|
-
backupPath: z.string(),
|
|
27299
|
-
livePath: z.string()
|
|
27300
|
-
})),
|
|
27301
|
-
appliedAtMs: z.number(),
|
|
27302
|
-
bootAttempts: z.number(),
|
|
27303
|
-
schemaVersion: z.literal(1)
|
|
27304
|
-
});
|
|
27305
27248
|
/**
|
|
27306
27249
|
* Scores all applicable inference backends for the given hardware.
|
|
27307
27250
|
*
|
|
@@ -3082,6 +3082,17 @@ var ModelCatalogEntrySchema = zod.z.object({
|
|
|
3082
3082
|
"imagenet",
|
|
3083
3083
|
"none"
|
|
3084
3084
|
]).optional(),
|
|
3085
|
+
/**
|
|
3086
|
+
* The model already applies softmax IN-GRAPH — its raw output is a
|
|
3087
|
+
* probability distribution, not logits. When set, the `softmax`
|
|
3088
|
+
* postprocessor must NOT re-apply softmax: re-softmaxing an already-normalised
|
|
3089
|
+
* probability vector collapses it toward uniform (top-1 score craters far
|
|
3090
|
+
* below its true value, making every confidence gate meaningless). Absent ⇒
|
|
3091
|
+
* the output is raw logits and the postprocessor applies softmax (the normal
|
|
3092
|
+
* case). Set on the Google AIY Birds `bird-classifier` (softmax baked into the
|
|
3093
|
+
* TF graph). Threaded to the Python pool via `PoolModelConfig.outputProbabilities`.
|
|
3094
|
+
*/
|
|
3095
|
+
outputProbabilities: zod.z.boolean().optional(),
|
|
3085
3096
|
preprocessMode: zod.z.enum(["letterbox", "resize"]).optional(),
|
|
3086
3097
|
/**
|
|
3087
3098
|
* Per-MODEL postprocessor override. Absent ⇒ the step's own
|
|
@@ -11842,6 +11853,8 @@ function enumerateItemArrayFields(itemArray) {
|
|
|
11842
11853
|
item: true
|
|
11843
11854
|
}));
|
|
11844
11855
|
}
|
|
11856
|
+
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
11857
|
+
new Set(Object.values(DeviceType));
|
|
11845
11858
|
/**
|
|
11846
11859
|
* `addon-pages` — system-scoped singleton aggregator cap. Public-facing
|
|
11847
11860
|
* surface that admin-ui consumes through `useAddonPagesListPages()`.
|
|
@@ -19108,22 +19121,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
19108
19121
|
var RestartAddonResultSchema = zod.z.unknown();
|
|
19109
19122
|
var InstallPackageResultSchema = zod.z.unknown();
|
|
19110
19123
|
var ReloadPackagesResultSchema = zod.z.unknown();
|
|
19111
|
-
/**
|
|
19112
|
-
* Result of `updateFrameworkPackage`. The cap method returns BEFORE the
|
|
19113
|
-
* server restarts so the admin UI can react to the `restartingAt`
|
|
19114
|
-
* timestamp (shows reconnect overlay). The transition from
|
|
19115
|
-
* `fromVersion` to `toVersion` will be confirmed by a subsequent
|
|
19116
|
-
* `system.restart-completed` event after the new process boots.
|
|
19117
|
-
*
|
|
19118
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
19119
|
-
*/
|
|
19120
|
-
var UpdateFrameworkPackageResultSchema = zod.z.object({
|
|
19121
|
-
packageName: zod.z.string(),
|
|
19122
|
-
fromVersion: zod.z.string(),
|
|
19123
|
-
toVersion: zod.z.string(),
|
|
19124
|
-
/** Ms-epoch the server scheduled its self-restart. */
|
|
19125
|
-
restartingAt: zod.z.number()
|
|
19126
|
-
});
|
|
19127
19124
|
var BulkUpdateItemStatusSchema = zod.z.enum([
|
|
19128
19125
|
"queued",
|
|
19129
19126
|
"updating",
|
|
@@ -19369,28 +19366,6 @@ var addonsCapability = {
|
|
|
19369
19366
|
kind: "mutation",
|
|
19370
19367
|
auth: "admin"
|
|
19371
19368
|
}),
|
|
19372
|
-
/**
|
|
19373
|
-
* Live-update one of the framework packages marked
|
|
19374
|
-
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
19375
|
-
* Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
|
|
19376
|
-
* writes a `.restart-pending` marker, emits `system.restarting`
|
|
19377
|
-
* and schedules a graceful process exit. The supervisor (Docker /
|
|
19378
|
-
* Electron / systemd) brings the hub back up; on first boot after
|
|
19379
|
-
* the restart the marker fires `system.restart-completed`.
|
|
19380
|
-
*
|
|
19381
|
-
* `version` defaults to `'latest'`. The allow-list of valid
|
|
19382
|
-
* `packageName` values is enforced server-side.
|
|
19383
|
-
*
|
|
19384
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
19385
|
-
*/
|
|
19386
|
-
updateFrameworkPackage: method(zod.z.object({
|
|
19387
|
-
packageName: zod.z.string().min(1),
|
|
19388
|
-
version: zod.z.string().optional(),
|
|
19389
|
-
deferRestart: zod.z.boolean().optional()
|
|
19390
|
-
}), UpdateFrameworkPackageResultSchema, {
|
|
19391
|
-
kind: "mutation",
|
|
19392
|
-
auth: "admin"
|
|
19393
|
-
}),
|
|
19394
19369
|
getVersions: method(zod.z.object({ name: zod.z.string() }), zod.z.array(PackageVersionInfoSchema).readonly()),
|
|
19395
19370
|
restartAddon: method(zod.z.object({ addonId: zod.z.string() }), RestartAddonResultSchema, {
|
|
19396
19371
|
kind: "mutation",
|
|
@@ -22682,12 +22657,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
22682
22657
|
addonId: null,
|
|
22683
22658
|
access: "delete"
|
|
22684
22659
|
},
|
|
22685
|
-
"addons.updateFrameworkPackage": {
|
|
22686
|
-
capName: "addons",
|
|
22687
|
-
capScope: "system",
|
|
22688
|
-
addonId: null,
|
|
22689
|
-
access: "create"
|
|
22690
|
-
},
|
|
22691
22660
|
"addons.updatePackage": {
|
|
22692
22661
|
capName: "addons",
|
|
22693
22662
|
capScope: "system",
|
|
@@ -27276,32 +27245,6 @@ Object.freeze({
|
|
|
27276
27245
|
"network-access": "ingress",
|
|
27277
27246
|
"smtp-provider": "email"
|
|
27278
27247
|
});
|
|
27279
|
-
var frameworkSwapPackageSchema = zod.z.object({
|
|
27280
|
-
name: zod.z.string(),
|
|
27281
|
-
stagedPath: zod.z.string(),
|
|
27282
|
-
backupPath: zod.z.string(),
|
|
27283
|
-
toVersion: zod.z.string(),
|
|
27284
|
-
fromVersion: zod.z.string().nullable()
|
|
27285
|
-
});
|
|
27286
|
-
zod.z.object({
|
|
27287
|
-
jobId: zod.z.string(),
|
|
27288
|
-
taskId: zod.z.string(),
|
|
27289
|
-
packages: zod.z.array(frameworkSwapPackageSchema),
|
|
27290
|
-
requestedAtMs: zod.z.number(),
|
|
27291
|
-
schemaVersion: zod.z.literal(1)
|
|
27292
|
-
});
|
|
27293
|
-
zod.z.object({
|
|
27294
|
-
jobId: zod.z.string(),
|
|
27295
|
-
taskId: zod.z.string(),
|
|
27296
|
-
backups: zod.z.array(zod.z.object({
|
|
27297
|
-
name: zod.z.string(),
|
|
27298
|
-
backupPath: zod.z.string(),
|
|
27299
|
-
livePath: zod.z.string()
|
|
27300
|
-
})),
|
|
27301
|
-
appliedAtMs: zod.z.number(),
|
|
27302
|
-
bootAttempts: zod.z.number(),
|
|
27303
|
-
schemaVersion: zod.z.literal(1)
|
|
27304
|
-
});
|
|
27305
27248
|
/**
|
|
27306
27249
|
* Scores all applicable inference backends for the given hardware.
|
|
27307
27250
|
*
|