Skip to content

Commit ce42e22

Browse files
malhotra5openhands-agentmamoodi
authored
[Docs]: Cloud Openhands (OpenHands#6747)
Co-authored-by: openhands <[email protected]> Co-authored-by: mamoodi <[email protected]>
1 parent 14ee6d7 commit ce42e22

3 files changed

Lines changed: 71 additions & 2 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Cloud GitHub Resolver
2+
3+
The GitHub Resolver automates code fixes and provides intelligent assistance for your repositories.
4+
5+
## Setup
6+
7+
The Cloud Github Resolver is available automatically when you
8+
[grant OpenHands Cloud repository access](./openhands-cloud.md#adding-repositories).
9+
10+
## Usage
11+
12+
### Issues
13+
14+
On your repository, label an issue with `openhands`. OpenHands will attempt to fix the issue.
15+
16+
### Pull Requests
17+
18+
In order to get OpenHands to work on pull requests, use `@openhands` in top level or single inline comments to:
19+
- Ask questions
20+
- Request updates
21+
- Get code explanations
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Openhands Cloud
2+
3+
This document provides information about the hosted version of OpenHands.
4+
5+
## Getting Started
6+
7+
After visiting OpenHands Cloud, you will be asked to connect with your GitHub account:
8+
1. After reading and accepting the terms of service, click `Connect to GitHub`.
9+
2. Then click `Authorize OpenHands by All Hands AI`.
10+
- Openhands requests short-lived tokens (8-hour expiry) with these permissions:
11+
- Actions: Read and write
12+
- Administration: Read-only
13+
- Commit statuses: Read and write
14+
- Contents: Read and write
15+
- Issues: Read and write
16+
- Metadata: Read-only
17+
- Pull requests: Read and write
18+
- Webhooks: Read and write
19+
- Workflows: Read and write
20+
21+
## Adding Repositories
22+
23+
You can grant OpenHands specific repository access:
24+
1. Under the `Select a GitHub project` dropdown, select `Add more repositories...`.
25+
2. Select the organization, then choose the specific repositories to grant OpenHands access to.
26+
- Repository access for a user is granted based on:
27+
- Granted permission for the repository.
28+
- User's GitHub permissions (owner/collaborator).
29+
30+
You can manage repository access any time by following the above workflow or visiting the Settings page and selecting
31+
`Configure GitHub Repositories` under the `GitHub Settings` section.

docs/sidebars.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const sidebars: SidebarsConfig = {
4242
id: 'usage/prompting/microagents-public',
4343
},
4444
],
45-
}
45+
},
4646
],
4747
},
4848
{
@@ -69,6 +69,23 @@ const sidebars: SidebarsConfig = {
6969
label: 'Github Actions',
7070
id: 'usage/how-to/github-action',
7171
},
72+
{
73+
type: 'category',
74+
label: 'Cloud',
75+
items: [
76+
{
77+
type: 'doc',
78+
label: 'Openhands Cloud',
79+
id: 'usage/cloud/openhands-cloud',
80+
},
81+
82+
{
83+
type: 'doc',
84+
label: 'Cloud GitHub Resolver',
85+
id: 'usage/cloud/cloud-github-resolver',
86+
},
87+
],
88+
},
7289
],
7390
},
7491
{
@@ -185,7 +202,7 @@ const sidebars: SidebarsConfig = {
185202
type: 'doc',
186203
label: 'About',
187204
id: 'usage/about',
188-
}
205+
},
189206
],
190207
};
191208

0 commit comments

Comments
 (0)