mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
12 REST routes under /api/tools/agent-bridge/ covering all AgentBridge backend surfaces: server lifecycle, per-agent state/DNS/mappings/detect, cert status/download/regenerate, bypass pattern CRUD, upstream CA config. All routes use Zod validation and route errors through sanitizeErrorMessage. feat(authz): mark agent-bridge LOCAL_ONLY + SPAWN_CAPABLE (F5) Adds /api/tools/agent-bridge/ to both LOCAL_ONLY_API_PREFIXES and SPAWN_CAPABLE_PREFIXES in routeGuard.ts — satisfying Hard Rules #15 + #17.