@camstack/server 1.2.728 → 1.2.730
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 +19 -0
- package/dist/agent/main.js +2 -14
- package/dist/api/core/cap-providers.js +0 -7
- package/dist/api/trpc/generated-cap-mounts.js +4 -1
- package/dist/api/trpc/generated-cap-routers.js +1923 -1839
- package/dist/boot/boot-config.js +1 -1
- package/dist/core/addon/addon-package.service.js +3 -105
- package/dist/core/addon-bridge/addon-bridge.service.js +1 -5
- package/dist/launcher.js +12 -124
- package/package.json +19 -17
- package/system/dist/addon-runner.js +1 -2
- package/system/dist/addon-runner.mjs +1 -2
- package/system/dist/{agent-https-B1XLr4nm.js → agent-https-C8Gz2jjS.js} +1 -1
- package/system/dist/{agent-https-BsedJhrb.mjs → agent-https-DZq8uf8L.mjs} +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +3 -3
- package/system/dist/builtins/composer/composer.addon.mjs +3 -3
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +6 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +1361 -440
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +1360 -440
- package/system/dist/builtins/core-blocks/fan-presets-action-source.d.ts +35 -0
- package/system/dist/builtins/core-blocks/fan-presets-service.d.ts +83 -0
- package/system/dist/builtins/core-blocks/fan-presets-wiring.d.ts +31 -0
- package/system/dist/builtins/core-blocks/record-kinds.d.ts +15 -0
- package/system/dist/builtins/core-blocks/timed-run/timed-run-service.d.ts +84 -0
- package/system/dist/builtins/core-blocks/timed-run/timed-run-wiring.d.ts +21 -0
- package/system/dist/builtins/device-history/device-history.addon.d.ts +4 -0
- package/system/dist/builtins/device-history/device-history.addon.js +769 -17
- package/system/dist/builtins/device-history/device-history.addon.mjs +769 -17
- package/system/dist/builtins/device-history/runs/device-runs-provider.d.ts +7 -0
- package/system/dist/builtins/device-history/runs/device-runs-record-kinds.d.ts +15 -0
- package/system/dist/builtins/device-history/runs/device-runs-service.d.ts +42 -0
- package/system/dist/builtins/device-history/runs/energy-from-history.d.ts +22 -0
- package/system/dist/builtins/device-history/runs/run-recorder.d.ts +111 -0
- package/system/dist/builtins/device-history/runs/slice-readers.d.ts +9 -0
- package/system/dist/builtins/device-manager/device-manager.addon.js +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +47 -38
- package/system/dist/builtins/keychain/index.mjs +47 -38
- package/system/dist/builtins/keychain/key-sources.d.ts +12 -7
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +3 -3
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +3 -3
- package/system/dist/builtins/local-network/local-network.addon.js +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +2 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{composition-sources-BjuQ3xot.mjs → composition-sources-4M_NnTnV.mjs} +1 -1
- package/system/dist/{composition-sources-C5r8i46e.js → composition-sources-hokiaS3J.js} +1 -1
- package/system/dist/{constants-Bh5wQoTg.js → constants-B0L3suFC.js} +1 -1
- package/system/dist/{constants-GnxjCxT3.mjs → constants-DTVU00LZ.mjs} +1 -1
- package/system/dist/{device-ca-OWEYAYaG.mjs → device-ca-C_y2GrU5.mjs} +2 -2
- package/system/dist/{device-ca-oM-nuINR.js → device-ca-DaTT1Y9v.js} +2 -2
- package/system/dist/{dist-Cw8KtuQY.mjs → dist-9lvgpcnm.mjs} +43394 -42706
- package/system/dist/{dist-B9xpybTG.js → dist-B3S0ruBa.js} +43217 -42457
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-BPENkOKX.js → hub-mdns-ciao-Dkw38L-g.js} +2 -2
- package/system/dist/{hub-mdns-ciao-C3qMZFP0.mjs → hub-mdns-ciao-xgLfZIVx.mjs} +2 -2
- package/system/dist/index.js +40 -186
- package/system/dist/index.mjs +41 -185
- package/system/dist/kernel/addon-installer.d.ts +9 -60
- package/system/dist/kernel/bootstrap-config.d.ts +3 -1
- package/system/dist/kernel/config-schema.d.ts +2 -11
- package/system/dist/kernel/fs-utils.d.ts +0 -6
- package/system/dist/kernel/index.d.ts +2 -3
- package/system/dist/{restore-archive-DJv5ATV8.mjs → restore-archive-cxnuWxQM.mjs} +1 -1
- package/system/dist/{restore-archive-BiN1yKZV.js → restore-archive-orP6eHBd.js} +1 -1
- package/system/dist/{retention-BT7TgsUn.js → retention-CB2cyW9k.js} +1 -1
- package/system/dist/{retention-DQje-V4I.mjs → retention-Me4u6zMp.mjs} +1 -1
- package/system/dist/{wal-maintenance-DM08Htuy.mjs → wal-maintenance-De7Ifvph.mjs} +0 -0
- package/system/dist/{wal-maintenance-BLwgOIXb.js → wal-maintenance-_PXj626-.js} +0 -0
- package/system/package.json +11 -2
- package/system/dist/kernel/workspace-detect.d.ts +0 -9
package/dist/boot/boot-config.js
CHANGED
|
@@ -120,7 +120,7 @@ function retiredSecretSources(env) {
|
|
|
120
120
|
* variable still set, so a container template that carries one is told.
|
|
121
121
|
*/
|
|
122
122
|
function loadBootstrapConfig(configPath) {
|
|
123
|
-
const config = (0, system_1.loadBootstrapConfig)(configPath);
|
|
123
|
+
const config = (0, system_1.loadBootstrapConfig)(configPath, { warnRetiredKeys: true });
|
|
124
124
|
const env = process.env;
|
|
125
125
|
const retired = retiredSecretSources(env);
|
|
126
126
|
if (retired.length > 0) {
|
|
@@ -258,7 +258,6 @@ class AddonPackageService {
|
|
|
258
258
|
// Ensures install/uninstall works before full module init completes.
|
|
259
259
|
try {
|
|
260
260
|
const addonsDir = this.resolveAddonsDir();
|
|
261
|
-
const workspacePackagesDir = (0, system_1.detectWorkspacePackagesDir)(__dirname);
|
|
262
261
|
// `CAMSTACK_NPM_REGISTRY` override exists primarily for the e2e
|
|
263
262
|
// harness — it points the installer at a sandboxed verdaccio so
|
|
264
263
|
// the CLI-vs-npm version-interaction tests don't hit the public
|
|
@@ -269,7 +268,6 @@ class AddonPackageService {
|
|
|
269
268
|
const registry = process.env['CAMSTACK_NPM_REGISTRY'];
|
|
270
269
|
this.installer = new system_1.AddonInstaller({
|
|
271
270
|
addonsDir,
|
|
272
|
-
workspacePackagesDir: workspacePackagesDir ?? undefined,
|
|
273
271
|
...(registry ? { registry } : {}),
|
|
274
272
|
});
|
|
275
273
|
(0, system_1.ensureDir)(addonsDir);
|
|
@@ -298,15 +296,6 @@ class AddonPackageService {
|
|
|
298
296
|
});
|
|
299
297
|
return result;
|
|
300
298
|
}
|
|
301
|
-
/** Install an addon from the local workspace (dev mode) */
|
|
302
|
-
async installFromWorkspace(name) {
|
|
303
|
-
this.requireInstaller();
|
|
304
|
-
const result = await this.installer.install(name);
|
|
305
|
-
this.logger.info('Installed from workspace', {
|
|
306
|
-
meta: { name: result.name, version: result.version },
|
|
307
|
-
});
|
|
308
|
-
return result;
|
|
309
|
-
}
|
|
310
299
|
/** Install an addon from an uploaded tgz file */
|
|
311
300
|
async installFromUpload(tgzPath) {
|
|
312
301
|
this.requireInstaller();
|
|
@@ -448,53 +437,6 @@ class AddonPackageService {
|
|
|
448
437
|
});
|
|
449
438
|
return { success: true, loaded, failed };
|
|
450
439
|
}
|
|
451
|
-
/**
|
|
452
|
-
* Full install-from-workspace orchestration:
|
|
453
|
-
* 1. Workspace install
|
|
454
|
-
* 2. Reload packages
|
|
455
|
-
* 3. Load new addons into registry
|
|
456
|
-
* 4. Broadcast toast notification
|
|
457
|
-
*/
|
|
458
|
-
async installFromWorkspaceAndLoad(packageName) {
|
|
459
|
-
this.logger.info('Installing from workspace...', { meta: { packageName } });
|
|
460
|
-
try {
|
|
461
|
-
const result = await this.installFromWorkspace(packageName);
|
|
462
|
-
this.logger.info('Workspace install complete', {
|
|
463
|
-
meta: { name: result.name, version: result.version },
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
catch (err) {
|
|
467
|
-
const msg = (0, types_2.errMsg)(err);
|
|
468
|
-
this.logger.error('Workspace install failed', { meta: { error: msg } });
|
|
469
|
-
this.toastService.broadcast({ title: 'Install Failed', message: msg, severity: 'warning' });
|
|
470
|
-
throw new Error(`Workspace install failed: ${msg}`, { cause: err });
|
|
471
|
-
}
|
|
472
|
-
try {
|
|
473
|
-
await this.reloadPackages();
|
|
474
|
-
}
|
|
475
|
-
catch (err) {
|
|
476
|
-
this.logger.warn('Non-fatal: failed to reload packages after workspace install', {
|
|
477
|
-
meta: { error: (0, types_2.errMsg)(err) },
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
let loaded = [];
|
|
481
|
-
let failed = [];
|
|
482
|
-
try {
|
|
483
|
-
const result = await this.addonRegistry.loadNewAddons();
|
|
484
|
-
loaded = result.loaded;
|
|
485
|
-
failed = result.failed;
|
|
486
|
-
}
|
|
487
|
-
catch (err) {
|
|
488
|
-
this.logger.warn('Failed to load new addons after install', { meta: { error: (0, types_2.errMsg)(err) } });
|
|
489
|
-
failed.push(packageName);
|
|
490
|
-
}
|
|
491
|
-
this.toastService.broadcast({
|
|
492
|
-
title: 'Addon Installed from Workspace',
|
|
493
|
-
message: `${packageName} installed${loaded.length ? ` — addons: ${loaded.join(', ')}` : ''}`,
|
|
494
|
-
severity: failed.length ? 'warning' : 'info',
|
|
495
|
-
});
|
|
496
|
-
return { success: true, loaded, failed };
|
|
497
|
-
}
|
|
498
440
|
/**
|
|
499
441
|
* Full uninstall orchestration:
|
|
500
442
|
* 1. Emit uninstall lifecycle event
|
|
@@ -537,50 +479,6 @@ class AddonPackageService {
|
|
|
537
479
|
return { success: true };
|
|
538
480
|
}
|
|
539
481
|
// =========================================================================
|
|
540
|
-
// Workspace
|
|
541
|
-
// =========================================================================
|
|
542
|
-
/** Check if workspace packages directory is available (dev mode) */
|
|
543
|
-
isWorkspaceAvailable() {
|
|
544
|
-
return this.installer?.workspaceDir != null;
|
|
545
|
-
}
|
|
546
|
-
/** List addon packages available in the workspace but not necessarily installed */
|
|
547
|
-
listWorkspacePackages() {
|
|
548
|
-
const workspaceDir = this.installer?.workspaceDir;
|
|
549
|
-
if (!workspaceDir)
|
|
550
|
-
return [];
|
|
551
|
-
const results = [];
|
|
552
|
-
const installed = new Set(this.listInstalled().map((p) => p.name));
|
|
553
|
-
try {
|
|
554
|
-
for (const entry of fs.readdirSync(workspaceDir, { withFileTypes: true })) {
|
|
555
|
-
if (!entry.isDirectory())
|
|
556
|
-
continue;
|
|
557
|
-
const pkgJsonPath = path.join(workspaceDir, entry.name, 'package.json');
|
|
558
|
-
if (!fs.existsSync(pkgJsonPath))
|
|
559
|
-
continue;
|
|
560
|
-
const pkg = readJsonObject(pkgJsonPath);
|
|
561
|
-
if (!pkg) {
|
|
562
|
-
this.logger.debug('Skipping malformed package.json', { meta: { entryName: entry.name } });
|
|
563
|
-
continue;
|
|
564
|
-
}
|
|
565
|
-
const name = asString(pkg['name']);
|
|
566
|
-
if (!name.startsWith('@camstack/'))
|
|
567
|
-
continue;
|
|
568
|
-
const camstack = asRecord(pkg['camstack']);
|
|
569
|
-
if (!Array.isArray(camstack['addons']))
|
|
570
|
-
continue;
|
|
571
|
-
results.push({
|
|
572
|
-
name,
|
|
573
|
-
version: asString(pkg['version'], '0.0.0'),
|
|
574
|
-
installed: installed.has(name),
|
|
575
|
-
});
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
catch (err) {
|
|
579
|
-
this.logger.warn('Failed to read workspace directory', { meta: { error: (0, types_2.errMsg)(err) } });
|
|
580
|
-
}
|
|
581
|
-
return results;
|
|
582
|
-
}
|
|
583
|
-
// =========================================================================
|
|
584
482
|
// Query
|
|
585
483
|
// =========================================================================
|
|
586
484
|
/** List all installed addon packages */
|
|
@@ -1127,9 +1025,9 @@ class AddonPackageService {
|
|
|
1127
1025
|
};
|
|
1128
1026
|
}
|
|
1129
1027
|
// Reuse the long-lived installer the registry already configured
|
|
1130
|
-
// (correct addonsDir +
|
|
1131
|
-
// fresh one with `new AI({ addonsDir })` would
|
|
1132
|
-
//
|
|
1028
|
+
// (correct addonsDir + registry) — building a
|
|
1029
|
+
// fresh one with `new AI({ addonsDir })` would skip the central
|
|
1030
|
+
// manifest write.
|
|
1133
1031
|
this.requireInstaller();
|
|
1134
1032
|
const addonInstaller = this.installer;
|
|
1135
1033
|
const previousVersion = this.getInstalledPackageVersion(name);
|
|
@@ -72,11 +72,7 @@ class AddonBridgeService {
|
|
|
72
72
|
const kernel = require('@camstack/server/system');
|
|
73
73
|
const dataDir = process.env.CAMSTACK_DATA ?? 'camstack-data';
|
|
74
74
|
const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
|
|
75
|
-
|
|
76
|
-
this.installer = new kernel.AddonInstaller({
|
|
77
|
-
addonsDir,
|
|
78
|
-
workspacePackagesDir: workspacePackagesDir ?? undefined,
|
|
79
|
-
});
|
|
75
|
+
this.installer = new kernel.AddonInstaller({ addonsDir });
|
|
80
76
|
kernel.ensureDir(addonsDir);
|
|
81
77
|
}
|
|
82
78
|
catch (error) {
|
package/dist/launcher.js
CHANGED
|
@@ -54,7 +54,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
54
54
|
const fs = __importStar(require("node:fs"));
|
|
55
55
|
const os = __importStar(require("node:os"));
|
|
56
56
|
const path = __importStar(require("node:path"));
|
|
57
|
-
const yaml = __importStar(require("js-yaml"));
|
|
58
57
|
const addon_root_inventory_js_1 = require("./addon-root-inventory.js");
|
|
59
58
|
const bootstrap_packages_js_1 = require("./bootstrap-packages.js");
|
|
60
59
|
const first_boot_addon_plan_js_1 = require("./first-boot-addon-plan.js");
|
|
@@ -66,62 +65,6 @@ const pending_restore_js_1 = require("./pending-restore.js");
|
|
|
66
65
|
const pre_migration_restore_js_1 = require("./pre-migration-restore.js");
|
|
67
66
|
/** Resolve the data directory from env or default */
|
|
68
67
|
const DATA_DIR = process.env['CAMSTACK_DATA'] ?? 'camstack-data';
|
|
69
|
-
/** Narrow `CAMSTACK_INSTALL_SOURCE` env into the typed union. */
|
|
70
|
-
function parseInstallSource(value) {
|
|
71
|
-
if (value === 'npm' || value === 'local' || value === 'symlink')
|
|
72
|
-
return value;
|
|
73
|
-
return undefined;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Locate + parse `config.yaml` relative to the data dir. Returns the
|
|
77
|
-
* raw object on success, `null` when missing or unparseable. The
|
|
78
|
-
* launcher uses this BEFORE @camstack/server/system is imported so it must stay
|
|
79
|
-
* free of core deps — just js-yaml + the kernel's bootstrapSchema for
|
|
80
|
-
* shape validation by the call site.
|
|
81
|
-
*/
|
|
82
|
-
function readConfigYaml(dataDir) {
|
|
83
|
-
// CONFIG_PATH (when set) is the authoritative location and must win — it
|
|
84
|
-
// is what main.ts reads/writes. Without this the launcher would miss the
|
|
85
|
-
// `bootstrap.*` section of a relocated config.yaml (e.g. a separate
|
|
86
|
-
// /config mount) and silently fall back to defaults.
|
|
87
|
-
const candidates = [
|
|
88
|
-
...(process.env.CONFIG_PATH ? [path.resolve(process.env.CONFIG_PATH)] : []),
|
|
89
|
-
path.resolve(dataDir, '..', 'config.yaml'),
|
|
90
|
-
path.resolve(dataDir, 'config.yaml'),
|
|
91
|
-
path.resolve(process.cwd(), 'config.yaml'),
|
|
92
|
-
];
|
|
93
|
-
const found = candidates.find((p) => fs.existsSync(p));
|
|
94
|
-
if (!found)
|
|
95
|
-
return null;
|
|
96
|
-
try {
|
|
97
|
-
return yaml.load(fs.readFileSync(found, 'utf-8')) ?? {};
|
|
98
|
-
}
|
|
99
|
-
catch (err) {
|
|
100
|
-
console.warn(`[launcher] Could not parse ${found}: ${err instanceof Error ? err.message : String(err)}`);
|
|
101
|
-
return null;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Read `bootstrap.installSource` from `<dataDir>/config.yaml` if present.
|
|
106
|
-
* Returns the configured value or `null` when absent.
|
|
107
|
-
*
|
|
108
|
-
* Production deployments should leave this unset (defaults to 'npm');
|
|
109
|
-
* `symlink` is a dev-time convenience that points data/addons/<pkg>
|
|
110
|
-
* directly at the workspace source dir — never set in shipped
|
|
111
|
-
* containers or Electron bundles.
|
|
112
|
-
*
|
|
113
|
-
* `bootstrapSchema` is passed in (not imported at module top) so this
|
|
114
|
-
* helper can be called after the dynamic @camstack/server/system import in launch().
|
|
115
|
-
*/
|
|
116
|
-
function readBootstrapInstallSource(dataDir, bootstrapSchema) {
|
|
117
|
-
const raw = readConfigYaml(dataDir);
|
|
118
|
-
if (raw === null)
|
|
119
|
-
return undefined;
|
|
120
|
-
const validation = bootstrapSchema.safeParse(raw);
|
|
121
|
-
if (!validation.success)
|
|
122
|
-
return undefined;
|
|
123
|
-
return parseInstallSource(validation.data.bootstrap.installSource);
|
|
124
|
-
}
|
|
125
68
|
/**
|
|
126
69
|
* Derive the bootstrap package list from THIS server's own package.json — the
|
|
127
70
|
* `@camstack/addon-*` deps plus `@camstack/server/system` (which ships the required
|
|
@@ -188,31 +131,6 @@ function readInstalledAddonVersions(addonRoot, packages) {
|
|
|
188
131
|
}
|
|
189
132
|
return out;
|
|
190
133
|
}
|
|
191
|
-
/**
|
|
192
|
-
* Read `bootstrap.requiredAddons` from `<dataDir>/config.yaml` if present.
|
|
193
|
-
* Returns the parsed array, an empty array when explicitly set to `[]`,
|
|
194
|
-
* or `null` when the field is absent (caller should fall back to the
|
|
195
|
-
* kernel's REQUIRED_PACKAGES constant).
|
|
196
|
-
*
|
|
197
|
-
* Inline YAML parse rather than going through ConfigManager: the
|
|
198
|
-
* launcher runs before @camstack/server/system is imported and must stay free of
|
|
199
|
-
* core dependencies. Just yaml.load + bootstrapSchema (kernel) for
|
|
200
|
-
* shape validation.
|
|
201
|
-
*
|
|
202
|
-
* `bootstrapSchema` is passed in (not imported at module top) so this
|
|
203
|
-
* helper can be called after the dynamic @camstack/server/system import in launch().
|
|
204
|
-
*/
|
|
205
|
-
function readBootstrapRequiredAddons(dataDir, bootstrapSchema) {
|
|
206
|
-
const raw = readConfigYaml(dataDir);
|
|
207
|
-
if (raw === null)
|
|
208
|
-
return null;
|
|
209
|
-
const validation = bootstrapSchema.safeParse(raw);
|
|
210
|
-
if (!validation.success) {
|
|
211
|
-
console.warn(`[launcher] config.yaml failed bootstrapSchema validation: ${validation.error.message}`);
|
|
212
|
-
return null;
|
|
213
|
-
}
|
|
214
|
-
return validation.data.bootstrap.requiredAddons ?? null;
|
|
215
|
-
}
|
|
216
134
|
async function launch() {
|
|
217
135
|
const dataDir = DATA_DIR;
|
|
218
136
|
// Node role (hub | agent) — resolved ONCE here. Dynamic import keeps the
|
|
@@ -252,7 +170,7 @@ async function launch() {
|
|
|
252
170
|
// @camstack/server/system is imported DYNAMICALLY here — AFTER the active framework
|
|
253
171
|
// dir + NODE_PATH are resolved above — so the correct framework copy is what
|
|
254
172
|
// gets loaded. Never import it at module top.
|
|
255
|
-
const { AddonInstaller,
|
|
173
|
+
const { AddonInstaller, quarantineAddonResidue } = await Promise.resolve().then(() => __importStar(require('@camstack/server/system')));
|
|
256
174
|
// Residue quarantine — FIRST thing that touches the addon root, before the
|
|
257
175
|
// bootstrap seed writes into it and long before any loader scans it.
|
|
258
176
|
//
|
|
@@ -276,52 +194,23 @@ async function launch() {
|
|
|
276
194
|
else {
|
|
277
195
|
console.warn('[launcher] quarantineAddonResidue unavailable — skipping residue quarantine');
|
|
278
196
|
}
|
|
279
|
-
//
|
|
280
|
-
//
|
|
281
|
-
//
|
|
282
|
-
//
|
|
283
|
-
// first launch (`'local'` mode). ONE copy in the bundle: the app used to
|
|
284
|
-
// ship a second, hand-copied <resourcesPath>/addons tree as well (D45).
|
|
285
|
-
// 2. CAMSTACK_INSTALL_SOURCE=local — explicit opt-in to copy from
|
|
286
|
-
// the monorepo workspace (used by e2e + dev bootstrap). Hub
|
|
287
|
-
// auto-detects `packages/` via detectWorkspacePackagesDir.
|
|
288
|
-
// 3. Otherwise: 'npm' from the registry. Local development pushes
|
|
289
|
-
// via `camstack deploy` (CLI tarball upload), bypassing this
|
|
290
|
-
// bootstrap entirely.
|
|
197
|
+
// Provisioning source: CAMSTACK_BUNDLED_ADDONS_DIR — set by Electron-packaged
|
|
198
|
+
// builds to the closure's own scope dir, <resourcesPath>/node_modules/@camstack
|
|
199
|
+
// — seeds first launch from that closure (D45). Otherwise addons come from
|
|
200
|
+
// npm; a workspace build reaches a node only through `camstack deploy`.
|
|
291
201
|
console.log('[launcher] Checking required packages...');
|
|
292
|
-
// Install source resolution:
|
|
293
|
-
// CAMSTACK_INSTALL_SOURCE env: 'npm' | 'local' | 'symlink' | undefined.
|
|
294
|
-
// CAMSTACK_BUNDLED_ADDONS_DIR: Electron path, forces 'local'.
|
|
295
|
-
// bootstrap.installSource (config.yaml): same set as env. Env wins.
|
|
296
|
-
const rawEnvSource = process.env['CAMSTACK_INSTALL_SOURCE'];
|
|
297
|
-
const yamlSource = readBootstrapInstallSource(dataDir, bootstrapSchema);
|
|
298
|
-
const explicitSource = parseInstallSource(rawEnvSource) ?? yamlSource;
|
|
299
202
|
const bundledDir = process.env['CAMSTACK_BUNDLED_ADDONS_DIR'];
|
|
300
|
-
let
|
|
301
|
-
let resolvedSource = explicitSource;
|
|
203
|
+
let bundledAddonsDir;
|
|
302
204
|
if (bundledDir && fs.existsSync(bundledDir)) {
|
|
303
|
-
|
|
304
|
-
resolvedSource = 'local';
|
|
205
|
+
bundledAddonsDir = bundledDir;
|
|
305
206
|
console.log(`[launcher] Using bundled addons from ${bundledDir}`);
|
|
306
207
|
}
|
|
307
|
-
else if (explicitSource === 'local' || explicitSource === 'symlink') {
|
|
308
|
-
workspaceDir = detectWorkspacePackagesDir(__dirname);
|
|
309
|
-
if (workspaceDir === null) {
|
|
310
|
-
console.warn(`[launcher] installSource=${explicitSource} requested but no workspace ` +
|
|
311
|
-
`packages/ dir found from ${__dirname} — falling back to 'npm'`);
|
|
312
|
-
resolvedSource = 'npm';
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
208
|
const installer = new AddonInstaller({
|
|
316
209
|
addonsDir,
|
|
317
|
-
|
|
318
|
-
installSource: resolvedSource,
|
|
210
|
+
...(bundledAddonsDir ? { bundledAddonsDir } : {}),
|
|
319
211
|
});
|
|
320
|
-
//
|
|
321
|
-
//
|
|
322
|
-
// SQL before this list is installed; everything here must be a known
|
|
323
|
-
// package name that can be resolved from the workspace, the bundle, or
|
|
324
|
-
// npm. Default (undefined) → derive from THIS server's own package.json.
|
|
212
|
+
// The first-boot addon set always comes from the package; no config key
|
|
213
|
+
// overrides it.
|
|
325
214
|
//
|
|
326
215
|
// We derive the list here rather than relying on
|
|
327
216
|
// `AddonInstaller.REQUIRED_PACKAGES` (which uses
|
|
@@ -335,10 +224,9 @@ async function launch() {
|
|
|
335
224
|
// The server's own package.json is always readable next to this launcher.
|
|
336
225
|
// Role-aware default bootstrap set: the hub installs every addon-* dep of
|
|
337
226
|
// its own package.json; the agent installs ONLY the agent bootstrap subset
|
|
338
|
-
// (AGENT_PACKAGES, derived from `camstack.agentBootstrapAddons`).
|
|
339
|
-
// config.yaml `bootstrap.requiredAddons` override still wins for both roles.
|
|
227
|
+
// (AGENT_PACKAGES, derived from `camstack.agentBootstrapAddons`).
|
|
340
228
|
const roleDefaultBootstrap = role === 'agent' ? AddonInstaller.AGENT_PACKAGES : deriveBootstrapFromSelf();
|
|
341
|
-
const bootstrapRequired =
|
|
229
|
+
const bootstrapRequired = roleDefaultBootstrap;
|
|
342
230
|
console.log(`[launcher] bootstrap (${role}): ${bootstrapRequired.length} required package(s)`);
|
|
343
231
|
// THE FIRST-BOOT ADDON PLAN — reported every boot (D45 task 32).
|
|
344
232
|
//
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.730",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,15 +66,17 @@
|
|
|
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-benchmark": ">=1.2.
|
|
72
|
-
"@camstack/addon-
|
|
73
|
-
"@camstack/addon-
|
|
74
|
-
"@camstack/addon-
|
|
75
|
-
"@camstack/addon-
|
|
76
|
-
"@camstack/addon-
|
|
77
|
-
"@camstack/addon-
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.550",
|
|
70
|
+
"@camstack/addon-agent-ui": ">=1.2.311",
|
|
71
|
+
"@camstack/addon-benchmark": ">=1.2.309",
|
|
72
|
+
"@camstack/addon-export-alexa": ">=1.2.178",
|
|
73
|
+
"@camstack/addon-export-hap": ">=1.2.189",
|
|
74
|
+
"@camstack/addon-import-alexa": ">=0.2.177",
|
|
75
|
+
"@camstack/addon-model-studio": ">=1.1.340",
|
|
76
|
+
"@camstack/addon-osd-manager": ">=0.1.313",
|
|
77
|
+
"@camstack/addon-provider-homeassistant": ">=1.2.646",
|
|
78
|
+
"@camstack/addon-provider-homematic": ">=1.2.179",
|
|
79
|
+
"@camstack/addon-training": ">=0.1.126"
|
|
78
80
|
},
|
|
79
81
|
"wrapper": {
|
|
80
82
|
"desktop": ">=0.0.1",
|
|
@@ -83,19 +85,19 @@
|
|
|
83
85
|
}
|
|
84
86
|
},
|
|
85
87
|
"dependencies": {
|
|
86
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
87
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
88
|
+
"@camstack/addon-admin-ui": "1.2.550",
|
|
89
|
+
"@camstack/addon-agent-ui": "1.2.311",
|
|
88
90
|
"@camstack/addon-auth": "1.2.175",
|
|
89
|
-
"@camstack/addon-benchmark": "1.2.
|
|
91
|
+
"@camstack/addon-benchmark": "1.2.309",
|
|
90
92
|
"@camstack/addon-decoder-nodeav": "1.2.145",
|
|
91
93
|
"@camstack/addon-notifiers": "1.2.626",
|
|
92
94
|
"@camstack/addon-pipeline": "1.2.637",
|
|
93
95
|
"@camstack/addon-pipeline-orchestrator": "1.2.651",
|
|
94
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
95
|
-
"@camstack/develop": "0.1.
|
|
96
|
+
"@camstack/addon-post-analysis": "1.2.662",
|
|
97
|
+
"@camstack/develop": "0.1.44",
|
|
96
98
|
"@camstack/sdk": "1.2.155",
|
|
97
|
-
"@camstack/types": "1.2.
|
|
98
|
-
"@camstack/ui-library": "1.2.
|
|
99
|
+
"@camstack/types": "1.2.470",
|
|
100
|
+
"@camstack/ui-library": "1.2.369",
|
|
99
101
|
"@fastify/compress": "^9.0.0",
|
|
100
102
|
"@fastify/cookie": "^11.0.2",
|
|
101
103
|
"@fastify/cors": "^11.2.0",
|
|
@@ -10297,8 +10297,7 @@ function createAddonSettingsStore(door, addonId) {
|
|
|
10297
10297
|
var BOOTSTRAP_OWNED_SECTIONS = new Set([
|
|
10298
10298
|
"server",
|
|
10299
10299
|
"auth",
|
|
10300
|
-
"bootstrap"
|
|
10301
|
-
"keychain"
|
|
10300
|
+
"bootstrap"
|
|
10302
10301
|
]);
|
|
10303
10302
|
/** The only keys under a bootstrap-owned section the store may answer. */
|
|
10304
10303
|
var STORE_READABLE_BOOTSTRAP_KEYS = new Set([
|
|
@@ -10242,8 +10242,7 @@ function createAddonSettingsStore(door, addonId) {
|
|
|
10242
10242
|
var BOOTSTRAP_OWNED_SECTIONS = new Set([
|
|
10243
10243
|
"server",
|
|
10244
10244
|
"auth",
|
|
10245
|
-
"bootstrap"
|
|
10246
|
-
"keychain"
|
|
10245
|
+
"bootstrap"
|
|
10247
10246
|
]);
|
|
10248
10247
|
/** The only keys under a bootstrap-owned section the store may answer. */
|
|
10249
10248
|
var STORE_READABLE_BOOTSTRAP_KEYS = new Set([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-B3S0ruBa.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { rs as defineRecordKinds } from "./dist-9lvgpcnm.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -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-B3S0ruBa.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Us as errMsg, Ws as EventCategory, rn as addonPagesCapability, uo as BaseAddon } from "../../dist-9lvgpcnm.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
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-B3S0ruBa.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Us as errMsg, Ws as EventCategory, an as addonWidgetsCapability, uo as BaseAddon } from "../../dist-9lvgpcnm.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
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-B3S0ruBa.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
8
|
//#region src/builtins/alerts/alert-episode-policy.ts
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dr as isAlertEpisodeOpen, Or as isAlertEpisodeSeverity, Us as errMsg, Ws as EventCategory, cn as alertsCapability, d as AlertSchema, es as createEvent, on as alertEpisodeId, rs as defineRecordKinds, sn as alertEpisodePayload, uo as BaseAddon } from "../../dist-9lvgpcnm.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
3
|
//#region src/builtins/alerts/alert-episode-policy.ts
|
|
4
4
|
/**
|
|
@@ -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-B3S0ruBa.js");
|
|
7
7
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
8
8
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
9
9
|
deadZoneFraction: .5,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Oi as ptzAutotrackCapability, Us as errMsg, Ws as EventCategory, et as FIRST_LEVEL_MACRO_CLASSES, fs as isEvent, pn as bareAddonId, uo as BaseAddon } from "../../dist-9lvgpcnm.mjs";
|
|
2
2
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
3
3
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
4
4
|
deadZoneFraction: .5,
|
|
@@ -3,9 +3,9 @@ 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-B3S0ruBa.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
|
-
const require_restore_archive = require("../../restore-archive-
|
|
8
|
+
const require_restore_archive = require("../../restore-archive-orP6eHBd.js");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
10
10
|
let node_fs_promises = require("node:fs/promises");
|
|
11
11
|
node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as mayWriteToLocation, Fs as toNodeId, Ws as EventCategory, da as storageOccupancyCapability, fn as backupCapability, uo as BaseAddon, xs as nodePin } from "../../dist-9lvgpcnm.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-cxnuWxQM.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import * as fsp from "node:fs/promises";
|
|
6
6
|
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-B3S0ruBa.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
//#region src/builtins/calendars/calendar-color.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as CalendarPreferencesSchema, rs as defineRecordKinds, uo as BaseAddon, xn as calendarsCapability } from "../../dist-9lvgpcnm.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/builtins/calendars/calendar-color.ts
|
|
@@ -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-B3S0ruBa.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let _camstack_types_node = require("@camstack/types/node");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ba as buildFfmpegArgs, Bs as DeviceFeature, Gn as declarationOwnerNodeId, Hs as DeviceType, K as DeclaredDevices, L as DERIVED_CAMERA_SILENCED_CAP_NAMES, Sn as cameraGridLayoutCapability, Us as errMsg, Ws as EventCategory, es as createEvent, m as BaseDevice, oa as snapshotCapability, oi as motionCapability, pa as streamCatalogCapability, ti as memoizePinnedFfmpeg, uo as BaseAddon, us as hydrateSchema, xt as MOTION_CLOSE_AFTER_MS } from "../../dist-9lvgpcnm.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { FfmpegProcess } from "@camstack/types/node";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
7
|
-
const require_composition_sources = require("../../composition-sources-
|
|
8
|
-
const require_retention = require("../../retention-
|
|
6
|
+
const require_dist = require("../../dist-B3S0ruBa.js");
|
|
7
|
+
const require_composition_sources = require("../../composition-sources-hokiaS3J.js");
|
|
8
|
+
const require_retention = require("../../retention-CB2cyW9k.js");
|
|
9
9
|
let zod = require("zod");
|
|
10
10
|
//#region src/builtins/composer/actuator-invoke.ts
|
|
11
11
|
/**
|