- New lib/storage.mjs: async S3 backup on every queue/log save - Versioned S3 bucket (claw-apply-data) keeps every revision - Auto-restore from S3 if local file is missing or corrupt - saveQueue/saveLog now validate data type before writing (prevents the exact bug that corrupted the queue) - IAM role attached to EC2 instance for credential-free S3 access - Config: storage.type = "local" (default) or "s3" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
936 B
JSON
36 lines
936 B
JSON
{
|
|
"_note": "Main settings for claw-apply. Fill in your values and run: node setup.mjs",
|
|
"mode": "A",
|
|
"review_window_minutes": 30,
|
|
"schedules": {
|
|
"search": "0 * * * *",
|
|
"apply": "0 */6 * * *"
|
|
},
|
|
"max_applications_per_run": 50,
|
|
"notifications": {
|
|
"telegram_user_id": "YOUR_TELEGRAM_USER_ID",
|
|
"bot_token": "YOUR_TELEGRAM_BOT_TOKEN"
|
|
},
|
|
"kernel": {
|
|
"proxy_id": "YOUR_KERNEL_PROXY_ID",
|
|
"profiles": {
|
|
"linkedin": "LinkedIn-YourName",
|
|
"wellfound": "WellFound-YourName"
|
|
},
|
|
"connection_ids": {
|
|
"linkedin": "your-linkedin-connection-id",
|
|
"wellfound": "your-wellfound-connection-id"
|
|
}
|
|
},
|
|
"browser": {
|
|
"provider": "kernel",
|
|
"playwright_path": null
|
|
},
|
|
"storage": {
|
|
"type": "local",
|
|
"_note": "Set type to 's3' for S3-backed storage. Requires @aws-sdk/client-s3 and IAM permissions.",
|
|
"bucket": "claw-apply-data",
|
|
"region": "us-west-2"
|
|
}
|
|
}
|