load-env.mjs
11 lines 339 B
Raw
sha256:c2dbf04d56308f3bbf2d06e6d2eb022b8948b1e827195fe525a44e5e18d5f9c0 feat(auth): Phase B Connect cloud agent (RFC 8628) + Hermes… Human minor ⚠ breaking 11 days ago
1 /**
2 * Load .env from project root. Call at startup so process.env has API keys etc.
3 * .env is gitignored; use .env.example as a template.
4 */
5
6 import dotenv from 'dotenv';
7 import path from 'path';
8 import { getRepoRoot } from './repo-root.mjs';
9
10 const projectRoot = getRepoRoot();
11 dotenv.config({ path: path.join(projectRoot, '.env') });
File History 1 commit
sha256:93bcf8f9bd56d8c5b9339f4ec73b9ebd66571398d56262d38eedc2cfa9db9882 fix(test): align Band B landing assertion with desktop MCP … Human 11 days ago