Skip to content

Commit 590854c

Browse files
committed
Credits and some work on provider
1 parent 1c1f9e7 commit 590854c

File tree

9 files changed

+134
-17
lines changed

9 files changed

+134
-17
lines changed

docs/credits/overview.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
description: The Roo Code Cloud is the easiest way to use Roo Code without additional accounts and dealing with API keys
3+
keywords:
4+
- Credits
5+
- Tokens
6+
- Dollars
7+
- Prepaid
8+
image: /img/social-share.jpg
9+
---
10+
11+
# Credits Overview
12+
13+
Roo Code is composed of a few products:
14+
- **Roo Code VS Code** (the extension) is 100% free
15+
- **Roo Code Cloud Provider** (the model provider) offers both free and paid models
16+
- **Roo Code Cloud Agents** (the automous agents) are a paid feature as they incur infrastructure costs
17+
18+
In order to use paid models via our provider and to run Cloud agents, you need credits.
19+
20+
----
21+
22+
## What are credits?
23+
24+
Credits are just pre-paid dollar amounts you can optionally buy to use the paid parts of the Roo Code suite. If you stick to free features and free models, you don't have to buy any credits.
25+
26+
Credits are shown in dollars, there's no shenanigans in converting it to obscure currencies you can't calculate.
27+
28+
29+
## How much do credits cost?
30+
31+
Our [pricing page](https://roocode.com/pricing) always has the latest on our plans and Cloud Agent pricing.
32+
33+
Model pricing can be found in the [provider page](https://roocode.com/provider) of our website.
34+
35+
We don't include prices here just to make sure they're always up-to-date.
36+
37+
## How can I buy credits?
38+
39+
### Single purchase
40+
41+
From your [Roo Code Cloud account](https://app.roocode.com.), to a one-time purchase:
42+
43+
1. Click on the credit balance display in the top right
44+
<img src="/img/credits/credit-balance-zero.png" alt="Credit balance display" width="180" />
45+
46+
2. Choose "Buy Credits"
47+
3. Enter the amount you want to buy and follow the flow
48+
4. You'll get a confirmation email and the balance will show in the same place in the UI
49+
<img src="/img/credits/credit-balance.png" alt="Credit balance display" width="180" />
50+
51+
### Auto top-up
52+
53+
To make sure you never run out of credits, you can set up Auto top-up:
54+
55+
1. Click on the same credit balance display
56+
<img src="/img/credits/credit-balance-zero.png" alt="Credit balance display" width="180" />
57+
58+
2. Click on the ⚡ icon
59+
<img src="/img/credits/auto-top-up-1.png" alt="Credit balance dropdown" width="280" />
60+
61+
3. Enable the option and configure the threshold and amount to buy
62+
4. Click save and you're done
63+
64+
If you change your mind, just follow the same steps while turning it off.
65+
66+
You can also access all of this from your [Billing page](https://app.roocode.com/billing) (User Avatar menu → Billing and Credits).

docs/provider/overview.md

Whitespace-only changes.

docs/roo-code-cloud/what-is-roo-code-cloud.md renamed to docs/roo-code-cloud/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords:
1111
image: /img/social-share.jpg
1212
---
1313

14-
# Roo Code Cloud
14+
# Roo Code Cloud Overview
1515

1616
Roo Code Cloud transforms AI development with autonomous agents that work independently in the cloud. Instead of just assisting you in your editor, these agents can plan, code, review, and fix issues autonomously, accessible directly from **GitHub PRs**, **Slack messages**, or the **web browser**.
1717

docs/roo-code-provider/overview.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
description: The Roo Code Cloud is the easiest way to use Roo Code without additional accounts and dealing with API keys
3+
keywords:
4+
- Roo Code Cloud
5+
- Roo Code Cloud Provider
6+
- LLM
7+
- Models
8+
image: /img/social-share.jpg
9+
---
10+
11+
# Roo Code Cloud Provider Overview
12+
13+
14+
This is our very own model provider, optimized to work seamlessly with Roo Code Cloud.
15+
16+
You don't have to use it to use Roo Code, but it's the easiest way to do it, since it only needs your Roo Code Cloud account.

sidebars.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const sidebars: SidebarsConfig = {
129129
type: 'category',
130130
label: 'Roo Code Cloud',
131131
items: [
132-
'roo-code-cloud/what-is-roo-code-cloud',
132+
'roo-code-cloud/overview',
133133
'roo-code-cloud/cloud-agents',
134134
'roo-code-cloud/github-integration',
135135
'roo-code-cloud/slack-integration',
@@ -158,11 +158,14 @@ const sidebars: SidebarsConfig = {
158158
],
159159
},
160160
{
161-
type: 'category',
161+
type: 'doc',
162162
label: 'Roo Code Cloud Provider',
163-
items: [
164-
'provider/overview',
165-
]
163+
id: 'roo-code-provider/overview'
164+
},
165+
{
166+
type: 'doc',
167+
label: 'Roo Code Credits',
168+
id: 'credits/overview'
166169
},
167170
{
168171
type: 'category',

src/css/custom.css

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,33 @@
3434
--chart-4: 83 100% 50%;
3535
--chart-5: 115 100% 50%;
3636

37+
/* Typography*/
38+
39+
--list-inset: 24px;
40+
--block-spacing-small: 8px;
41+
--block-spacing: 20px;
42+
--text-regular-size: 14px;
43+
--h1-size: var(--title-5-size);
44+
--h1-line-height: var(--title-5-line-height);
45+
--h1-letter-spacing: var(--title-5-letter-spacing);
46+
--h2-size: var(--title-3-size);
47+
--h2-line-height: var(--title-3-line-height);
48+
--h2-letter-spacing: var(--title-3-letter-spacing);
49+
--h2-bottom-margin: 12px;
50+
--h3-size: 20px;
51+
--h3-line-height: 1.6;
52+
--h3-letter-spacing: 0;
53+
--h3-bottom-margin: 6px;
54+
--h4-size: var(--title-1-size);
55+
--h4-line-height: var(--title-1-line-height);
56+
--h4-letter-spacing: var(--title-1-letter-spacing);
57+
--h4-bottom-margin: 10px;
58+
--figure-margin: 20px;
59+
--block-spacing: 16px;
60+
--p-size: var(--text-regular-size);
61+
--p-line-height: var(--text-regular-line-height);
62+
--p-letter-spacing: var(--text-regular-letter-spacing);
63+
3764
/* GitHub install button colors */
3865
--primary-hover: 0 0% 9% / 0.9;
3966
--ifm-color-gray-400: #9ca3af;
@@ -1543,26 +1570,26 @@ main[class*="docMainContainer"] {
15431570
}
15441571

15451572
.theme-doc-markdown h1 {
1546-
font-size: 2.25rem;
1547-
font-weight: 700;
1573+
font-size: 2.5rem;
1574+
font-weight: 600;
15481575
letter-spacing: -0.025em;
15491576
line-height: 1.2;
1550-
margin-top: 0; /* Remove top margin for H1 */
1577+
margin-top: 0;
15511578
margin-bottom: 1.5rem;
15521579
}
15531580

15541581
.theme-doc-markdown h2 {
1555-
font-size: 1.75rem;
1556-
font-weight: 700;
1582+
font-size: 1.5rem;
1583+
font-weight: 600;
15571584
letter-spacing: -0.025em;
1558-
margin-top: 1.5rem; /* Reduced from 2rem */
1585+
margin-top: 1.5rem;
15591586
margin-bottom: 1rem;
15601587
}
15611588

15621589
.theme-doc-markdown h3 {
1563-
font-size: 1.5rem;
1590+
font-size: 1.25rem;
15641591
font-weight: 600;
1565-
margin-top: 1.25rem; /* Reduced from 1.5rem */
1592+
margin-top: 1.25rem;
15661593
margin-bottom: 0.75rem;
15671594
}
15681595

@@ -1577,8 +1604,9 @@ main[class*="docMainContainer"] {
15771604

15781605
/* Paragraph spacing - match roocode.com */
15791606
.theme-doc-markdown p {
1580-
font-size: 1rem;
1581-
line-height: 1.625;
1607+
font-size: var(--p-size);
1608+
line-height: var(--p-line-height);
1609+
letter-spacing: var(--p-letter-spacing);
15821610
color: hsl(var(--foreground) / 0.9); /* 90% brightness like roocode.com */
15831611
margin-bottom: 1rem;
15841612
font-weight: 400; /* Ensure normal weight */
@@ -1869,7 +1897,7 @@ main[class*="docMainContainer"] {
18691897
border: none;
18701898
height: 1px;
18711899
background: hsl(var(--border) / 0.5);
1872-
margin: 1.5rem 0; /* Reduced from 3rem */
1900+
margin: 3rem 0; /* Reduced from 3rem */
18731901
position: relative;
18741902
}
18751903

@@ -2050,6 +2078,10 @@ html {
20502078
}
20512079
}
20522080

2081+
.theme-doc-footer {
2082+
padding: 0 2rem;
2083+
}
2084+
20532085
.copy-button {
20542086
margin-top: -1rem !important;
20552087
}
47.5 KB
Loading
16.7 KB
Loading
15.8 KB
Loading

0 commit comments

Comments
 (0)