Skip to main content

Using Copilot cloud agent from Raycast

Start and track Copilot クラウドエージェント sessions from the Raycast launcher.

この機能を使用できるユーザーについて

Copilot クラウドエージェント は、すべての有料 Copilot プランで使用できます。

エージェントは、GitHubが所有し、明示的に無効にされているリポジトリを除き、マネージド ユーザー アカウントに格納されているすべてのリポジトリで使用できます。
Sign up for Copilot

Raycast は、Windowsおよび macOS 用の拡張可能なランチャーです。 Raycast の GitHub Copilot 拡張機能を使用すると、 Copilot クラウドエージェント タスクを開始して追跡し、コンピューター上のどこにいてもセッション ログをライブで監視できます。

Prerequisites

  1. Raycast Web サイトから Raycast をインストールします。
  2. 拡張機能のページの [拡張機能のインストール] ボタンをクリックして、raycast のGitHub Copilot拡張機能をインストールします

Starting a session

  1. Open Raycast, search for "Copilot," find the Create Task command, then press Enter.

  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 クラウドエージェント用のカスタム エージェントの作成」をご覧ください。

  7. 必要に応じて、ドロップダウン メニューを使用して、 Copilot 使用するモデルを選択できます。 詳細については、「GitHub Copilot クラウド エージェントの AI モデルの変更」を参照してください。

  8. Press Command+Enter (macOS) or Ctrl+Enter (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.

メモ

タスクの開始時に特定のリポジトリを選択できない場合は、リポジトリを所有する組織がアクセス制限 OAuth app 有効にしている可能性があります。 "GitHub Copilot for Raycast" OAuth appの承認を要求する方法については、 OAuth アプリの組織承認を要求する を参照してください。

Assigning an issue from Raycast

  1. Open Raycast, search for "Copilot," find the Assign Issues to Copilot command, then press Enter.

  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 クラウドエージェント用のカスタム エージェントの作成」をご覧ください。

  7. 必要に応じて、ドロップダウン メニューを使用して、 Copilot 使用するモデルを選択できます。 詳細については、「GitHub Copilot クラウド エージェントの AI モデルの変更」を参照してください。

  8. Optionally, provide additional instructions. These will be passed to Copilot alongside your issue contents.

  9. Press Command+Enter (macOS) or Ctrl+Enter (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.

メモ

タスクの開始時に特定のリポジトリを選択できない場合は、リポジトリを所有する組織がアクセス制限 OAuth app 有効にしている可能性があります。 "GitHub Copilot for Raycast" OAuth appの承認を要求する方法については、 OAuth アプリの組織承認を要求する を参照してください。

Tracking your sessions

  1. Open Raycast, search for "Copilot," find the View Tasks command, then press Enter.
  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 Enter. 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 Command+Enter (macOS) or Ctrl+Enter (Windows).
    • To open the linked pull request, press Command+P (macOS) or Ctrl+P (Windows).

メモ

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 アプリの組織承認を要求する.

Further reading