Skip to content

Commit e4067c6

Browse files
authored
Merge pull request #44034 from github/repo-sync
Repo sync
2 parents 5fd4cfa + 410ade9 commit e4067c6

27 files changed

Lines changed: 631 additions & 679 deletions

content/copilot/concepts/agents/copilot-cli/about-remote-access.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ docsTeamMetrics:
1212
- copilot-cli
1313
---
1414

15-
This article explains the concepts around remote access to {% data variables.copilot.copilot_cli_short %} sessions. For instructions on how to enable remote access, see [AUTOTITLE](/copilot/how-tos/copilot-cli/steer-remotely).
15+
This article explains the concepts around remote access to {% data variables.copilot.copilot_cli_short %} sessions. For instructions on how to enable remote access, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely).
1616

1717
## Introduction
1818

@@ -64,9 +64,9 @@ When connected to a session remotely from {% data variables.product.prodname_dot
6464

6565
If the connection between your local machine and {% data variables.product.prodname_dotcom %} is temporarily lost—for example, due to a network interruption—you can continue using the session remotely as soon as the connection is restored.
6666

67-
You can use the `/keep-alive` slash command to prevent your machine from going to sleep. See [Preventing your machine from going to sleep](/copilot/how-tos/copilot-cli/steer-remotely#preventing-your-machine-from-going-to-sleep).
67+
You can use the `/keep-alive` slash command to prevent your machine from going to sleep. See [Preventing your machine from going to sleep](/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely#preventing-your-machine-from-going-to-sleep).
6868

69-
If you closed a session that had remote access enabled, when you resume the session—either using `copilot --continue` or `copilot --resume=ID`—you must re-enable remote access. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-cli/steer-remotely#resuming-a-session-with-remote-access).
69+
If you closed a session that had remote access enabled, when you resume the session—either using `copilot --continue` or `copilot --resume=ID`—you must re-enable remote access. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely#resuming-a-session-with-remote-access).
7070

7171
## Visibility of remote access sessions
7272

content/copilot/concepts/agents/copilot-cli/cancel-and-roll-back.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ As a rule of thumb, use <kbd>Esc</kbd> when you want to intervene selectively, a
4646

4747
While {% data variables.product.prodname_copilot_short %} is inactive and there is no text in the input area, you can press <kbd>Esc</kbd> twice to display a list of points in your current session that you can roll back to. Each point corresponds to a snapshot of your workspace that was taken immediately before {% data variables.product.prodname_copilot_short %} started working on the prompt shown in the list.
4848

49-
For full details of how to use the double <kbd>Esc</kbd> keypress to roll back changes made during a session, see [AUTOTITLE](/copilot/how-tos/copilot-cli/roll-back-changes).
49+
For full details of how to use the double <kbd>Esc</kbd> keypress to roll back changes made during a session, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/roll-back-changes).
5050

5151
> [!WARNING]
5252
> {% data reusables.copilot.copilot-cli.cli-rewind-warning %}

content/copilot/concepts/agents/copilot-cli/chronicle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This session data powers several features:
2323
* **Asking questions about your history**: You can ask {% data variables.product.prodname_copilot_short %} questions about your past work, and it will query your session data to answer them.
2424
* **The `/chronicle` slash command**: A set of purpose-built subcommands that generate standup reports, personalized tips, and suggestions for improving your custom instructions—all derived from your session history.
2525

26-
This conceptual article explains how session data is stored, and how you can leverage it to enhance your workflow. For a practical guide to resuming a session, asking {% data variables.product.prodname_copilot_short %} about your CLI sessions, and using the `/chronicle` slash command, see [AUTOTITLE](/copilot/how-tos/copilot-cli/chronicle).
26+
This conceptual article explains how session data is stored, and how you can leverage it to enhance your workflow. For a practical guide to resuming a session, asking {% data variables.product.prodname_copilot_short %} about your CLI sessions, and using the `/chronicle` slash command, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle).
2727

2828
{% data reusables.copilot.copilot-cli.cli-experimental-chronicle %}
2929

@@ -92,5 +92,5 @@ To reindex the session store, use the following slash command in an interactive
9292

9393
## Further reading
9494

95-
* [AUTOTITLE](/copilot/how-tos/copilot-cli/chronicle)
95+
* [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle)
9696
* [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference)

content/copilot/concepts/agents/copilot-cli/comparing-cli-features.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,10 @@ Avoid hooks when:
269269

270270
### Find out more about hooks
271271

272-
See [AUTOTITLE](/copilot/how-tos/copilot-cli/use-hooks).
272+
See:
273+
* [AUTOTITLE](/copilot/how-tos/copilot-cli/use-hooks)
274+
* [AUTOTITLE](/copilot/reference/hooks-configuration)
275+
* [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-hooks-reference)
273276

274277
## Subagents
275278

content/copilot/concepts/agents/copilot-cli/fleet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ docsTeamMetrics:
1717

1818
The `/fleet` slash command in {% data variables.copilot.copilot_cli_short %} is designed to take an implementation plan and break it down into smaller, independent tasks that can be executed in parallel by subagents. This allows for faster completion of complex requests that involve multiple steps.
1919

20-
This article gives an overview of the `/fleet` slash command. For details of how to use it, see [AUTOTITLE](/copilot/how-tos/copilot-cli/speed-up-task-completion).
20+
This article gives an overview of the `/fleet` slash command. For details of how to use it, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/speed-up-task-completion).
2121

2222
## How `/fleet` works
2323

@@ -70,6 +70,6 @@ For more information about autopilot mode, see [AUTOTITLE](/copilot/concepts/age
7070

7171
## Further reading
7272

73-
* [AUTOTITLE](/copilot/how-tos/copilot-cli/speed-up-task-completion)
73+
* [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/speed-up-task-completion)
7474
* [AUTOTITLE](/copilot/how-tos/copilot-cli)
7575
* [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli)

content/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing.md

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ docsTeamMetrics:
1616

1717
## Introduction
1818

19-
Plugins are packages that extend the functionality of {% data variables.copilot.copilot_cli_short %}. You can install a plugin from a marketplace that you have registered with the CLI, from a Git repository, or from a local path.
19+
Plugins are packages that extend the functionality of {% data variables.copilot.copilot_cli_short %}. You can install a plugin from a marketplace that you have registered with the CLI.
2020

2121
For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-cli-plugins).
2222

@@ -26,8 +26,6 @@ For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about
2626

2727
Plugins are collected together in marketplaces. A marketplace is a registry of plugins that you can browse and install from. You can add a marketplace to your CLI configuration, which allows you to use the CLI to browse and install plugins from that marketplace—see [Adding plugin marketplaces](#adding-plugin-marketplaces). {% data variables.product.prodname_copilot_short %} comes with two marketplaces already registered by default: `copilot-plugins` and `awesome-copilot`.
2828

29-
Alternatively, you can search for plugin marketplaces online and then add a plugin directly from a repository.
30-
3129
To use the CLI to browse the plugins in one of your registered marketplaces:
3230

3331
1. **Check which marketplaces are currently registered.**
@@ -55,11 +53,9 @@ To use the CLI to browse the plugins in one of your registered marketplaces:
5553

5654
## Installing plugins
5755

58-
Typically, you'll install a plugin from one of your registered marketplaces. However, you can also install a plugin directly from a Git repository, or from a local path.
59-
60-
For information on how to register additional marketplaces, see [Adding and removing plugin marketplaces](#adding-and-removing-plugin-marketplaces).
56+
You can install plugins from a registered marketplace. For information on how to register additional marketplaces, see [Adding plugin marketplaces](#adding-plugin-marketplaces).
6157

62-
### Install from a registered marketplace
58+
To install a plugin, enter:
6359

6460
```shell copy
6561
copilot plugin install PLUGIN-NAME@MARKETPLACE-NAME
@@ -77,43 +73,6 @@ Alternatively, in an interactive session, enter:
7773
/plugin install PLUGIN-NAME@MARKETPLACE-NAME
7874
```
7975

80-
### Install directly from an online Git repository
81-
82-
You can install a plugin directly from a repository, rather than doing so using a registered marketplace.
83-
84-
To install a plugin directly from a repository **on {% data variables.product.prodname_dotcom_the_website %}**, enter:
85-
86-
```shell copy
87-
copilot plugin install OWNER/REPO
88-
```
89-
90-
To install a plugin from **any online Git repository**, enter:
91-
92-
```shell copy
93-
copilot plugin install URL-OF-GIT-REPO
94-
```
95-
96-
For example, `copilot plugin install https://gitlab.com/OWNER/REPO.git`.
97-
98-
> [!IMPORTANT]
99-
> For these commands to work, the repository must contain a `plugin.json` file in a `.plugin`, `.github/plugin`, or `.claude-plugin` directory, or at the root of the repository.
100-
101-
To install a plugin directly from a repository on {% data variables.product.prodname_dotcom_the_website %} where the `plugin.json` file is located somewhere other than `.github/plugin`, `.claude-plugin`, or the repository root—for example, if you are installing a plugin directly from a marketplace repository such as [anthropics/claude-code](https://github.com/anthropics/claude-code)—enter:
102-
103-
```shell copy
104-
copilot plugin install OWNER/REPO:PATH/TO/PLUGIN
105-
```
106-
107-
Where `PATH/TO/PLUGIN` is the path from the root of the repository to a directory that contains `plugin.json`, `.github/plugin/plugin.json` or `.claude-plugin/plugin.json`.
108-
109-
For example, `copilot plugin install anthropics/claude-code:plugins/frontend-design`
110-
111-
### Install from a local path
112-
113-
```shell copy
114-
copilot plugin install ./PATH/TO/PLUGIN
115-
```
116-
11776
## Managing installed plugins
11877

11978
```bash
@@ -122,10 +81,6 @@ copilot plugin update PLUGIN-NAME # Update plugin to latest version
12281
copilot plugin uninstall PLUGIN-NAME # Remove plugin completely
12382
```
12483

125-
## Where plugins are stored
126-
127-
Plugins installed from a marketplace are stored at: `~/.copilot/installed-plugins/MARKETPLACE/PLUGIN-NAME/`. Plugins installed directly (for example, from a local path) are stored at: `~/.copilot/installed-plugins/_direct/SOURCE-ID/`.
128-
12984
## Adding plugin marketplaces
13085

13186
To add a marketplace to the list of registered marketplaces, enter the following command in the terminal:

content/copilot/how-tos/copilot-cli/customize-copilot/use-hooks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ docsTeamMetrics:
3030
* [AUTOTITLE](/copilot/concepts/agents/cloud-agent/about-cloud-agent)
3131
* [AUTOTITLE](/copilot/concepts/agents/about-copilot-cli)
3232
* [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/customize-the-agent-environment)
33+
* [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-hooks-reference)

content/copilot/how-tos/copilot-cli/index.md

Lines changed: 40 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,53 +17,62 @@ children:
1717
- /cli-getting-started
1818
- /cli-best-practices
1919
- /set-up-copilot-cli
20-
- /allowing-tools
21-
- /steer-remotely
20+
- /use-copilot-cli
2221
- /automate-copilot-cli
2322
- /customize-copilot
24-
- /connecting-vs-code
25-
- /use-copilot-cli-agents
2623
- /administer-copilot-cli-for-your-enterprise
27-
- /speed-up-task-completion
28-
- /manage-pull-requests
29-
- /roll-back-changes
30-
- /chronicle
31-
- /content/copilot/concepts/agents/copilot-cli/about-copilot-cli
32-
- /content/copilot/concepts/agents/copilot-cli/comparing-cli-features
33-
- /content/copilot/concepts/agents/copilot-cli/cancel-and-roll-back
24+
- /automate-copilot-cli/automate-with-actions
25+
- /automate-copilot-cli/quickstart
26+
- /automate-copilot-cli/run-cli-programmatically
3427
- /content/copilot/concepts/agents/about-agent-skills
3528
- /content/copilot/concepts/agents/copilot-cli/about-cli-plugins
36-
- /content/copilot/concepts/agents/copilot-cli/autopilot
29+
- /content/copilot/concepts/agents/copilot-cli/about-copilot-cli
3730
- /content/copilot/concepts/agents/copilot-cli/about-remote-access
38-
- /content/copilot/concepts/agents/copilot-cli/fleet
39-
- /content/copilot/concepts/agents/copilot-cli/research
40-
- /content/copilot/concepts/agents/copilot-cli/lsp-servers
31+
- /content/copilot/concepts/agents/copilot-cli/autopilot
32+
- /content/copilot/concepts/agents/copilot-cli/cancel-and-roll-back
4133
- /content/copilot/concepts/agents/copilot-cli/chronicle
34+
- /content/copilot/concepts/agents/copilot-cli/comparing-cli-features
4235
- /content/copilot/concepts/agents/copilot-cli/context-management
43-
- /set-up-copilot-cli/install-copilot-cli
44-
- /set-up-copilot-cli/configure-copilot-cli
45-
- /set-up-copilot-cli/add-lsp-servers
46-
- /automate-copilot-cli/quickstart
47-
- /automate-copilot-cli/automate-with-actions
48-
- /automate-copilot-cli/run-cli-programmatically
36+
- /content/copilot/concepts/agents/copilot-cli/fleet
37+
- /content/copilot/concepts/agents/copilot-cli/lsp-servers
38+
- /content/copilot/concepts/agents/copilot-cli/research
39+
- /content/copilot/reference/copilot-cli-reference/acp-server
40+
- /content/copilot/reference/copilot-cli-reference/cli-command-reference
41+
- /content/copilot/reference/copilot-cli-reference/cli-plugin-reference
42+
- /content/copilot/reference/copilot-cli-reference/cli-programmatic-reference
43+
- /content/copilot/reference/hooks-configuration
44+
- /content/copilot/responsible-use/copilot-cli
45+
- /content/copilot/tutorials/copilot-cli-hooks
4946
- /customize-copilot/add-custom-instructions
50-
- /customize-copilot/create-custom-agents-for-cli
47+
- /customize-copilot/add-mcp-servers
5148
- /customize-copilot/add-skills
49+
- /customize-copilot/create-custom-agents-for-cli
50+
- /customize-copilot/overview
5251
- /customize-copilot/plugins-creating
5352
- /customize-copilot/plugins-finding-installing
5453
- /customize-copilot/plugins-marketplace
55-
- /customize-copilot/overview
54+
- /customize-copilot/use-byok-models
5655
- /customize-copilot/use-hooks
57-
- /content/copilot/reference/copilot-cli-reference/cli-command-reference
58-
- /content/copilot/reference/copilot-cli-reference/cli-plugin-reference
59-
- /content/copilot/reference/copilot-cli-reference/cli-programmatic-reference
60-
- /content/copilot/reference/copilot-cli-reference/acp-server
61-
- /content/copilot/reference/hooks-configuration
62-
- /content/copilot/tutorials/copilot-cli-hooks
63-
- /content/copilot/responsible-use/copilot-cli
56+
- /set-up-copilot-cli/add-lsp-servers
57+
- /set-up-copilot-cli/authenticate-copilot-cli
58+
- /set-up-copilot-cli/configure-copilot-cli
59+
- /set-up-copilot-cli/install-copilot-cli
60+
- /set-up-copilot-cli/troubleshoot-copilot-cli-auth
61+
- /use-copilot-cli/agentic-code-review
62+
- /use-copilot-cli/allowing-tools
63+
- /use-copilot-cli/chronicle
64+
- /use-copilot-cli/connecting-vs-code
65+
- /use-copilot-cli/delegate-tasks-to-cca
66+
- /use-copilot-cli/invoke-custom-agents
67+
- /use-copilot-cli/manage-pull-requests
68+
- /use-copilot-cli/overview
69+
- /use-copilot-cli/roll-back-changes
70+
- /use-copilot-cli/speed-up-task-completion
71+
- /use-copilot-cli/steer-agents
72+
- /use-copilot-cli/steer-remotely
6473
carousels:
6574
recommended:
66-
- /copilot/how-tos/copilot-cli/use-copilot-cli-agents/overview
75+
- /copilot/how-tos/copilot-cli/use-copilot-cli/overview
6776
- /copilot/how-tos/copilot-cli/cli-best-practices
6877
- /copilot/reference/copilot-cli-reference/cli-command-reference
6978
includedCategories:

content/copilot/how-tos/copilot-cli/use-copilot-cli-agents/index.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

content/copilot/how-tos/copilot-cli/use-copilot-cli-agents/agentic-code-review.md renamed to content/copilot/how-tos/copilot-cli/use-copilot-cli/agentic-code-review.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ product: '{% data reusables.gated-features.copilot-cli %}'
77
versions:
88
feature: copilot
99
contentType: how-tos
10+
redirect_from:
11+
- /copilot/how-tos/copilot-cli/use-copilot-cli-agents/agentic-code-review
1012
category:
1113
- Build with Copilot CLI
1214
docsTeamMetrics:
1315
- copilot-cli
1416
---
1517

16-
## About agentic code review
18+
## About agentic code review
1719

1820
You can use the `/review` slash command to have {% data variables.product.prodname_copilot_short %} analyze code changes without leaving the CLI. This lets you get quick feedback on your changes prior to committing.
1921

0 commit comments

Comments
 (0)