fix: load API keys from .env at runtime — never embed credentials in cron payloads or source code

This commit is contained in:
2026-03-06 02:04:55 +00:00
parent 0d3ef7c285
commit 261f5800ad
5 changed files with 50 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env node
import { loadEnv } from './lib/env.mjs';
loadEnv(); // load .env before anything else
/**
* job_applier.mjs — claw-apply Job Applier
* Reads jobs queue and applies using the appropriate handler per apply_type