# Using Copilot cloud agent from Raycast

Start and track Copilot облачный агент sessions from the Raycast launcher.

[Raycast](https://www.raycast.com/) — это расширяемый лаунчер для Windows и macOS. С GitHub Copilot расширением для Raycast вы можете запускать и отслеживать Copilot облачный агент задачи, а также смотреть журналы сессий в реальном времени, где бы вы ни находились на компьютере.

## Prerequisites

1. Установите Raycast с [веб-сайта](https://www.raycast.com) Raycast.
2. Установите GitHub Copilot расширение для Raycast, нажав кнопку **«Установить расширение** » на [странице расширения](https://www.raycast.com/github/github-copilot).

## Starting a session

1. Open Raycast, search for "Copilot," find the **Create Task** command, then press <kbd>Enter</kbd>.
2. Click **Sign in with GitHub**, then complete the authentication flow. Raycast will re-open.
3. Type a prompt describing what you want Copilot to do.

   For example, `Implement a user friendly message for common errors.`
4. Select the repository you want Copilot to work in.
5. Optionally, select a base branch for Copilot's pull request. Copilot will create a new branch based on this branch, then push the changes to a pull request targeting that branch.
6. По желанию выберите Пользовательский агент Со специальным поведением и инструментами в выпадающем меню. Дополнительные сведения см. в разделе [Создание кастомных агентов для Copilot облачный агент](/ru/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents).
7. По желанию вы можете использовать выпадающее меню для выбора модели, которая Copilot будет использоваться. Дополнительные сведения см. в разделе [Изменение модели ИИ для облачного агента GitHub Copilot](/ru/copilot/how-tos/use-copilot-agents/cloud-agent/changing-the-ai-model).
8. Press <kbd>Command</kbd>+<kbd>Enter</kbd> (macOS) or <kbd>Ctrl</kbd>+<kbd>Enter</kbd> (Windows) to start the task.

   Copilot will start a new session. Copilot will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.

> \[!NOTE]
>
> Если вы не можете выбрать конкретный репозиторий при запуске задачи, организация, владеющая репозиторием, возможно, включила OAuth app ограничения доступа. Чтобы узнать, как запросить одобрение для «GitHub Copilot для Raycast OAuth app», см. [Запрос утверждения организации для приложений OAuth](/ru/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps).

## Assigning an issue from Raycast

1. Open Raycast, search for "Copilot," find the **Assign Issues to Copilot** command, then press <kbd>Enter</kbd>.
2. Click **Sign in with GitHub**, then complete the authentication flow. Raycast will re-open.
3. Select the repository you want Copilot to work in.
4. Select the issue you want to assign to Copilot.
5. Optionally, select a base branch for Copilot's pull request. Copilot will create a new branch based on this branch, then push the changes to a pull request targeting that branch.
6. По желанию выберите Пользовательский агент Со специальным поведением и инструментами в выпадающем меню. Дополнительные сведения см. в разделе [Создание кастомных агентов для Copilot облачный агент](/ru/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents).
7. По желанию вы можете использовать выпадающее меню для выбора модели, которая Copilot будет использоваться. Дополнительные сведения см. в разделе [Изменение модели ИИ для облачного агента GitHub Copilot](/ru/copilot/how-tos/use-copilot-agents/cloud-agent/changing-the-ai-model).
8. Optionally, provide additional instructions. These will be passed to Copilot alongside your issue contents.
9. Press <kbd>Command</kbd>+<kbd>Enter</kbd> (macOS) or <kbd>Ctrl</kbd>+<kbd>Enter</kbd> (Windows) to assign the issue.

   Copilot will start a new session. Copilot will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.

> \[!NOTE]
>
> Если вы не можете выбрать конкретный репозиторий при запуске задачи, организация, владеющая репозиторием, возможно, включила OAuth app ограничения доступа. Чтобы узнать, как запросить одобрение для «GitHub Copilot для Raycast OAuth app», см. [Запрос утверждения организации для приложений OAuth](/ru/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps).

## Tracking your sessions

1. Open Raycast, search for "Copilot," find the **View Tasks** command, then press <kbd>Enter</kbd>.
2. Click **Sign in with GitHub**, then complete the authentication flow. Raycast will re-open.
3. You'll see a list of your tasks. Select a task, then use the following keyboard shortcuts:
   * To watch the session logs live, press <kbd>Enter</kbd>. The logs update in real time, so you can monitor Copilot's progress without leaving Raycast.
   * To open the session logs in the browser, press <kbd>Command</kbd>+<kbd>Enter</kbd> (macOS) or <kbd>Ctrl</kbd>+<kbd>Enter</kbd> (Windows).
   * To open the linked pull request, press <kbd>Command</kbd>+<kbd>P</kbd> (macOS) or <kbd>Ctrl</kbd>+<kbd>P</kbd> (Windows).

> \[!NOTE]
> If you are unable to see some tasks in Raycast, the organization that owns the repository may have enabled OAuth app access restrictions. To learn how to request approval for the "GitHub Copilot for Raycast" OAuth app, see [Запрос утверждения организации для приложений OAuth](/ru/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps).

## Further reading

* [Сессии управляющих агентов](/ru/copilot/how-tos/copilot-on-github/use-copilot-agents/manage-and-track-agents)
* [Лучшие практики использования GitHub Copilot для выполнения задач](/ru/copilot/tutorials/cloud-agent/get-the-best-results)