diff --git a/cloud/app/src/routes/workspace.tsx b/cloud/app/src/routes/workspace.tsx index 0724dd7f..865e7651 100644 --- a/cloud/app/src/routes/workspace.tsx +++ b/cloud/app/src/routes/workspace.tsx @@ -16,7 +16,9 @@ export default function WorkspaceLayout(props: RouteSectionProps) { Logout - {props.children} +
Current authenticated user information and session details.
-+ Coding models optimized for use with opencode. Learn more. +
Manage your API keys for accessing opencode services.
-Current authenticated user information and session details.
+Manage your API keys for accessing opencode services.
+Create an API key to access opencode gateway
+Create an API key to access opencode gateway
+Manage your billing and add credits to your account.
++ {(() => { + const balanceStr = ((billingInfo()?.billing?.balance ?? 0) / 100000000).toFixed(2) + return `$${balanceStr === "-0.00" ? "0.00" : balanceStr}` + })()} +
+ +Your recent payment transactions.
+Your recent API usage and costs.
+Make your first API call to get started.
Manage your billing and add credits to your account.
-- {(() => { - const balanceStr = ((billingInfo()?.billing?.balance ?? 0) / 100000000).toFixed(2) - return `$${balanceStr === "-0.00" ? "0.00" : balanceStr}` - })()} -
- -Your recent payment transactions.
-No payment history yet. Your payments will appear here after your first purchase.
-Your recent API usage and costs.
-No API usage yet. Your usage history will appear here after your first API calls.
-| Date | +Model | +Tokens | +Cost | +
|---|---|---|---|
| + {formatDateForTable(date)} + | +{usage.model} | +{totalTokens.toLocaleString()} | +${((usage.cost ?? 0) / 100000000).toFixed(4)} | +