Skip to content

Commit 642b4a4

Browse files
authored
Merge pull request #41251 from github/repo-sync
Repo sync
2 parents b322a04 + 6507334 commit 642b4a4

File tree

10 files changed

+357
-21
lines changed

10 files changed

+357
-21
lines changed

content/admin/monitoring-and-managing-your-instance/configuring-high-availability/answers-to-common-questions-about-high-availability-replicas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Answers to common questions about high-availability replicas
2+
title: Answers to common questions about high availability replicas
33
intro: 'Find information about high availability replica types, communication patterns, maintenance operations, and how to choose the right replica for your deployment.'
44
versions:
55
ghes: '*'

content/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,11 @@ If your app runs in the browser, you should use the web application flow to gene
6060

6161
## Using the device flow to generate a user access token
6262

63-
> [!NOTE]
64-
> The device flow is in {% data variables.release-phases.public_preview %} and subject to change.
65-
6663
If your app is headless or does not have access to a browser, you should use the device flow to generate a user access token. For example, CLI tools, simple Raspberry Pis, and desktop applications should use the device flow. For a tutorial that uses device flow, see [AUTOTITLE](/apps/creating-github-apps/guides/building-a-cli-with-a-github-app).
6764

6865
Before you can use the device flow, you must first enable it in your app's settings. For more information on enabling device flow, see [AUTOTITLE](/apps/maintaining-github-apps/modifying-a-github-app).
6966

70-
The device flow uses the OAuth 2.0 Device Authorization Grant.
67+
The device flow uses the [OAuth 2.0 Device Authorization Grant](https://datatracker.ietf.org/doc/html/rfc8628).
7168

7269
1. Send a `POST` request to `{% data variables.product.oauth_host_code %}/login/device/code` along with a `client_id` query parameter. The client ID is different from the app ID. You can find the client ID on the settings page for your app. For more information about navigating to the settings page for your {% data variables.product.prodname_github_app %}, see [AUTOTITLE](/apps/maintaining-github-apps/modifying-a-github-app-registration#navigating-to-your-github-app-settings).
7370
1. {% data variables.product.company_short %} will give a response that includes the following query parameters:

content/copilot/concepts/agents/coding-agent/about-coding-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ When used effectively, {% data variables.copilot.copilot_coding_agent %} offers
5555

5656
### {% data variables.copilot.copilot_coding_agent %} versus agent mode
5757

58-
{% data variables.copilot.copilot_coding_agent %} is distinct from the "agent mode" feature available in your IDE. {% data variables.copilot.copilot_coding_agent %} works autonomously in a {% data variables.product.prodname_actions %}-powered environment to complete development tasks assigned through {% data variables.product.github %} issues or {% data variables.copilot.copilot_chat %} prompts, and creates pull requests with the results. In contrast, agent mode in your IDE makes autonomous edits directly in your local development environment. For more information about agent mode, see [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide?tool=visualstudio#copilot-edits-1).
58+
{% data variables.copilot.copilot_coding_agent %} is distinct from the "agent mode" feature available in your IDE. {% data variables.copilot.copilot_coding_agent %} works autonomously in a {% data variables.product.prodname_actions %}-powered environment to complete development tasks assigned through {% data variables.product.github %} issues or {% data variables.copilot.copilot_chat %} prompts, and creates pull requests with the results. In contrast, agent mode in your IDE makes autonomous edits directly in your local development environment. For more information about agent mode, see [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide).
5959

6060
### Streamlining software development with {% data variables.copilot.copilot_coding_agent %}
6161

content/copilot/how-tos/chat-with-copilot/chat-in-ide.md

Lines changed: 55 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,37 @@ In addition to submitting prompts through the chat view, you can submit prompts
119119

120120
See [inline chat](https://code.visualstudio.com/docs/copilot/copilot-chat#_inline-chat), [quick chat](https://code.visualstudio.com/docs/copilot/copilot-chat#_quick-chat), and [chat smart actions](https://code.visualstudio.com/docs/copilot/copilot-chat#_chat-smart-actions) in the {% data variables.product.prodname_vscode %} documentation for more details.
121121

122-
## {% data variables.copilot.copilot_edits_short %}
122+
## {% data variables.copilot.copilot_chat_short %} chat modes
123123

124-
Use {% data variables.copilot.copilot_edits_short %} to make changes across multiple files directly from a single {% data variables.copilot.copilot_chat_short %} prompt. {% data variables.copilot.copilot_edits_short %} has the following modes:
124+
You can use {% data variables.copilot.copilot_chat_short %} in the following modes:
125+
126+
* [Ask mode](#ask-mode): to get answers to coding questions and get {% data variables.product.prodname_copilot_short %} to provide code suggestions.
127+
* [Edit mode](#edit-mode): to get {% data variables.product.prodname_copilot_short %} to make controlled edits to multiple files.
128+
* [Agent mode](#agent-mode): to get {% data variables.product.prodname_copilot_short %} to autonomously accomplish a set task.
129+
* [Plan mode](#plan-mode): to get {% data variables.product.prodname_copilot_short %} to create detailed implementation plans to ensure all requirements are met.
130+
131+
To switch between modes, use the agents dropdown at the bottom of the chat view.
132+
133+
### Ask mode
125134

126-
* [Edit mode](#edit-mode) lets {% data variables.product.prodname_copilot_short %} make controlled edits to multiple files.
127-
* [Agent mode](#agent-mode) lets {% data variables.product.prodname_copilot_short %} autonomously accomplish a set task.
135+
Ask mode is optimized for answering questions about your codebase, coding, and general technology concepts. Use ask mode when you want to understand how something works, explore ideas, or get help with coding tasks. For larger changes across multiple files or more complex coding tasks, consider using edit mode or agent mode.
136+
137+
#### Using ask mode
138+
139+
1. If the chat view is not already displayed, select **Open Chat** from the {% data variables.copilot.copilot_chat_short %} menu.
140+
1. At the bottom of the chat view, select **Ask** from the agents dropdown.
141+
1. Type a prompt in the prompt box and press <kbd>Enter</kbd>.
128142

129143
### Edit mode
130144

131145
{% data reusables.copilot.copilot-edits.edit-mode-description %}
132146

133147
#### Using edit mode
134148

135-
1. To start an edit session, select **Open Chat** from the {% data variables.copilot.copilot_chat_short %} menu.
136-
1. At the bottom of the chat panel, select **Edit** from the mode dropdown.
149+
1. If the chat view is not already displayed, select **Open Chat** from the {% data variables.copilot.copilot_chat_short %} menu.
150+
1. At the bottom of the chat view, select **Edit** from the agents dropdown.
137151

138-
![Screenshot of the {% data variables.copilot.copilot_chat_short %} mode dropdown. The "Edit" option is outlined in dark orange.](/assets/images/help/copilot/chat-mode-vscode.png)
152+
![Screenshot of the {% data variables.copilot.copilot_chat_short %} agents dropdown. The "Edit" option is outlined in dark orange.](/assets/images/help/copilot/chat-mode-vscode.png)
139153

140154
1. Optionally, add relevant files to the _working set_ to indicate to {% data variables.product.prodname_copilot %} which files you want to work on.
141155
1. Submit a prompt. In response to your prompt, {% data variables.copilot.copilot_edits_short %} determines which files in your _working set_ to change and adds a short description of the change.
@@ -149,8 +163,8 @@ For more detailed instructions, see [{% data variables.copilot.copilot_edits_sho
149163

150164
#### Using agent mode
151165

152-
1. To start an edit session, select **Open Chat** from the {% data variables.copilot.copilot_chat_short %} menu.
153-
1. At the bottom of the chat panel, select **Agent** from the mode dropdown.
166+
1. If the chat view is not already displayed, select **Open Chat** from the {% data variables.copilot.copilot_chat_short %} menu.
167+
1. At the bottom of the chat view, select **Agent** from the agents dropdown.
154168
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_short %} streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
155169
1. Review the changes. If {% data variables.product.prodname_copilot_short %} suggested terminal commands, confirm whether or not {% data variables.product.prodname_copilot_short %} can run them. In response, {% data variables.product.prodname_copilot_short %} iterates and performs additional actions to complete the task in your original prompt.
156170

@@ -160,6 +174,35 @@ For more information, see [{% data variables.copilot.copilot_edits_short %}](htt
160174

161175
{% data reusables.copilot.copilot-edits.agent-mode-requests %}
162176

177+
### Plan mode
178+
179+
> [!NOTE]
180+
> Plan mode in {% data variables.product.prodname_vscode_shortname %} is currently in {% data variables.release-phases.public_preview %} and subject to change.
181+
182+
Plan mode helps you to create detailed implementation plans before executing them. This ensures that all requirements are considered and addressed before any code changes are made. The plan agent does not make any code changes until the plan is reviewed and approved by you. Once approved, you can hand off the plan to the default agent or save it for further refinement, review, or team discussions.
183+
184+
The plan agent is designed to:
185+
186+
* Research the task comprehensively using read-only tools and codebase analysis to identify requirements and constraints.
187+
* Break down the task into manageable, actionable steps and include open questions about ambiguous requirements.
188+
* Present a concise plan draft, based on a standardized plan format, for user review and iteration.
189+
190+
#### Using plan mode
191+
192+
1. If the chat view is not already displayed, select **Open Chat** from the {% data variables.copilot.copilot_chat_short %} menu.
193+
1. At the bottom of the chat view, select **Plan** from the agents dropdown.
194+
1. Enter a task for which you want to create a plan, then press <kbd>Enter</kbd>.
195+
196+
The plan agent provides a high-level summary and a breakdown of steps, including any open questions for clarification.
197+
198+
1. Review the plan and answer any questions the agent has asked.
199+
200+
You can iterate multiple times to clarify requirements, adjust scope, or answer questions.
201+
202+
1. Once the plan is finalized, choose to save it or hand it off to an implementation agent to start coding, by using the corresponding controls.
203+
204+
For more information, see [Planning in VS Code chat](https://code.visualstudio.com/docs/copilot/chat/chat-planning) in the {% data variables.product.prodname_vscode %} documentation.
205+
163206
## Using images in {% data variables.copilot.copilot_chat_short %}
164207

165208
{% data reusables.copilot.using-images-in-chat %}
@@ -295,7 +338,7 @@ Use agent mode when you have a specific task in mind and want to enable {% data
295338
### Using agent mode
296339

297340
1. In the {% data variables.product.prodname_vs %} menu bar, click **View**, then click **{% data variables.copilot.copilot_chat %}**.
298-
1. At the bottom of the chat panel, select **Agent** from the mode dropdown.
341+
1. At the bottom of the chat panel, select **Agent** from the agents dropdown.
299342
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_short %} streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
300343
1. Review the changes. If {% data variables.product.prodname_copilot_short %} suggested terminal commands, confirm whether or not {% data variables.product.prodname_copilot_short %} can run them. In response, {% data variables.product.prodname_copilot_short %} iterates and performs additional actions to complete the task in your original prompt.
301344

@@ -518,7 +561,7 @@ To see all available slash commands, type `/` in the chat prompt box. For more i
518561
### Using agent mode
519562

520563
1. To open the chat view, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}** in the menu bar, then click **Open Chat**.
521-
1. At the bottom of the chat panel, select **Agent** from the mode dropdown.
564+
1. At the bottom of the chat panel, select **Agent** from the agents dropdown.
522565
1. Optionally, add relevant files to the _working set_ view to indicate to {% data variables.product.prodname_copilot_short %} which files you want to work on.
523566
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_short %} streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
524567
1. Review the changes. If {% data variables.product.prodname_copilot_short %} suggested terminal commands, confirm whether or not {% data variables.product.prodname_copilot_short %} can run them. In response, {% data variables.product.prodname_copilot_short %} iterates and performs additional actions to complete the task in your original prompt.
@@ -596,7 +639,7 @@ To see all available slash commands, type `/` in the chat prompt box.
596639
### Using agent mode
597640

598641
1. To open the {% data variables.copilot.copilot_chat_short %} panel, click the {% data variables.product.prodname_copilot_short %} icon ({% octicon "copilot" aria-hidden="true" aria-label="copilot" %}) in the status bar at the bottom of Eclipse, then click **Open Chat**.
599-
1. At the bottom of the chat panel, select **Agent** from the mode dropdown.
642+
1. At the bottom of the chat panel, select **Agent** from the agents dropdown.
600643
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_short %} streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
601644
1. Review the changes. If {% data variables.product.prodname_copilot_short %} suggested terminal commands, confirm whether or not {% data variables.product.prodname_copilot_short %} can run them. In response, {% data variables.product.prodname_copilot_short %} iterates and performs additional actions to complete the task in your original prompt.
602645

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<!-- expires 2026-01-10 -->
1+
<!-- expires 2026-01-17 -->
22
<!-- Check with HC on whether or not references to this reusable can be deleted.
33
See pr 57549 for details. -->
44

55
Accounts created **before August 22, 2025** have a default $0 budget for {% data variables.product.prodname_copilot_short %} premium requests. Premium requests over the allowance are rejected unless you edit or delete this budget.
66

77
> [!IMPORTANT]
8-
> **Beginning November 18, 2025:**
8+
> **Beginning December 2, 2025:**
99
>
1010
> **Account-level $0 {% data variables.product.prodname_copilot_short %} premium request budgets** for {% data variables.product.prodname_enterprise %} and {% data variables.product.prodname_team %} will be removed. See [Upcoming removal of Copilot premium request $0 budgets for enterprise and team accounts](https://github.blog/changelog/2025-09-17-upcoming-removal-of-copilot-premium-request-0-budgets-for-enterprise-and-team-accounts/) in the {% data variables.product.github %} changelog.
1111
12-
<!-- end expires 2026-01-10 -->
12+
<!-- end expires 2026-01-17 -->

src/graphql/data/fpt/changelog.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>RequiredReviewerConfiguration</code> was added</p>",
8+
"<p>Type <code>RequiredReviewerConfigurationInput</code> was added</p>",
9+
"<p>Field <code>requiredReviewers</code> was added to object type <code>PullRequestParameters</code></p>",
10+
"<p>Input field <code>requiredReviewers</code> of type '[RequiredReviewerConfigurationInput!]<code>was added to input object type</code>PullRequestParametersInput'</p>"
11+
]
12+
}
13+
],
14+
"previewChanges": [],
15+
"upcomingChanges": [],
16+
"date": "2025-11-13"
17+
},
218
{
319
"schemaChanges": [
420
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41909,6 +41909,13 @@ type PullRequestParameters {
4190941909
All conversations on code must be resolved before a pull request can be merged.
4191041910
"""
4191141911
requiredReviewThreadResolution: Boolean!
41912+
41913+
"""
41914+
This field is in beta and subject to change. A collection of reviewers and
41915+
associated file patterns. Each reviewer has a list of file patterns which
41916+
determine the files that reviewer is required to review.
41917+
"""
41918+
requiredReviewers: [RequiredReviewerConfiguration!]
4191241919
}
4191341920

4191441921
"""
@@ -41950,6 +41957,13 @@ input PullRequestParametersInput {
4195041957
All conversations on code must be resolved before a pull request can be merged.
4195141958
"""
4195241959
requiredReviewThreadResolution: Boolean!
41960+
41961+
"""
41962+
This argument is in beta and subject to change. A collection of reviewers and
41963+
associated file patterns. Each reviewer has a list of file patterns which
41964+
determine the files that reviewer is required to review.
41965+
"""
41966+
requiredReviewers: [RequiredReviewerConfigurationInput!]
4195341967
}
4195441968

4195541969
"""
@@ -54516,6 +54530,50 @@ input RequiredDeploymentsParametersInput {
5451654530
requiredDeploymentEnvironments: [String!]!
5451754531
}
5451854532

54533+
"""
54534+
A reviewing team, and file patterns describing which files they must approve changes to.
54535+
"""
54536+
type RequiredReviewerConfiguration {
54537+
"""
54538+
Array of file patterns. Pull requests which change matching files must be
54539+
approved by the specified team. File patterns use fnmatch syntax.
54540+
"""
54541+
filePatterns: [String!]!
54542+
54543+
"""
54544+
Minimum number of approvals required from the specified team. If set to zero,
54545+
the team will be added to the pull request but approval is optional.
54546+
"""
54547+
minimumApprovals: Int!
54548+
54549+
"""
54550+
Node ID of the team which must review changes to matching files.
54551+
"""
54552+
reviewerId: ID!
54553+
}
54554+
54555+
"""
54556+
A reviewing team, and file patterns describing which files they must approve changes to.
54557+
"""
54558+
input RequiredReviewerConfigurationInput {
54559+
"""
54560+
Array of file patterns. Pull requests which change matching files must be
54561+
approved by the specified team. File patterns use fnmatch syntax.
54562+
"""
54563+
filePatterns: [String!]!
54564+
54565+
"""
54566+
Minimum number of approvals required from the specified team. If set to zero,
54567+
the team will be added to the pull request but approval is optional.
54568+
"""
54569+
minimumApprovals: Int!
54570+
54571+
"""
54572+
Node ID of the team which must review changes to matching files.
54573+
"""
54574+
reviewerId: ID!
54575+
}
54576+
5451954577
"""
5452054578
Represents a required status check for a protected branch, but not any specific run of that check.
5452154579
"""

0 commit comments

Comments
 (0)