362e089be0
Der Nutzer hat recht: Der Ordner war voller Entwicklungs-Muell. Jetzt ist sauber getrennt: ROOT (was der Nutzer sieht und braucht): - run.py = das Programm - hms_app/ = der Anwendungscode - HMS MediaEngine.app = macOS Doppelklick-Starter - HMS-Start.vbs = Windows Doppelklick-Starter - HMS-Install.vbs = Windows Erst-Installation - HMS-Mac-Install.command = macOS Homebrew-Installation - HMS-Portable-Install.command = macOS Portable-Installation (16GB-Fix) - installer_gui.py = grafischer Installer - launcher.pyw + launcher_core.py = interne Start-Logik - LIESMICH.txt = 10-Zeilen-Kurzanleitung - .gitignore _entwicklung/ (alles andere, NICHT benoetigt): - packages/ apps/ native/ plugins/ tools/ schemas/ tests/ docs/ build/ fixture_profiles/ - PLAN.md STATUS.md ERRORS.md TEST_REPORT.md CHANGELOG.md README.md - pyproject.toml uv.lock setup_*.sh/ps1 make_mac_app.py Diese Trennung gilt ab sofort fuer alle Commits. Der Nutzer kann _entwicklung/ loeschen wenn er Platz braucht - die App laeuft ohne. Verifiziert: App startet nach Aufraeumen unveraendert (Health 200).
72 lines
1.6 KiB
Python
72 lines
1.6 KiB
Python
"""hms_cluster – Clusterprotokoll, Registry, Paarung, Discovery, Gruppen,
|
||
Clock-Sync, zeitgestempelte Aktivierung (§6.3–§6.5; ADR-0009/0010)."""
|
||
|
||
from hms_cluster.activation import (
|
||
ActivationCoordinator,
|
||
ArmState,
|
||
PlannedActivation,
|
||
)
|
||
from hms_cluster.clock import ClockEstimator, ClockSample, now_monotonic_ns
|
||
from hms_cluster.discovery import (
|
||
DISCOVERY_PROTOCOL_VERSION,
|
||
SERVICE_TYPE,
|
||
ManualNodeList,
|
||
ServiceInfo,
|
||
capability_digest,
|
||
)
|
||
from hms_cluster.groups import GroupRouter, GroupRule, ServerGroup, TargetKind
|
||
from hms_cluster.message import ClusterMessage, CommandStatus, CommandTracker
|
||
from hms_cluster.pairing import (
|
||
PairingPin,
|
||
PairingStore,
|
||
Scope,
|
||
generate_pin,
|
||
hash_token,
|
||
identity_fingerprint,
|
||
new_token,
|
||
pin_valid,
|
||
)
|
||
from hms_cluster.registry import (
|
||
DuplicateNodeError,
|
||
HealthThresholds,
|
||
NodeCategory,
|
||
NodeEntry,
|
||
NodeHealth,
|
||
NodeRegistry,
|
||
)
|
||
|
||
__all__ = [
|
||
"SERVICE_TYPE",
|
||
"DISCOVERY_PROTOCOL_VERSION",
|
||
"ServiceInfo",
|
||
"ManualNodeList",
|
||
"capability_digest",
|
||
"ClusterMessage",
|
||
"CommandStatus",
|
||
"CommandTracker",
|
||
"PairingPin",
|
||
"PairingStore",
|
||
"Scope",
|
||
"generate_pin",
|
||
"pin_valid",
|
||
"identity_fingerprint",
|
||
"new_token",
|
||
"hash_token",
|
||
"DuplicateNodeError",
|
||
"HealthThresholds",
|
||
"NodeCategory",
|
||
"NodeEntry",
|
||
"NodeHealth",
|
||
"NodeRegistry",
|
||
"GroupRouter",
|
||
"GroupRule",
|
||
"ServerGroup",
|
||
"TargetKind",
|
||
"ClockEstimator",
|
||
"ClockSample",
|
||
"now_monotonic_ns",
|
||
"ActivationCoordinator",
|
||
"ArmState",
|
||
"PlannedActivation",
|
||
]
|