Move Android bridge traffic onto AIDL

Add a shared Binder contract for the Agent/Genie control plane and switch the Genie runtime to use the exported Agent bridge service for runtime status and proxied HTTP, leaving AgentSDK questions only for real Genie dialogue.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Iliyan Malchev
2026-03-19 09:22:04 -07:00
parent 1340af08aa
commit 30ae7c28e1
22 changed files with 824 additions and 424 deletions

View File

@@ -1,4 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<permission
android:name="com.openai.codex.permission.BIND_AGENT_BRIDGE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
@@ -20,6 +24,11 @@
</intent-filter>
</service>
<service
android:name=".CodexAgentBridgeService"
android:exported="true"
android:permission="com.openai.codex.permission.BIND_AGENT_BRIDGE" />
<service
android:name=".CodexdForegroundService"
android:exported="true"