84cb82d2c4
Check Cross-Plugin Imports / check (push) Has been cancelled
- app/plugins/miniapp_registry.py: Registry aus kommunikation in Plugin-Layer gehoben (Plattform-Konzept, hosts chat/dashboard/window)
- MiniAppDef: permission (fail-closed) + settings_schema + col/row_span + hosts + component + order + builtin
- MiniAppContribution + FrontendDashboardWidget (Manifest-Schema) um M1-Felder erweitert — dashboard_widgets ist Alias von miniapps (ein Contribution-Typ, #359-Philosophie)
- BasePlugin.on_activate: automatische Manifest-Registrierung; on_deactivate: unregister_plugin (nur eigene Apps)
- GET /api/v1/miniapps (server-seitig permission-gefiltert, ?host=) + GET /api/v1/miniapps/{app_id} (403/404 fail-closed)
- kommunikation/miniapp_registry.py = Kompatibilitaets-Bruecke (Bestands-Importer unveraendert)
- Doku: api-documentation.md + plugin-development-guide.md (MiniApp-Beitragsmuster)
TDD: Rot 16 failed -> Gruen 16/16; Regressionen: contracts 23/23, lifecycle+route_order 4/4; ruff clean (M1-Dateien, Vorbestand per Stash bewiesen); create_app OK
26 lines
695 B
Python
26 lines
695 B
Python
"""Compatibility bridge — the MiniApp registry moved to the plugin layer.
|
|
|
|
The registry is a platform concept now (Phase M1): MiniApps are universal
|
|
building blocks for Chat, Dashboard and Windows. This module re-exports the
|
|
universal registry so every existing importer (kommunikation contracts,
|
|
automation routes, tests) keeps working unchanged.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from app.plugins.miniapp_registry import ( # noqa: F401
|
|
DEFAULT_HOSTS,
|
|
MiniAppDef,
|
|
MiniAppRegistry,
|
|
get_miniapp_registry,
|
|
reset_miniapp_registry,
|
|
)
|
|
|
|
__all__ = [
|
|
"MiniAppDef",
|
|
"MiniAppRegistry",
|
|
"get_miniapp_registry",
|
|
"reset_miniapp_registry",
|
|
"DEFAULT_HOSTS",
|
|
]
|