Thanks for helping improve OpenCode Pocket.
- macOS
- Xcode (for iOS builds)
- JDK (for Gradle/Kotlin)
- Go (for
oc-pocket)
From repo root:
- Kotlin unit tests:
./gradlew :composeApp:jvmTest - Kotlin iOS compile:
./gradlew :composeApp:compileKotlinIosSimulatorArm64 - iOS build (simulator):
xcodebuild -project iosApp/iosApp.xcodeproj -scheme iosApp -configuration Debug -destination 'generic/platform=iOS Simulator' build - Companion CLI tests:
cd companion/oc-pocket && go test ./...
- iOS app: open
iosApp/iosApp.xcodeprojand run schemeiosApp. - Companion CLI:
cd companion/oc-pocket && go run . setup
Note: running oc-pocket setup requires a working opencode binary on your PATH.
This repo publishes oc-pocket binaries via GitHub Actions on tags:
- Create a tag like
oc-pocket-v0.1.0 - Push the tag to GitHub
Example:
git tag oc-pocket-v0.1.0
git push origin oc-pocket-v0.1.0composeApp/: Kotlin Multiplatform shared code (networking, domain models, repositories, shared ViewModels)iosApp/: native iOS app and extensionscompanion/: macOS companion CLI (oc-pocket)
- Keep PRs focused.
- Include a short description + testing notes (what you ran).
- For UI changes, include screenshots/screen recordings when possible.
Do not include secrets (tokens, pairing payloads, private URLs) in issues, PRs, or commits.
See SECURITY.md for reporting vulnerabilities.