refactor(opencode): roll out serviceUse proxy across 14 services + tests (#28576)

This commit is contained in:
Kit Langton 2026-05-20 23:36:27 -04:00 • committed by GitHub
commit 39ea816a72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ function request(path: string, directory: string, init: RequestInit = {}) {
}
function createSession(input?: Session.CreateInput) {
return Session.Service.use((svc) => svc.create(input))
return Session.use.create(input)
}
function json<T>(response: Response) {