diff --git a/app.json b/app.json index 9728603..5bfcaf1 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "expo": { "name": "OpenCode", "slug": "opencode-mobile", - "version": "0.4.6", + "version": "0.4.7", "orientation": "portrait", "scheme": "opencode", "userInterfaceStyle": "automatic", @@ -34,7 +34,7 @@ }, "android": { "package": "cc.agentlabs.opencode", - "versionCode": 33, + "versionCode": 34, "usesCleartextTraffic": true, "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", diff --git a/distribution/changelogs/34.txt b/distribution/changelogs/34.txt new file mode 100644 index 0000000..cc28081 --- /dev/null +++ b/distribution/changelogs/34.txt @@ -0,0 +1,15 @@ +v0.4.7 — Connection status banner + privacy test coverage + +• Reconnecting banner: when the connection to your opencode server drops, + an amber "Reconnecting… (attempt N)" banner appears in the session view. + A green "Connected ✓" flash confirms when the connection recovers. + +• Push notifications: permission requests and agent questions now fire an + OS push notification when the app is backgrounded — title "Agent needs + approval" with dedup so reconnects don't re-fire the same notification. + +• Privacy: URL credential scrubbing (basic-auth, token, api_key, password) + now has 13 automated unit tests. Any regression will fail CI before shipping. + +• Internal: pure scrub module extracted for testability; goal.md and TDD + docs updated to reflect current shipped state. diff --git a/distribution/whatsnew/whatsnew-en-US b/distribution/whatsnew/whatsnew-en-US index 329bc05..f50412b 100644 --- a/distribution/whatsnew/whatsnew-en-US +++ b/distribution/whatsnew/whatsnew-en-US @@ -1,5 +1,3 @@ -v0.4.6 — Sessions loading fix verified + clearer setup guide +v0.4.7 — Reconnecting banner + push notifications for approvals -Sessions now reliably load from your opencode server on connect, and remain visible when navigating between views. Regression confirmed fixed by automated E2E test. - -Updated: support email is now support@agentlabs.cc. App description now clearly explains the setup: run opencode serve on your machine, connect via Tailscale or local network. +See a live status banner when your server connection drops ("Reconnecting...") and a confirmation when it recovers. Agent approval requests and questions now send an OS push notification when the app is in the background. Privacy improvements: URL credential scrubbing is now covered by automated tests. diff --git a/package.json b/package.json index 99f4e01..e6cd92b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@opencode-ai/mobile", - "version": "0.4.6", + "version": "0.4.7", "private": true, "main": "expo-router/entry", "scripts": {