No usage limit set.}>
- Current usage for{" "}
- {new Date().toLocaleDateString("en-US", { month: "long", timeZone: "UTC" })} is $
+ Current usage for {new Date().toLocaleDateString("en-US", { month: "long", timeZone: "UTC" })} is $
{(() => {
const dateLastUsed = billingInfo()?.timeMonthlyUsageUpdated
if (!dateLastUsed) return "0"
diff --git a/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx b/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx
index a7218546..0fb2a0df 100644
--- a/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx
@@ -89,10 +89,7 @@ export function PaymentSection() {
|
{key.email} |
-
+ |
{key.timeUsed ? formatDateForTable(key.timeUsed) : "-"}
|
diff --git a/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx b/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx
index 4b2a12fd..5aa1b969 100644
--- a/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx
@@ -85,12 +85,7 @@ const updateMember = action(async (form: FormData) => {
)
}, "member.update")
-function MemberRow(props: {
- member: any
- workspaceID: string
- actorID: string
- actorRole: string
-}) {
+function MemberRow(props: { member: any; workspaceID: string; actorID: string; actorRole: string }) {
const submission = useSubmission(updateMember)
const isCurrentUser = () => props.actorID === props.member.id
const isAdmin = () => props.actorRole === "admin"
diff --git a/packages/console/app/src/routes/workspace/[id]/model-section.tsx b/packages/console/app/src/routes/workspace/[id]/model-section.tsx
index 223d69fc..7a1980eb 100644
--- a/packages/console/app/src/routes/workspace/[id]/model-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/model-section.tsx
@@ -5,15 +5,7 @@ import { withActor } from "~/context/auth.withActor"
import { ZenData } from "@opencode-ai/console-core/model.js"
import styles from "./model-section.module.css"
import { querySessionInfo } from "../common"
-import {
- IconAlibaba,
- IconAnthropic,
- IconMoonshotAI,
- IconOpenAI,
- IconStealth,
- IconXai,
- IconZai,
-} from "~/component/icon"
+import { IconAlibaba, IconAnthropic, IconMoonshotAI, IconOpenAI, IconStealth, IconXai, IconZai } from "~/component/icon"
const getModelLab = (modelId: string) => {
if (modelId.startsWith("claude")) return "Anthropic"
@@ -76,8 +68,7 @@ export function ModelSection() {
Models
- Manage which models workspace members can access.{" "}
- Learn more.
+ Manage which models workspace members can access. Learn more.
diff --git a/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx b/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx
index 7b949c66..65edc684 100644
--- a/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx
@@ -43,24 +43,15 @@ export function NewUserSection() {
Tested & Verified Models
-
- We've benchmarked and tested models specifically for coding agents to ensure the best
- performance.
-
+ We've benchmarked and tested models specifically for coding agents to ensure the best performance.
Highest Quality
-
- Access models configured for optimal performance - no downgrades or routing to cheaper
- providers.
-
+ Access models configured for optimal performance - no downgrades or routing to cheaper providers.
No Lock-in
-
- Use Zen with any coding agent, and continue using other providers with opencode
- whenever you want.
-
+ Use Zen with any coding agent, and continue using other providers with opencode whenever you want.
diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx
index 67314fbd..5419ed7f 100644
--- a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx
@@ -55,10 +55,7 @@ const listProviders = query(async (workspaceID: string) => {
function ProviderRow(props: { provider: Provider }) {
const params = useParams()
const providers = createAsync(() => listProviders(params.id))
- const saveSubmission = useSubmission(
- saveProvider,
- ([fd]) => fd.get("provider")?.toString() === props.provider.key,
- )
+ const saveSubmission = useSubmission(saveProvider, ([fd]) => fd.get("provider")?.toString() === props.provider.key)
const removeSubmission = useSubmission(
removeProvider,
([fd]) => fd.get("provider")?.toString() === props.provider.key,
@@ -94,16 +91,9 @@ function ProviderRow(props: { provider: Provider }) {
{providerData() ? maskCredentials(providerData()!.credentials) : "-"}
- }
+ fallback={{providerData() ? maskCredentials(providerData()!.credentials) : "-"}}
>
- | |