/** * Coder initialization script. * * Bootstraps a fresh Coder instance for the hub flow: * 1. Waits for Coder to be healthy * 2. Creates the first admin user (idempotent) * 3. Logs in and creates a long-lived API token * 4. Pushes a workspace template via Coder CLI * 5. Writes credentials to output directory * * Environment variables: * - CODER_URL: Coder server URL (required) * - CODER_ADMIN_EMAIL: Admin email (required) * - CODER_ADMIN_PASSWORD: Admin password (optional, auto-generated) * - CODER_TEMPLATE_DIR: Path to template directory (optional) * - CODER_TEMPLATE_NAME: Template name (optional, defaults to directory name) * - CODER_OUTPUT_DIR: Where to write credentials (default: /var/lib/sudopod) * * Output files (in CODER_OUTPUT_DIR): * - admin-token: The long-lived API token * - credentials.json: Full credentials JSON * * Used by: * - docker-compose.hub.yml (as coder-init container) * - Production deployment (as Kubernetes Job) * * @see s-7rdw - Coder Local Development (Flow 2) */ export {}; //# sourceMappingURL=init-coder.d.ts.map