This commit is contained in:
2026-09-23 17:26:13 +05:30
parent 8e1549764b
commit 697b77f8c1
54 changed files with 5750 additions and 69 deletions

View File

@@ -17,4 +17,9 @@ func RegisterAssistantRoutes(api fiber.Router, f *facade.Facade) {
assistant.Get("/status", f.AssistantController.Status)
assistant.Post("/ask", f.AssistantController.Ask)
assistant.Post("/approve", f.AssistantController.Approve)
// The MCP door, under the same group so it inherits the same session guard.
// One endpoint: JSON-RPC carries the method in the body.
assistant.Post("/mcp", f.MCPController.Handle)
}