ignore: cloud solid fixes

This commit is contained in:
Dax Raad
2025-08-29 11:58:17 -04:00
parent 7f5e5fccc8
commit 4496cd4b64
9 changed files with 206 additions and 351 deletions

View File

@@ -0,0 +1,7 @@
import { Actor } from "@opencode/cloud-core/actor.js"
import { getActor } from "./auth"
export async function withActor<T>(fn: () => T) {
const actor = await getActor()
return Actor.provide(actor.type, actor.properties, fn)
}