import { Router } from 'express';
import { canResolveZed } from './zed-resolver.js';
export function capabilitiesRouter() {
    const router = Router();
    router.get('/', async (_req, res) => {
        const platform = process.platform;
        const capabilities = {
            platform,
            supports: {
                terminal: platform === 'darwin',
                zed: await canResolveZed(),
                claude: platform === 'darwin',
            },
        };
        res.json(capabilities);
    });
    return router;
}
//# sourceMappingURL=capabilities.js.map