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).
37 lines
817 B
Python
37 lines
817 B
Python
"""hms_protocol – versioniertes IPC (PLAN.md §6.2, ADR-0003).
|
||
|
||
Lokales TCP auf 127.0.0.1, length-prefixed MessagePack, Protokollversion 1.
|
||
Verbindungsschicht: Handshake, Snapshot/Delta, Heartbeat, Re-Sync.
|
||
"""
|
||
|
||
from hms_protocol.connection import (
|
||
HandshakeInfo,
|
||
IpcClient,
|
||
IpcServer,
|
||
ProtocolError,
|
||
)
|
||
from hms_protocol.envelope import Envelope, MessageType
|
||
from hms_protocol.framing import (
|
||
decode_frame,
|
||
encode_frame,
|
||
read_frame,
|
||
read_frame_async,
|
||
write_frame,
|
||
)
|
||
from hms_protocol.idempotency import IdempotencyRegistry
|
||
|
||
__all__ = [
|
||
"Envelope",
|
||
"MessageType",
|
||
"encode_frame",
|
||
"decode_frame",
|
||
"read_frame",
|
||
"read_frame_async",
|
||
"write_frame",
|
||
"IdempotencyRegistry",
|
||
"IpcServer",
|
||
"IpcClient",
|
||
"HandshakeInfo",
|
||
"ProtocolError",
|
||
]
|