/**
 * @fileoverview Team routes.
 * Provides read-only access to agent team data from TeamWatcher.
 */
export function registerTeamRoutes(app, ctx) {
    app.get('/api/teams', async () => {
        return { success: true, data: ctx.teamWatcher.getTeams() };
    });
    app.get('/api/teams/:name/tasks', async (req) => {
        const { name } = req.params;
        return { success: true, data: ctx.teamWatcher.getTeamTasks(name) };
    });
}
//# sourceMappingURL=team-routes.js.map