mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
wip: cloud
This commit is contained in:
parent
afebe920b2
commit
59e550271d
3 changed files with 65 additions and 59 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue