wip: cloud

This commit is contained in:
Dax Raad
2025-09-03 12:31:09 -04:00
parent afebe920b2
commit 59e550271d
3 changed files with 65 additions and 59 deletions

View File

@@ -1,5 +1,6 @@
import { Actor } from "@opencode/cloud-core/actor.js"
import { getActor } from "./auth"
import { getRequestEvent } from "solid-js/web"
export async function withActor<T>(fn: () => T) {
const actor = await getActor()