import "./[id].css" import { MonthlyLimitSection } from "./monthly-limit-section" import { NewUserSection } from "./new-user-section" import { BillingSection } from "./billing-section" import { PaymentSection } from "./payment-section" import { UsageSection } from "./usage-section" import { KeySection } from "./key-section" import { MemberSection } from "./member-section" import { SettingsSection } from "./settings-section" import { ModelSection } from "./model-section" import { Show } from "solid-js" import { createAsync, query, useParams } from "@solidjs/router" import { Actor } from "@opencode-ai/console-core/actor.js" import { withActor } from "~/context/auth.withActor" import { User } from "@opencode-ai/console-core/user.js" import { beta } from "~/lib/beta" const getUserInfo = query(async (workspaceID: string) => { "use server" return withActor(async () => { const actor = Actor.assert("user") const user = await User.fromID(actor.properties.userID) return { isAdmin: user?.role === "admin", } }, workspaceID) }, "user.get") export default function () { const params = useParams() const userInfo = createAsync(() => getUserInfo(params.id)) const isBeta = createAsync(() => beta(params.id)) return (

Zen

Curated list of models provided by opencode.{" "} Learn more .

) }