feat(companion): add generated macos ios android reference app surfaces
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package flynn.companion
|
||||
|
||||
// Reference Android bootstrap model for integrating with Flynn gateway runtime.
|
||||
// Wire FCM token refresh to node.push_token.set and app lifecycle to heartbeat publishing.
|
||||
|
||||
data class CompanionBootstrap(
|
||||
val schemaVersion: Int,
|
||||
val generatedAt: String,
|
||||
val gateway: Gateway,
|
||||
val node: Node,
|
||||
val runtime: Runtime
|
||||
)
|
||||
|
||||
data class Gateway(
|
||||
val url: String,
|
||||
val token: String?
|
||||
)
|
||||
|
||||
data class Node(
|
||||
val nodeId: String,
|
||||
val role: String,
|
||||
val platform: String,
|
||||
val capabilities: List<String>
|
||||
)
|
||||
|
||||
data class Runtime(
|
||||
val heartbeatSeconds: Int,
|
||||
val handoffTimeoutMs: Int,
|
||||
val autoReconnect: Boolean
|
||||
)
|
||||
|
||||
// Generated for node: android-reference-shell (android)
|
||||
Reference in New Issue
Block a user