Skip to content

add Android and Windows clients#1

Open
Aidenwu0209 wants to merge 1 commit into
hebicheng:mainfrom
Aidenwu0209:codex/add-android-windows-clients
Open

add Android and Windows clients#1
Aidenwu0209 wants to merge 1 commit into
hebicheng:mainfrom
Aidenwu0209:codex/add-android-windows-clients

Conversation

@Aidenwu0209

Copy link
Copy Markdown

Summary

  • Add a native Android client under android/CodexFlowAndroid with dashboard, session detail, approvals, settings, API client, SSE refresh, and unit tests.
  • Add a WinUI 3 Windows client under windows/CodexFlowWindows with dashboard, session detail, approvals, settings, API/SSE clients, and xUnit tests.
  • Add a shared client API contract and update project docs to describe the iOS, Android, and Windows client matrix.
  • Harden approval resolution in the Mac Agent so pending approvals are not lost when payload decoding or JSON-RPC reply fails.

Why

CodexFlow now has Android and Windows clients that consume the same Mac Agent HTTP API and SSE event stream instead of speaking raw Codex protocol or controlling a terminal. The shared contract keeps the client implementations aligned across platforms.

The approval handling fix came from integration review: previously a pending approval could be removed from local state before the reply to Codex succeeded. This PR restores the pending approval on reply failure and avoids removing it when the payload is invalid.

Validation

  • go test ./...
  • ./gradlew testDebugUnitTest assembleDebug
  • ./gradlew lintDebug
  • git diff --check

Notes

  • Windows build/tests were not executed locally because the current macOS environment does not have dotnet or msbuild installed.
  • Android emulator UI QA was not executed because no adb device was connected.

@Aidenwu0209 Aidenwu0209 changed the title [codex] add Android and Windows clients add Android and Windows clients Apr 25, 2026
@Aidenwu0209 Aidenwu0209 marked this pull request as ready for review April 25, 2026 08:11
@Aidenwu0209 Aidenwu0209 marked this pull request as draft April 25, 2026 08:11
@Aidenwu0209 Aidenwu0209 marked this pull request as ready for review April 25, 2026 08:11
@hebicheng

Copy link
Copy Markdown
Owner

已经使用flutter实现多端了,谢谢兄弟的 contribution~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants