How cerbere-ag/agentguard-shield works
AgentGuard Shield is represented here as a public-facing product website, not the runtime-security SDK described in the pasted terminal transcript. A visitor reaches the landing page, documentation, or blog through the web app; the landing page presents integrations, a terminal-style demo, FAQs, and product/pricing information. The sampled code also shows router setup and server-side error handling. The README excerpt does not document these site internals, so relationships below rely on the source index or excerpts; the security engine and dashboard implementation are not present in the supplied tree.
Main entry points: routeTree.gen.ts Route registry · index.tsx Landing page · Reveal.tsx Reveal animation · detecting-prompt-injection-in-production.tsx Security article
Components 17
Public content
- Landing page
src/routes/index.tsx - Documentation
src/routes/docs.tsx - Blog index
src/routes/blog/index.tsx - Security article
src/routes/blog/detecting-prompt-injection-in-production.tsx
Web runtime
- Router setup
src/router.tsx - Route registry
src/routeTree.gen.ts - Root route
src/routes/__root.tsx - Request handler
src/server.ts - Error capture
src/lib/error-capture.ts - Error response page
src/lib/error-page.ts - Error reporting
src/lib/lovable-error-reporting.ts
Shared components
- Integration showcase
src/components/Integrations.tsx - FAQ
src/components/Faq.tsx - Terminal demo
src/components/Terminal.tsx - Reveal animation
src/components/Reveal.tsx - UI primitives
src/components/ui
Other components
- Website visitor
Connections 19
- Website visitor → Landing page: browses
- Router setup → Route registry: registers routes
src/router.tsx - Route registry → Root route: includes
src/routeTree.gen.ts - Route registry → Landing page: registers
src/routeTree.gen.ts - Route registry → Documentation: registers
src/routeTree.gen.ts - Route registry → Blog index: registers
src/routeTree.gen.ts - Route registry → Security article: registers
src/routeTree.gen.ts - Landing page → Integration showcase: renders
src/routes/index.tsx - Landing page → FAQ: renders
src/routes/index.tsx - Landing page → Terminal demo: renders
src/routes/index.tsx - Landing page → Reveal animation: uses
src/routes/index.tsx - Blog index → Reveal animation: uses
src/routes/blog/index.tsx - Documentation → Reveal animation: uses
src/routes/docs.tsx - Security article → Reveal animation: uses
src/routes/blog/detecting-prompt-injection-in-production.tsx - Security article → Terminal demo: renders
src/routes/blog/detecting-prompt-injection-in-production.tsx - FAQ → Reveal animation: uses
src/components/Faq.tsx - Root route → Error reporting: uses
src/routes/__root.tsx - Request handler → Error capture: consumes captured error
src/server.ts - Request handler → Error response page: renders on failure
src/server.ts