> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# aether sentry

> Connect to Sentry for error tracking and auto-fix

# aether sentry

Manage the Sentry integration. Connect your Sentry account, link Sentry projects to GitHub repositories, and configure automatic error fixing.

## Usage

```bash theme={null}
aether sentry <subcommand> [flags]
```

## Subcommands

| Subcommand          | Description                                              |
| ------------------- | -------------------------------------------------------- |
| `connect`           | Connect your Sentry account                              |
| `disconnect`        | Disconnect Sentry                                        |
| `status`            | Show Sentry connection status                            |
| `projects`          | List Sentry projects                                     |
| `links list`        | List project links                                       |
| `links create`      | Create a link between a Sentry project and a GitHub repo |
| `links update <id>` | Update a project link                                    |
| `links delete <id>` | Delete a project link                                    |

## aether sentry connect

Connect your Sentry account to Aether. Opens a browser for OAuth authorization.

```bash theme={null}
aether sentry connect
```

```
Opening browser to connect Sentry...
Waiting for authorization...
Sentry connected as org-slug
```

## aether sentry disconnect

Disconnect the Sentry integration.

```bash theme={null}
aether sentry disconnect [flags]
```

| Flag      | Description              |
| --------- | ------------------------ |
| `--force` | Skip confirmation prompt |

```bash theme={null}
aether sentry disconnect
```

## aether sentry status

Show the current Sentry connection status.

```bash theme={null}
aether sentry status
```

```
Sentry:         connected
Organization:   my-org
Links:          2 active
```

## aether sentry projects

List all Sentry projects in the connected organization.

```bash theme={null}
aether sentry projects
```

```
ID          SLUG            NAME
12345       backend-api     Backend API
67890       web-app         Web Application
```

## aether sentry links list

List all links between Sentry projects and GitHub repositories.

```bash theme={null}
aether sentry links list
```

```
ID    SENTRY PROJECT    GITHUB REPO         BRANCH    AUTO-FIX
1     backend-api       owner/backend-api   main      enabled
2     web-app           owner/web-app       develop   disabled
```

## aether sentry links create

Create a link between a Sentry project and a GitHub repository. When auto-fix is enabled, Aether automatically creates tasks to fix new Sentry errors.

```bash theme={null}
aether sentry links create [flags]
```

| Flag                    | Description                                         |
| ----------------------- | --------------------------------------------------- |
| `--sentry-project-id`   | Sentry project ID (required)                        |
| `--sentry-project-slug` | Sentry project slug (required)                      |
| `--sentry-project-name` | Sentry project display name (required)              |
| `--github-repo`         | GitHub repository in `owner/name` format (required) |
| `--branch`              | Target branch for fixes. Defaults to `main`.        |
| `--auto-fix`            | Enable automatic error fixing. Defaults to `false`. |

```bash theme={null}
aether sentry links create \
  --sentry-project-id 12345 \
  --sentry-project-slug backend-api \
  --sentry-project-name "Backend API" \
  --github-repo owner/backend-api \
  --branch main \
  --auto-fix
```

```
Link created: Sentry backend-api -> owner/backend-api (main), auto-fix enabled
```

## aether sentry links update

Update an existing project link.

```bash theme={null}
aether sentry links update <id> [flags]
```

| Flag         | Description                              |
| ------------ | ---------------------------------------- |
| `--branch`   | Target branch for fixes                  |
| `--auto-fix` | Enable or disable automatic error fixing |

```bash theme={null}
aether sentry links update 1 --auto-fix=false
```

```
Link updated.
```

```bash theme={null}
aether sentry links update 1 --branch develop
```

## aether sentry links delete

Delete a project link.

```bash theme={null}
aether sentry links delete <id> [flags]
```

| Flag      | Description              |
| --------- | ------------------------ |
| `--force` | Skip confirmation prompt |

```bash theme={null}
aether sentry links delete 1
```

```
Are you sure you want to delete this link? [y/N]
```
