#pragma once // Agent Platform demos. One register function per module, each in its own // file under example/app/agent/. Every route lives under /agent/ and // is excluded from locust (paid Google APIs). Rules for a demo: // - GET pages and status routes answer 2xx without credentials (the matrix // test crawls them); anything that calls Google is a POST and answers 503 // google_not_configured without a credential. // - State lives in objects created inside the register function and // captured by the handlers; do not edit Services. // - The Google client is services.google (null: GoogleClient::from_env()). #include "App.hpp" namespace molo::example::app { void register_agent_models_demo(fw::Router& router, Services& services); void register_agent_runtime_demo(fw::Router& router, Services& services); void register_agent_sessions_demo(fw::Router& router, Services& services); void register_agent_sandbox_demo(fw::Router& router, Services& services); void register_agent_registry_demo(fw::Router& router, Services& services); void register_agent_armor_demo(fw::Router& router, Services& services); void register_agent_optimize_demo(fw::Router& router, Services& services); void register_agent_adk_demo(fw::Router& router, Services& services); void register_agent_live_demo(fw::Router& router, Services& services); // Mounts every module's router at "" (called once from build_application). void register_agent_demos(std::shared_ptr app, Services& services); } // namespace molo::example::app