/**
 * src/server/routes/health.ts — Health check endpoint
 *
 * SPEC-610: GET /api/health
 */
import { sendOk } from '../response.js';
/** GET /api/health — returns server status and uptime. */
export function handleHealth(ctx) {
    sendOk(ctx.res, {
        status: 'ok',
        version: process.env.npm_package_version ?? 'unknown',
        uptime: process.uptime(),
    });
    return Promise.resolve();
}
//# sourceMappingURL=health.js.map