refactor: isolate standalone key setup and service composition

This commit is contained in:
Sameh Khamis committed 2026-09-12 12:59:39 -07:00
1 parent 638902296a
commit cd92855f88
6 files changed
+501 -861

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ test('the boot provenance snapshot survives in-process Vite config re-evaluation
// panel save has already set its values live on process.env. A recomputed
// snapshot would classify the panel's own keys as external (read-only) until
// a full process relaunch, so the first evaluation's snapshot must win.
const source = readFileSync(new URL('../server/providers/local.js', import.meta.url), 'utf8');
const source = readFileSync(new URL('../server/standalone/key-setup.js', import.meta.url), 'utf8');
assert.match(
source,
/const PROVIDER_ENV_AT_BOOT = globalThis\.__GEV_PROVIDER_ENV_AT_BOOT \?\?= Object\.freeze\(/,