feat(app): scaffold isolated Flutter client and parallel work contracts

This commit is contained in:
2026-10-21 13:14:07 +01:00
parent 9ee2e003bf
commit 0e0ef5450e
77 changed files with 2357 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
/// A complete JSON protocol envelope, shared by all client features.
typedef JsonMap = Map<String, dynamic>;
/// One shared request/reply transport. Feature code never owns a socket.
abstract interface class ApiGateway {
Future<JsonMap> call(String type, [JsonMap fields = const {}]);
/// Unsolicited server envelopes (run_event, chat_event, permissions, etc.).
Stream<JsonMap> get frames;
}