Repository navigation
Closed
Labels
priority: highActive V1 blocker
Description
Baseline comparison of upstream anomalyco/opencode against opencode-mobile main (d54641b, Oct 3). Upstream checked at v2 10b11ba, dev ecc4916, beta e5ecb57.
Applies to both apps: Android android/.../data/remote/*Api.kt and iOS ios/.../Data/Remote/*APIClient.swift, with events handled in EventDomainAdapter (Kotlin + Swift).
Breaking on 2.0.x (app is broken today)
- QR pairing (changed Sep 24).
opencode pairnow encodes{code, urls}with no username or password, so the QR parser ends up with an empty password. Fix: callGET /auth/connect/{code}withAccept: application/jsonto get{token}, then use the token as the password for useropencode(it is valid for 30 days). - Steer/queue for queued prompts (removed Sep 15, also on
beta).POST /api/session/{id}/inbox/{inboxID}/steerand/queueare gone. Fix: usePATCH /api/session/{id}/inbox/{inboxID}with{delivery}. - Fork at message on v2 (changed Sep 14). The body changed from
{boundary:{type,messageID}}to{before: msg_…}. Fix: sendbefore. Server behaviour with the old body was not checked.
Dead or deprecated calls
- On 2.0.x, stop calling
/api/question/*(removed Aug 14; the app currently 404s each time and then falls back to forms),/api/health(merged into/api/info) and/api/session/{id}/archive(not in the spec). - On v1, move permission replies from the deprecated
POST /session/{id}/permissions/{pid}toPOST /permission/{requestID}/reply.
Missing features that are now available on v2
- Per-turn diff:
GET /api/session/{id}/diff(since Sep 12). The app still shows "not available", so wire it into Review Changes. - Sub-sessions:
POST /api/sessionacceptsparentID(since Sep 30), but the app drops it. Pass it through. - Session errors carry a new
responsefield holding the provider error body (Sep 29). Show it to the user. -
form.repliedanswer format changed. Check decoding. - Session metadata editing and the
session.metadata.updatedevent. -
Project.time.activeis now required. Check models.
Nice to have
-
GET /api/session/{id}/contextcould replace the on-device context estimate. - Persistent terminals:
/api/infonow reports support for them (Oct 2). -
/api/fs/readwith HTTP Range streaming (Oct 6) would allow a file viewer. - Other recent additions:
/api/credentiallist and create (Oct 6),/api/vcs/init(Oct 2), amessageparameter on form cancel (Sep 30), and a 404 when a project folder is missing (Oct 2).
Notes
- On iOS, only
SessionsAPIClient.swiftandEventDomainAdapter.swiftwere checked line by line; the other iOS clients are assumed to match Android. - A daily tracker keeps statuses up to date and reports new upstream API changes on weekday mornings.
Imported from Linear OPE-272. Linear status: Done. Priority: High. Created 2026-10-07. Completed 2026-10-07.
Related: OPE-277, OPE-276, OPE-275, OPE-273.
Metadata
Metadata
Assignees
Labels
priority: highActive V1 blocker
Activity