Repository navigation
refactor(app): list sessions through opencode SDK - #4192
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (cce5b3b05a0f673e3f188af7fbda18f588b70b25). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
cce5b3b to
f21e650
Compare
Deploying openwork with
|
| Latest commit: |
f32b841
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0ac734bd.openwork.pages.dev |
| Branch Preview URL: | https://thin-app-native-session-list.openwork.pages.dev |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f21e6507045216b05c267b4f4bd8f15492319458). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
f21e650 to
97ff7f9
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (97ff7f9889db30a35703598d7ded29f46dd4d4b4). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
97ff7f9 to
f32b841
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f32b841c15adc9f965b6c69ccbf3ab3409e508b4). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Stack
Stacked on #4191 → #4190 → #4189 → #4188. Review only commit
ec4d8bf7/ the diff againstthin/headless-threads-opencode-sdk.Why
The app still replaced the SDK’s native
session.listwith an OpenWork wrapper endpoint and separately calledOpenworkServerClient.listSessionsin both route loaders. This removes that duplication while leaving get/messages/todo/snapshot/delete/abort for the next isolated PR.What changed
session.listoverride and old-server fallback fromapp/lib/opencode.ts.OpenworkServerClient.listSessions; no production callers remain.listRouteSessionshelper that:endpoint.opencodeBaseUrlfrom the existing workspace endpoint source of truthsession.list({limit: 200})Verification
pnpm --filter @openwork/app typecheck— passpnpm --filter @openwork/app build— pass (6704 modules)matchMedia, provider-auth mock, extensions headermatchMedia). Before making tests transport-injected, the new list tests added two failures; after the fix, no list tests fail in the full suite. Hosted CI must be green.git diff --check— passCoverage
limit=200load budget