| 1 | using AgentForge.Services; |
| 2 | |
| 3 | namespace AgentForge.Endpoints; |
| 4 | |
| 5 | public static class ForgeCapabilitiesEndpoints |
| 6 | { |
| 7 | public static RouteGroupBuilder MapCapabilitiesEndpoints(this RouteGroupBuilder api) |
| 8 | { |
| 9 | api.MapGet("/capabilities", (ForgeCapabilitiesService capabilities, string? surface) => |
| 10 | Results.Ok(capabilities.Build(surface))); |
| 11 | return api; |
| 12 | } |
| 13 | } |
| 14 |