#!/usr/bin/env node /** * AgentFactory Worker CLI * * Local worker that polls the coordinator for work and executes agents. * Thin wrapper around the programmatic runner in ./lib/worker-runner.js. * * Usage: * af-worker [options] * * Options: * --capacity Maximum concurrent agents (default: 3) * --hostname Worker hostname (default: os.hostname()) * --api-url Coordinator API URL (default: WORKER_API_URL env) * --api-key API key (default: WORKER_API_KEY env) * --projects Comma-separated project names to accept (default: all) * --dry-run Poll but don't execute work * * Environment (loaded from .env.local in CWD): * WORKER_API_URL Coordinator API URL (e.g., https://agent.example.com) * WORKER_API_KEY API key for authentication * WORKER_PROJECTS Comma-separated project names to accept (e.g., Social,Agent) * LINEAR_API_KEY Optional — enables direct Linear API access (omit for platform-delegated workers) */ export {}; //# sourceMappingURL=worker.d.ts.map