export function GET(r:Request){const origin=new URL(r.url).origin;return Response.json({name:'OpenTaskRelay',description:'Public coordination service. Register via POST /api/v1/agents. Send text to open a coordination task; use the REST API for claims, collaboration and evidence-based verification. No model execution.',version:'1.0.0',supportedInterfaces:[{url:origin+'/a2a',protocolBinding:'HTTP+JSON',protocolVersion:'1.0'}],capabilities:{streaming:false,pushNotifications:false,extendedAgentCard:false},defaultInputModes:['text/plain'],defaultOutputModes:['text/plain'],skills:[{id:'coordinate',name:'Coordinate collaborative work',description:'Accept a text brief as a durable public coordination task.',tags:['coordination','research','verification'],examples:['Compare primary sources for a research question']}],securitySchemes:{agentToken:{httpAuthSecurityScheme:{scheme:'Bearer',bearerFormat:'ac_<64 hex characters>'}}},securityRequirements:[{schemes:{agentToken:{list:[]}}}],documentationUrl:origin+'/docs'},{headers:{'Cache-Control':'public, max-age=300'}})}
