mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-27 19:41:58 -06:00
Scaffold Engine application interfaces
This commit is contained in:
21
Data/Engine/interfaces/http/agents.py
Normal file
21
Data/Engine/interfaces/http/agents.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""Agent HTTP interface placeholders for the Engine."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from flask import Blueprint, Flask
|
||||
|
||||
|
||||
blueprint = Blueprint("engine_agents", __name__, url_prefix="/api/agents")
|
||||
|
||||
|
||||
def register(app: Flask) -> None:
|
||||
"""Attach agent management routes to *app*.
|
||||
|
||||
Implementation will be populated as services migrate from the legacy server.
|
||||
"""
|
||||
|
||||
if "engine_agents" not in app.blueprints:
|
||||
app.register_blueprint(blueprint)
|
||||
|
||||
|
||||
__all__ = ["register", "blueprint"]
|
||||
Reference in New Issue
Block a user