Native SwiftUI client for a headless OpenCode server.
- macOS: managed local server connection.
- iOS: remote server connection flow.
This is a community project and is not affiliated with or built by the OpenCode team.
- SwiftUI app target
- Handwritten OpenCode HTTP client (REST + SSE)
- No OpenAPI codegen
- Built and tested against OpenCode server
v1.1.65
- Generate project files.
xcodegen generate- Open the project.
open OpenCodePocket.xcodeproj- Build and run on an iOS 26+ simulator.
GET /global/health- Session CRUD
- Session messages list/get/send
POST /session/:id/prompt_asyncPOST /session/:id/abortGET /eventSSE stream
- Optional Basic Auth support
- Password persisted in Keychain
- ATS exception for
claudl.taile64ce5.ts.netto permit HTTP for local network use