Skip to content

Commit cb553f9

Browse files
Merge branch 'main' into issuerestriction
2 parents f753290 + 5bd21a2 commit cb553f9

295 files changed

Lines changed: 7400 additions & 2066 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gemini/skills/docs-writer/SKILL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Write precisely to ensure your instructions are unambiguous.
4545
specific verbs.
4646
- **Examples:** Use meaningful names in examples; avoid placeholders like
4747
"foo" or "bar."
48+
- **Quota and limit terminology:** For any content involving resource capacity
49+
or using the word "quota" or "limit", strictly adhere to the guidelines in
50+
the `quota-limit-style-guide.md` resource file. Generally, Use "quota" for the
51+
administrative bucket and "limit" for the numerical ceiling.
4852

4953
### Formatting and syntax
5054
Apply consistent formatting to make documentation visually organized and
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Style Guide: Quota vs. Limit
2+
3+
This guide defines the usage of "quota," "limit," and related terms in
4+
user-facing interfaces.
5+
6+
## TL;DR
7+
8+
- **`quota`**: The administrative "bucket." Use for settings, billing, and
9+
requesting increases. (e.g., "Adjust your storage **quota**.")
10+
- **`limit`**: The real-time numerical "ceiling." Use for error messages when a
11+
user is blocked. (e.g., "You've reached your request **limit**.")
12+
- **When blocked, combine them:** Explain the **limit** that was hit and the
13+
**quota** that is the remedy. (e.g., "You've reached the request **limit** for
14+
your developer **quota**.")
15+
- **Related terms:** Use `usage` for consumption tracking, `restriction` for
16+
fixed rules, and `reset` for when a limit refreshes.
17+
18+
---
19+
20+
## Detailed Guidelines
21+
22+
### Definitions
23+
24+
- **Quota is the "what":** It identifies the category of resource being managed
25+
(e.g., storage quota, GPU quota, request/prompt quota).
26+
- **Limit is the "how much":** It defines the numerical boundary.
27+
28+
Use **quota** when referring to the administrative concept or the request for
29+
more. Use **limit** when discussing the specific point of exhaustion.
30+
31+
### When to use "quota"
32+
33+
Use this term for **account management, billing, and settings.** It describes
34+
the entitlement the user has purchased or been assigned.
35+
36+
**Examples:**
37+
38+
- **Navigation label:** Quota and usage
39+
- **Contextual help:** Your **usage quota** is managed by your organization. To
40+
request an increase, contact your administrator.
41+
42+
### When to use "limit"
43+
44+
Use this term for **real-time feedback, notifications, and error messages.** It
45+
identifies the specific wall the user just hit.
46+
47+
**Examples:**
48+
49+
- **Error message:** You’ve reached the 50-request-per-minute **limit**.
50+
- **Inline warning:** Input exceeds the 32k token **limit**.
51+
52+
### How to use both together
53+
54+
When a user is blocked, combine both terms to explain the **event** (limit) and
55+
the **remedy** (quota).
56+
57+
**Example:**
58+
59+
- **Heading:** Daily usage limit reached
60+
- **Body:** You've reached the maximum daily capacity for your developer quota.
61+
To continue working today, upgrade your quota.

docs/changelogs/preview.md

Lines changed: 163 additions & 189 deletions
Large diffs are not rendered by default.

docs/cli/plan-mode.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ implementation. It allows you to:
2121
- [Entering Plan Mode](#entering-plan-mode)
2222
- [Planning Workflow](#planning-workflow)
2323
- [Exiting Plan Mode](#exiting-plan-mode)
24+
- [Commands](#commands)
2425
- [Tool Restrictions](#tool-restrictions)
2526
- [Customizing Planning with Skills](#customizing-planning-with-skills)
2627
- [Customizing Policies](#customizing-policies)
@@ -126,6 +127,10 @@ To exit Plan Mode, you can:
126127
- **Tool:** Gemini CLI calls the [`exit_plan_mode`] tool to present the
127128
finalized plan for your approval.
128129

130+
### Commands
131+
132+
- **`/plan copy`**: Copy the currently approved plan to your clipboard.
133+
129134
## Tool Restrictions
130135

131136
Plan Mode enforces strict safety policies to prevent accidental changes.

docs/reference/commands.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ Slash commands provide meta-level control over the CLI itself.
270270
one has been generated.
271271
- **Note:** This feature requires the `experimental.plan` setting to be
272272
enabled in your configuration.
273+
- **Sub-commands:**
274+
- **`copy`**:
275+
- **Description:** Copy the currently approved plan to your clipboard.
273276

274277
### `/policies`
275278

docs/reference/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,11 @@ their corresponding top-level category object in your `settings.json` file.
10141014
- **Default:** `false`
10151015
- **Requires restart:** Yes
10161016

1017+
- **`experimental.taskTracker`** (boolean):
1018+
- **Description:** Enable task tracker tools.
1019+
- **Default:** `false`
1020+
- **Requires restart:** Yes
1021+
10171022
- **`experimental.modelSteering`** (boolean):
10181023
- **Description:** Enable model steering (user hints) to guide the model
10191024
during tool execution.

docs/sidebar.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@
9494
{ "label": "Agent Skills", "slug": "docs/cli/skills" },
9595
{ "label": "Checkpointing", "slug": "docs/cli/checkpointing" },
9696
{ "label": "Headless mode", "slug": "docs/cli/headless" },
97-
{ "label": "Hooks", "slug": "docs/hooks" },
97+
{
98+
"label": "Hooks",
99+
"collapsed": true,
100+
"items": [
101+
{ "label": "Overview", "slug": "docs/hooks" },
102+
{ "label": "Reference", "slug": "docs/hooks/reference" }
103+
]
104+
},
98105
{ "label": "IDE integration", "slug": "docs/ide-integration" },
99106
{ "label": "MCP servers", "slug": "docs/tools/mcp-server" },
100107
{ "label": "Model routing", "slug": "docs/cli/model-routing" },

0 commit comments

Comments
 (0)