refactor(share): remove session share async facade exports (#22386)

This commit is contained in:
Kit Langton 2026-04-14 12:38:11 -04:00 • committed by GitHub
commit ad265797ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -564,7 +564,7 @@ export const GithubRunCommand = cmd({
shareId = await (async () => {
if (share === false) return
if (!share && repoData.data.private) return
await SessionShare.share(session.id)
await AppRuntime.runPromise(SessionShare.Service.use((svc) => svc.share(session.id)))
return session.id.slice(-8)
})()
console.log("opencode session", session.id)