Commit Graph

180 Commits

Author SHA1 Message Date
Dennis V
38da2813b0 test(cua): fix #39/#42 deterministic assertions to match real app behavior
#39 (backgrounded permission notification):
- Event is permission.asked, not permission.requested (events.ts already calls
  notify() for it; send() only fires while backgrounded).
- Assert on APP_PACKAGE (the only token guaranteed in every dumpsys record) plus
  the actual copy ('Permission requested' / 'A tool needs your approval') instead
  of the non-existent 'Agent needs approval' string.

#42 (SSE disconnect banner):
- reconnectAttempts only zeroes after STABLE_CONNECTION_MS (10s) past a healthy
  reconnect, and the pending backoff timer can take up to 15s — so the banner can
  linger ~25s. Poll up to 40s for dismissal instead of a fixed 15s sleep to avoid
  a false 'still showing' failure.

Refs #39 #42

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 15:36:55 +00:00
Dennis V
e4a84e72ea docs: update goal.md to current state (v0.4.6 shipped, Play Store internal, website live, CUA green)
Rewrite <current_mission>: the Play Store publication blocker is cleared
(cc.agentlabs.opencode live on internal track), website opencode.agentlabs.cc
is live (HTTP 200), and the CUA sessions_reload phase is green (run 28002986180).
Refocus the mission on growth: Play Store promotion, F-Droid mainline, content
marketing, and organic SEO/ASO.

Closes #44

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 15:36:42 +00:00
Dennis V
e29f381aab docs(tdd): correct stale references — clarify path.get()/serverHome, add speech.ts, fix version note
- §4: path.get() is still live (feeds serverHome → directory switcher ~ expansion);
  only the dead session-scoping plumbing (sessionScope.ts) was removed in 472ff8d.
  Clarify rather than delete, since the call site is not dead.
- §2: document src/lib/speech.ts (experimental voice input; PRD §7 scope caveat).
- §7: app.json and package.json versions are kept in sync since v0.4.6 (both 0.4.6).

Refs #43

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 15:36:35 +00:00
Dennis V
1f8bae3342 feat(cua): add deterministic ADB-based assertion helpers + feature test scenarios
Adds three deterministic helpers that use ADB instead of LLM vision,
so pass/fail cannot be hallucinated:

  check_ui_text(text)          — uiautomator XML dump + grep
  check_notification_drawer(text, timeout) — dumpsys notification poll
  simulate_network_drop() / restore_network() — svc wifi/data disable

Plus two new feature-test scenarios with deterministic gating:

  sse_disconnect_banner (#42)
    - ADB cuts WiFi+data, waits, checks UI XML for 'Reconnecting' text
    - LLM visual check is supplementary/informational only
    - ADB restores network, checks banner disappears

  backgrounded_permission_notification (#39)
    - ADB backgrounds app (Home key)
    - API sends permission-triggering message
    - adb dumpsys notification checked for 'Agent needs approval'
    - No LLM involved in pass/fail decision

Also adds background_app() / foreground_app() helpers.
Wires new scenarios into --scenarios catalog alongside LLM ones.
Updates --scenarios help text to document both types.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 15:19:34 +00:00
Dennis V
73656c783d retro: document 2026-06-23 sessions false-fixes + CF detour lessons
Key entries:
- Vacuous CUA test goal ('empty is fine') enabled 3x false 'fixed' reports
- Cloudflare 2h detour: wrong zone ID + 20+ repeated DOM failures
- task_complete gate: real-channel verification required
- Overhead sequencing: reproduce before document
- Regression guards must run before model-dependent phases

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 14:10:59 +00:00
Dennis V
6198e4e165 fix(cua): stronger connect phase + fallback pre-create for external server
connect phase: now verifies the connection appears in the list after saving,
not just that the form was dismissed. Prevents false PASS when the LLM
declares connect done before the entry is actually visible.

_precreate_test_session: when external URL (Tailscale) times out from the
CI runner, fall back to localhost:4096 (the runner-local opencode serve).
This ensures the named-session assertion stays active in standard CI runs
while also working when dispatched against a live external server.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 09:11:20 +00:00
Dennis V
1dafdcbc65 ci(cua): add opencode_url dispatch input for live server testing
When dispatched with opencode_url set (e.g. Tailscale URL), the workflow
skips starting a local opencode server and the model probe, and points the
emulator directly at the external server.

This allows running the full CUA test against a live dev server without
depending on the flaky CI-hosted opencode serve setup.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 08:45:34 +00:00
Dennis V
ca33f246e4 refactor(ci): remove unused SCENARIOS branch from probe step
The probe step computed a SCENARIOS output, but the emulator step runs
--showcase hardcoded and never consumes steps.probe.outputs.SCENARIOS, so
the selection logic was dead. Drop it and keep MODEL_CAPABLE as an
informational signal. Showcase mode handles model-unavailability gracefully
(typescript/verify phases are informational-only).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 05:21:38 +00:00
Dennis V
472ff8d27d refactor(sessions): remove dead serverHome/path.get() plumbing
sessionScopeDirectory() always returned null and ignored its home arg, so
the scope plumbing in loadSessions/createSession was dead: scopeDir was
always null, listClient always the default client, and the lazy path.get()
fetch fed only that dead branch. Collapse both call sites to use the
connection's default client directly and delete the now-orphaned
sessionScope.ts helper and its test.

serverHome is intentionally KEPT in connections.ts: it is still consumed by
the directory switcher UI (DirectorySwitcher.tsx, app/(tabs)/index.tsx) for
~ path expansion, so it is not dead code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 05:20:41 +00:00
Dennis V
9498b19457 fix(pages): replace vibebrowser.app with agentlabs.cc across all pages
Replace stale opencode.vibebrowser.app / www.vibebrowser.app domain refs
with the current agentlabs.cc/opencode branding, and update the privacy
policy package id ai.opencode.mobile -> cc.agentlabs.opencode.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 05:18:12 +00:00
Dennis V
2f052e3833 fix(dist): update play whatsnew, fdroid email, package name in strategy
- whatsnew-en-US: v0.4.6 sessions fix notes (actually used by Play CI)
- fdroid metadata AuthorEmail: support@agentlabs.cc
- strategy.md: ai.opencode.mobile → cc.agentlabs.opencode

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 05:06:02 +00:00
Dennis V
7616f97326 release: bump to v0.4.6 (versionCode 33)
Sessions loading regression now properly tested in CI — CUA sessions_reload
phase confirmed passing. Also: support email, descriptions, screenshots.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 04:49:49 +00:00
Dennis V
2de1d22904 assets: update screenshots and demo video from CI run 27992695069
Screenshots from CUA smoke test showing:
- 01: Sessions list loading real sessions from server on connect
- 02: Streaming AI response in a coding session
- 03: Sessions tab after navigating back (sessions_reload regression guard)

Demo: 10x speed video (138s → 14s) of full onboarding flow.
Website now shows <video> with mp4 source + gif fallback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:37:15 +00:00
Dennis V
8ad088b771 copy(descriptions): rewrite Play Store + website for technical clarity — lead with opencode serve remote control, Tailscale setup
- full_description.txt: replace fluffy copy with concrete HOW IT WORKS steps,
  TAILSCALE recommendation, explicit WHAT THIS APP IS NOT section, updated
  support email to support@agentlabs.cc
- short_description.txt: 77-char tagline focused on opencode serve remote control
- docs-site/index.html: update meta description, og:description, twitter:description,
  ld+json description, hero tagline, and 'What is OpenCode Mobile?' paragraphs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:18:22 +00:00
Dennis V
80cefa798d fix(support): correct typo connect@ → support@agentlabs.cc in connection error mailto
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:17:50 +00:00
Dennis V
1f476f1eab fix(support): update contact email to support@agentlabs.cc
Replace all @vibebrowser.app email addresses with @agentlabs.cc across
22 files including privacy policy, Play/App Store listings, fastlane
metadata, docs, README, CONTRIBUTING, eas.json, and in-app mailto links.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:17:06 +00:00
Dennis V
bbe8af9378 fix(cua): pre-create API call must use 127.0.0.1 not 10.0.2.2 on host
The CUA script runs on the CI runner (host), not inside the emulator.
10.0.2.2 is the emulator's special address for the host — it is only
reachable FROM INSIDE the emulator. Calling it from the runner always
fails, so _precreate_test_session returned None, and the session_list
phase fell back to the weak 'screen visible' assertion instead of the
strong 'pre-created session must appear' check.

Fix: replace 10.0.2.2 → 127.0.0.1 before making the pre-create call.
Localhost URLs (100.x.x.x, custom dev server) pass through unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:06:32 +00:00
Dennis V
cdbea50287 fix(cua): fix sessions_reload banner label (moved to step 4b)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:04:20 +00:00
Dennis V
212b80b4a8 fix(cua): move sessions_reload before typescript; fix CI emulator boot
sessions_reload regression phase now runs BEFORE the TypeScript task.
Previously it was gated behind typescript which fails in CI when the model
is unavailable — meaning the actual sessions regression check never ran.

Phase order is now:
  connect → session_list (pre-created session required) → new_session
  → sessions_reload (navigate back, list must be non-empty) [CRITICAL]
  → typescript (informational) → verify (informational) → settings

Critical phases: connect, session_list, new_session, sessions_reload.
TypeScript/verify/settings are informational (model availability varies).

CI emulator fixes:
- api-level: 30 → 28 (more stable, boots reliably on ubuntu-latest)
- target: google_apis → default (lighter, no Play Services needed for
  sessions regression test, avoids known boot issues with google_apis)
- disable-animations: true (reduces boot overhead)
- emulator-boot-timeout: 600 (explicit, matches action default)
- Switch from --scenarios to --showcase (runs the new structured flow
  with _precreate_test_session + sessions_reload phase)
- Clear app state before install (pm clear) for deterministic first-run

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 00:02:13 +00:00
Dennis V
42aa883f99 test(cua): make session_list phase actually test sessions load regression
Previously the session_list phase goal said 'The session list may be empty
(no sessions yet) — that is fine' and 'Report done when you can see the
session list screen (even if empty)'. This means an empty sessions list
was treated as a test PASS, so every previous 'fix' was validated against
a test that cannot detect the regression.

Two changes:
1. _precreate_test_session(): calls POST /session via HTTP before the CUA
   starts. The session_list phase goal now explicitly names this session and
   requires it to be visible — if the app fails to load server sessions,
   the phase fails (not passes silently with an empty list).
   Falls back gracefully if the server is unreachable at pre-create time.

2. sessions_reload phase (new, critical): after completing the TypeScript
   task the test navigates back to the Sessions tab and asserts the list is
   non-empty. This catches the other variant of the regression — sessions
   vanishing after navigating away from a session and back.

Both phases are now in the critical list, so a failure in either causes the
overall test to report partial/fail instead of success.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-22 23:54:22 +00:00
Dennis V
c5f90ee3c0 fix(cua): explicitly prohibit stray taps after sending — stray tap navigates away from session and breaks SSE 2026-06-22 23:04:17 +00:00
Dennis V
b0851b5d47 Fix type action: use file-based input text with shell command substitution
ADB input text with %s escaping didn't trigger React Native onChangeText.
New approach: write text to /sdcard/ file on device, then use shell
command-substitution "$(cat ...)" to pass raw text to input text.
This preserves spaces without %s conversion and avoids quote-escaping
issues that prevented React Native from detecting text changes.
2026-06-22 22:17:12 +00:00
Dennis V
e71a2740f6 fix(cua): shell-quote input text and simplify prompt to avoid shell metacharacters 2026-06-22 21:45:09 +00:00
Dennis V
c002313ea0 fix(cua): remove send action — LLM taps send button via coordinates from screenshot instead 2026-06-22 21:19:24 +00:00
Dennis V
b7ddaa1350 fix(cua): send action dismisses keyboard first via KEYCODE_ESCAPE before locating send button 2026-06-22 20:47:41 +00:00
Dennis V
ea22d06f61 fix(cua): do not press back after typing — adb input text does not show keyboard, back navigates away 2026-06-22 20:20:44 +00:00
Dennis V
19b656aae8 cua: replace send_message pong with real coding task (helloworld.py + helloworld_test.py) 2026-06-22 19:44:29 +00:00
Dennis V
8074b1644c docs: add retrospective file and reference in AGENTS.md 2026-06-22 08:45:16 +00:00
Den
f92f995b48 fix: let server decide model when no user selection exists (#37)
Registry defaults unreliable for deployed models; return null so server uses its configured model. Fixes #35.
2026-06-22 01:15:13 -07:00
Den
669618b7b7 fix: model selection precedence to prefer provider default over agent model (#36)
Fixes #35. The app was selecting claude-sonnet-4-6 (agent default) instead of gpt-5.4 (provider default), causing send_message failures in CI where only Azure provider is available.
2026-06-22 00:38:18 -07:00
Dennis V
c9a1382261 fix(cua): use --print-logs not --verbose (opencode serve has no --verbose) 2026-06-22 06:18:20 +00:00
Dennis V
f5471dcf5d ci(cua): add prompt_async probe + verbose server log for debugging send_message regression 2026-06-22 05:55:26 +00:00
Den
e6fbd0f608 ci(play): offset versionCode by +100 to skip collision at 31 (#34)
Run 31 collided with a prior manual upload at versionCode 31. Add a
+100 offset so the next workflow run uploads at versionCode 132 and
all subsequent runs continue monotonically past historical conflicts.

Refs #32
2026-06-21 22:54:14 -07:00
Dennis V
ae124d7311 release: bump app.json/package.json to 0.4.5, add changelog 32.txt
- app.json 0.4.4 -> 0.4.5 (matches build.gradle versionName)
- package.json 0.4.3 -> 0.4.5
- fastlane changelog 32.txt: notes #32 fix (sessions list shows workspace projects)
2026-06-22 05:01:44 +00:00
Den
79d26f0fbd fix(sessions): scope default to server CWD, not $HOME (#32) (#33)
Recent sessions disappeared from the list when opencode serve was launched
outside $HOME (e.g. ~/workspace/opencode). The list path scoped to
server.home, but opencode-server resolves x-opencode-directory to a project
id by exact-match, not subtree prefix. $HOME mapped to the synthetic
'global' project, which never contained the user's workspace sessions.

Change the single-source-of-truth rule to return null (no scope header) when
the connection has no explicit directory. The server then uses its own CWD
project — the same project sessions are actually created in. Both list and
create paths still derive from sessionScopeDirectory, so #10's drift cure is
preserved.

Verified against 100.108.64.76:4096: no header returns the recent workspace
sessions (Opencode npm install, autopilot_exit, ...); header=$HOME returns
only the empty global project.

Closes #32
2026-06-21 22:01:05 -07:00
Dennis V
0779a11284 docs: update HANDOFF.md — v0.4.5 submitted to Play Store production
- App in review as of 2026-06-21 (versionCode 32)
- Website live at opencode.agentlabs.cc
- CUA test rewritten with full onboarding showcase
- Next actions: wait for review, keep demo server alive, announce on approval

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01No3k1AEioE4PNUZg12TxQo
2026-06-21 04:00:38 +00:00
Dennis V
db75606df0 chore: bump versionCode to 32 (v0.4.5), add goal.md execution plan
- versionCode 6 → 32 to supersede existing internal track release
- versionName 0.4.4 → 0.4.5
- goal.md: add current_mission section with blocking checklist and execution plan

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01No3k1AEioE4PNUZg12TxQo
2026-06-21 01:38:44 +00:00
Dennis V
3c498972ce feat(cua): full onboarding showcase test - connect, session, TypeScript task, settings
Rewrites android-cua-smoke.py to demonstrate the complete first-run journey
instead of the previous "ping" smoke test. The new structured multi-phase
flow covers: server connection setup, session list, new session creation,
TypeScript hello-world task submission (watching tool calls/file writes),
output verification, and Settings/model-selection screenshot.

Key changes:
- run_onboarding_showcase() orchestrates 6 sequential CUA phases with
  per-phase goals, step budgets, and PASS/FAIL phase tracking
- run_cua_step() replaces run_cua() — accepts step_label, action_delay,
  saves labeled screenshots (/tmp/cua_<phase>_<step>.png) for debugging
- Global --speed-multiplier flag scales all _sleep() calls (0.5 = 2x faster)
- Showcase is now the default mode; legacy --goal / --scenarios flags retained
  for backwards compat and CI regression scenarios
- Tighter action_delay (0.7s) and trimmed history window (14 turns) vs
  previous 1.0s / 12 turns
- Phase banner log lines ("STEP N: ...") narrate the video in real time

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01No3k1AEioE4PNUZg12TxQo
2026-06-21 01:20:44 +00:00
Dennis V
09b034eaf3 feat(distribution): add Play Store ASO listing content
Structured store listing copy for cc.agentlabs.opencode:
- Optimized title, short description, and full description
- Keyword strategy for AI coding agent / developer tools niche
- Screenshot captions for 5 key screens
- Notes for Play Console entry

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01No3k1AEioE4PNUZg12TxQo
2026-06-20 21:13:30 +00:00
Den
d6e84ff513 fix: stale session client ref and CUA smoke test improvements (#30)
* fix(sessions): use latestConnState.client to avoid stale reference after reconnect

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKGMRpgihA4io2frodqLjt

* fix(cua): lru_cache get_screen_size, remove redundant if-matches guard, drop inner import re

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKGMRpgihA4io2frodqLjt

* fix(cua): use center-x comparator for send button, defer screen_w fetch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKGMRpgihA4io2frodqLjt

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 03:38:06 -07:00
Den
9365a72e93 fix(ci): add emulator to PATH and increase CUA smoke timeout to 60min (#27)
* fix(ci): add emulator to PATH and increase CUA smoke timeout to 60min

- Add 'Add emulator to PATH' step after setup-android so emulator binary
  is found (was: command not found, causing adb wait-for-device to hang
  until the 30min job timeout)
- Increase timeout-minutes from 30 to 60 to accommodate full build
- Add npm cache and Gradle cache (same as build.yml) to speed up rebuild

* fix: address code review findings for cua-emulator-path

- Fix stale Gradle cache causing build failure after package rename
  (ai.opencode.mobile → cc.agentlabs.opencode): add purge step matching
  the one already present in publish-play-store.yml
- Fix adb launch command using old package name ai.opencode.mobile;
  updated to cc.agentlabs.opencode/.MainActivity

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKGMRpgihA4io2frodqLjt

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 02:56:44 -07:00
Den
71a1feb232 fix(ci): bump opencode Azure apiVersion to support /responses endpoint (#22) (#24)
* fix(ci): bump opencode Azure apiVersion to support /responses endpoint (#22)

The CUA smoke probe was returning MODEL_CAPABLE=false because opencode's
@ai-sdk/azure provider got 'API version not supported' from Azure on
/openai/v1/responses with apiVersion=2024-08-01-preview. Split into two
envs: keep the CUA driver on 2024-08-01-preview (chat-completions only)
and bump the opencode-side provider config to 2025-04-01-preview, which
supports the new responses API.

Effect: send_message/multi_turn scenarios get included again in CUA smoke
when the probe succeeds.

* ci(cua): bound curl timeouts + diag dump on server-start hang (#22)

Step 11 'Start opencode server' has hung past the 45-min job timeout in
two consecutive runs (27195348071, 27198238465). Local boot of
opencode-ai 1.16.2 with the same heredoc config is healthy in 3s, so
something is wrong specifically on the GH-hosted runner — likely curl
post-loop waiting indefinitely on an unresponsive server.

Adds:
- set -x for command tracing
- --connect-timeout 2 -m 5 on every curl so hangs cannot exceed 5s
- HEALTHY flag + explicit exit 1 (drops the unbounded post-loop curl)
- Periodic dump every 10s: server log tail, ss listening sockets,
  process liveness — so we can see WHY the server isn't replying

Pure diagnostics; no behaviour change for the green path.

* fix(ci): use api-version=preview for /openai/v1/responses (#22)

Reproduced the probe failure locally against the same Azure resource:
all date-based api-versions (2024-08-01-preview, 2024-12-01-preview,
2025-01-01-preview, 2025-03-01-preview, 2025-04-01-preview) return:

    {"error":{"code":"BadRequest","message":"API version not supported"}}

Only api-version=preview and api-version=v1 succeed (200). This is the
new Azure OpenAI v1 responses-API style; date strings are reserved for
the legacy /openai/deployments/{model}/chat/completions endpoint.

@ai-sdk/azure 3.x already defaults apiVersion to "preview" (per the
type definition: "Custom api version to use. Defaults to `preview`."),
so this aligns the workflow with the SDK default. Probe should now
return MODEL_CAPABLE=true and the send_message scenario will run.

* test(cua): extend send_message and multi_turn waits to 30s

Assistant bubbles can take 15+ seconds to appear after send. Previous
5-second wait was too short and caused false failures even when API
calls succeeded. Re-check screenshots periodically up to 30s total.

* fix(cua): screen-relative send button threshold for #22

The send action's auto-locate filtered for y1 > 2200 and fell back to
hardcoded (996, 2358) — both assume a 1080x2400 panel. The CI emulator
(API 30 google_apis pixel profile) is 1080x1920, so:
  - the bottom_buttons filter never matched any clickable element
  - the fallback tap landed off-screen
  → 'ping' message never sent, scenario timed out with no bubbles.

Switch to a screen-relative threshold (bottom 25%) and a fallback that
uses get_screen_size() to land in the bottom-right corner regardless of
device resolution. This was masked until now because send_message was
gated by MODEL_CAPABLE=false in earlier CI runs.

Refs: #22

---------

Co-authored-by: dzianisv <dzianis.varabyou@gmail.com>
2026-06-13 23:34:48 -07:00
Den
a9822048e4 ux(quick-connect): hint users to Advanced for custom server username (#23) (#25)
Quick Connect now shows a one-line hint under the password field stating
that username defaults to 'opencode' and pointing to Advanced options for
servers using a custom OPENCODE_SERVER_USERNAME. Tap-target to switch
modes is included.

Closes #23

Co-authored-by: dzianisv <dzianis.varabyou@gmail.com>
2026-06-09 03:31:46 -07:00
engineer
3bdeeb6bef fdroid(mainline): add Binaries field to recipe; sync local metadata + log
MR #39530 remaining blocker was the missing top-level Binaries: field
(maintainer: AllowedAPKSigningKeys rejects the APK without it). Added
Binaries pointing at the GitHub release APK (v%v) and synced the stale
local distribution copy to the canonical fork recipe.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 09:21:45 -07:00
engineer
18fcfab2bc marketing: add real on-device demo GIF (connect -> sessions -> streaming reply)
Built from the on-device verification capture (360px, 92KB, looping). Added to README
hero (top repo conversion surface) + docs-site/ and distribution/ for landing + launch
attachment. Demo media is the #1 conversion lever for HN/Reddit/PH — none existed before.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 09:19:10 -07:00
engineer
8c75007ee5 launch: pre-flight accuracy pass on Show HN + Reddit copy
Fixed claims a technical audience would catch:
- Android build is Gradle (assembleRelease/bundleRelease), NOT EAS — EAS is only in
  the unshipped iOS workflow. Changed 'GitHub Actions + EAS' -> 'GitHub Actions (Gradle)'.
- App is Android-only: dropped 'iOS Keychain', kept 'Android Keystore'.
- Diff viewer renders into native views (ScrollView), not a FlatList.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 09:15:59 -07:00
engineer
92a022cfd1 qa: HEAD release build verified on-device — Quick Connect now succeeds (auth fix confirmed)
Built the actual release APK from HEAD (auth + UI fixes, BUILD SUCCESSFUL 11m48s) and
installed on the emulator. Same Quick Connect path that gave 401 on the CI APK now
CONNECTS and loads the sessions list. Definitive on-device proof of the fix on the
shipping build. Screenshots 07-08.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 09:13:28 -07:00
engineer
2476d4def5 qa: on-device GUI verification — connect+reply flow GREEN, auth bug reproduced
Ran a native arm64 emulator against the live opencode server, driven via adb (free
model, no LLM). Verified on real device: telemetry consent, empty state, Quick Connect
401 auth bug REPRODUCED, Advanced+username=opencode connects + loads sessions, chat
renders (bubbles/thinking/tokens), and LIVE send -> streaming reply. Screenshots +
writeup under docs/qa/. Closes the pre-posting test-gate pixel-GUI residual for the
connect->session->reply journey.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 08:51:07 -07:00
engineer
108260cec7 release: bump versionCode 5->6 for v0.4.4 + add changelog 6.txt
v0.4.3 already shipped as versionCode 5; a duplicate code would be rejected by Play and ignored by F-Droid. Bump to 6 unblocks the v0.4.4 release. QA gate passed (units + on-device E2E + visual render check screenshots in docs/qa/render-check/).
2026-06-08 08:36:53 -07:00
engineer
b0b30ea203 docs(qa): visual render-check evidence — real Gemini reply renders bug-free
Clears the owner's hard visual gate: a real gemini-2.5-flash reply rendered
through the actual app components (MessageBubble→Markdown/CodeBlock, DiffView)
via Expo web export, screenshotted in a real browser.

Per-surface verdict (all PASS, no app code changes needed):
- markdown: heading+bullets, high contrast light & dark
- code block: 430-char single line horizontally scrolls (scrolled-right reveals
  the line END), not truncated/wrapped
- diff: fenced ```diff + native DiffView render +/- coloring and scroll

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 08:33:50 -07:00