Skip to content

Commit 01c4e74

Browse files
authored
Merge pull request #46431 from github/repo-sync
Repo sync
2 parents 935221f + 67e59d0 commit 01c4e74

17 files changed

Lines changed: 220 additions & 76 deletions

File tree

‎content/apps/oauth-apps/using-oauth-apps/authorizing-oauth-apps.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ When an {% data variables.product.prodname_oauth_app %} wants to identify you by
2020
> [!TIP]
2121
> You must [verify your email address](/account-and-profile/how-tos/email-preferences/verifying-your-email-address) before you can authorize an {% data variables.product.prodname_oauth_app %}.
2222
23+
If you see “This account is flagged, and therefore cannot authorize a third party application” while authorizing an {% data variables.product.prodname_oauth_app %} or choosing **Continue with {% data variables.product.github %}**, your account has a restriction or is under review. This message isn't caused by missing email verification, organization approval, or SAML reauthorization. Retrying the authorization flow won't resolve the error while the restriction remains. For next steps, see [AUTOTITLE](/free-pro-team@latest/site-policy/acceptable-use-policies/github-appeal-and-reinstatement).
24+
2325
{% endif %}
2426

2527
## {% data variables.product.prodname_oauth_app %} access

‎content/copilot/how-tos/copilot-cli/set-up-copilot-cli/add-lsp-servers.md‎

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,28 @@ Within each server definition, the following fields are available/required:
161161
<tbody>
162162
<tr>
163163
<td nowrap><code>command</code></td>
164-
<td nowrap>Yes</td>
165-
<td>The command used to start the LSP server.</td>
164+
<td nowrap>No</td>
165+
<td>The command used to start the LSP server. At least one of <code>command</code>, <code>bash</code>, or <code>powershell</code> must be specified.</td>
166+
</tr>
167+
<tr>
168+
<td nowrap><code>bash</code></td>
169+
<td nowrap>No</td>
170+
<td>A bash script to run instead of <code>command</code>, for servers that need shell features such as pipes or environment setup. Not used on Windows if <code>powershell</code> is also set.</td>
171+
</tr>
172+
<tr>
173+
<td nowrap><code>powershell</code></td>
174+
<td nowrap>No</td>
175+
<td>A PowerShell script to run instead of <code>command</code>, used on Windows when set.</td>
166176
</tr>
167177
<tr>
168178
<td nowrap><code>args</code></td>
169179
<td nowrap>No</td>
170-
<td>Arguments to pass to the command.</td>
180+
<td>Arguments to pass to <code>command</code>. Ignored when the server is launched with <code>bash</code> or <code>powershell</code>.</td>
181+
</tr>
182+
<tr>
183+
<td nowrap><code>cwd</code></td>
184+
<td nowrap>No</td>
185+
<td>The working directory to launch the server from. Defaults to the project root.</td>
171186
</tr>
172187
<tr>
173188
<td nowrap><code>fileExtensions</code></td>
@@ -199,6 +214,16 @@ Within each server definition, the following fields are available/required:
199214
<td nowrap>No</td>
200215
<td>The timeout for the server's startup handshake in milliseconds (default: 60 seconds). If a server needs more time for initial project analysis, increase this value.</td>
201216
</tr>
217+
<tr>
218+
<td nowrap><code>spawnTimeoutMs</code></td>
219+
<td nowrap>No</td>
220+
<td>The timeout for spawning the server process in milliseconds.</td>
221+
</tr>
222+
<tr>
223+
<td nowrap><code>warmupTimeoutMs</code></td>
224+
<td nowrap>No</td>
225+
<td>The timeout for the server's warmup phase in milliseconds.</td>
226+
</tr>
202227
</tbody>
203228
</table>
204229

‎content/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ You can share the content of the current session as a shareable link to the sess
5454
> [!NOTE]
5555
> You can use `/export` as an alias for `/share` in any of the commands below.
5656
57-
To share the session to {% data variables.product.github %} and print a shareable link, type the following in an interactive session:
57+
Typing `/share` with no arguments opens a full-screen sharing menu where you can choose how to share the session. Opening this menu does not itself share or export anything.
58+
59+
To share the session to {% data variables.product.github %} and print a shareable link directly, type the following in an interactive session:
5860

5961
```copilot copy
60-
/share
62+
/share link
6163
```
6264

6365
To stop sharing the session, type `/share off`.
@@ -240,6 +242,7 @@ The simplest way to delete sessions is to use the `/session` slash command in an
240242
* `/session delete SESSION-ID` deletes a specific session. This shows a preview first; add `--yes` to confirm, for example `/session delete SESSION-ID --yes`.
241243
* `/session delete-all` deletes all of your local sessions except the current one. Add `--yes` to confirm: `/session delete-all --yes`. Sessions that are in use by another process are skipped.
242244
* `/session prune --older-than DAYS` deletes sessions older than the specified number of days. Add `--dry-run` to preview what would be deleted.
245+
* `/session cleanup` shows a storage summary of your other local sessions, grouped by age, and suggests commands for deleting old sessions. It does not delete local or synced sessions. Use `/session prune --older-than DAYS --dry-run` to preview deletions, then remove `--dry-run` to delete those local sessions.
243246

244247
When you delete a session that has been synced to your account, `/session delete` asks whether you also want to delete the synced (remote) copy. Deleting the synced copy also removes the session from your `/chronicle` insights and query results. The `/session delete-all` and `/session prune` subcommands only affect local sessions and do not delete synced data. To remove synced data for those sessions, manually delete it from {% data variables.product.prodname_dotcom_the_website %}.
245248

‎content/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely.md‎

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ This article explains how to enable and use remote control. For more conceptual
3737
You can enable remote control in several ways:
3838

3939
* With a slash command during an interactive session.
40-
* With a command-line option when you start {% data variables.copilot.copilot_cli_short %}.
4140
* By configuring the CLI to enable remote control by default for all interactive sessions.
4241
* From JetBrains IDE settings before you start a session.
4342

@@ -53,16 +52,6 @@ The CLI connects to {% data variables.product.prodname_dotcom_the_website %} and
5352

5453
You can use the `/remote` slash command without an argument to check the current remote control status, or to redisplay the remote access details if remote control is currently enabled. If you want to end the remote connection for the current session, enter `/remote off`.
5554

56-
### Using the `--remote` command-line option
57-
58-
If you think you may want to access a session remotely, you can start the CLI with the `--remote` command-line option. This avoids the need to remember to use the `/remote` slash command during the session.
59-
60-
```bash copy
61-
copilot --remote
62-
```
63-
64-
Details for accessing the session remotely are displayed when the interactive session starts and can be displayed again at any time by using the `/remote` slash command.
65-
6655
### Configuring remote control to always be enabled
6756

6857
If you always want your interactive CLI sessions to be remotely accessible, add the following to your {% data variables.product.prodname_copilot_short %} settings file (typically located at `~/.copilot/settings.json`):
@@ -73,15 +62,6 @@ If you always want your interactive CLI sessions to be remotely accessible, add
7362
}
7463
```
7564

76-
To override this setting for a particular session, use the `--no-remote` option when you start the session:
77-
78-
```bash copy
79-
copilot --no-remote
80-
```
81-
82-
> [!NOTE]
83-
> The command-line options `--remote` and `--no-remote` always take precedence over the `remote` setting in the settings file.
84-
8565
### Using JetBrains IDE settings
8666

8767
If you use {% data variables.copilot.copilot_cli_short %} from a JetBrains IDE, you can enable remote control from the IDE before you start a session.
@@ -163,10 +143,7 @@ On {% data variables.product.prodname_dotcom_the_website %}, a message tells you
163143

164144
## Preventing remote control
165145

166-
Remote control is disabled by default, but may be enabled in your {% data variables.product.prodname_copilot_short %} settings file (typically `~/.copilot/settings.json`). You can ensure a session is not remotely controllable by:
167-
168-
* **For a single session**: Start the CLI with `--no-remote` to prevent remote control for that session, regardless of your settings file value.
169-
* **Permanently**: Remove the `"remoteSessions": true` setting from `~/.copilot/settings.json`, or set it to `false`.
146+
Remote control is disabled by default, but may be enabled in your {% data variables.product.prodname_copilot_short %} settings file (typically `~/.copilot/settings.json`). You can ensure a session is not remotely controllable by removing the `"remoteSessions": true` setting from `~/.copilot/settings.json`, or setting it to `false`.
170147

171148
Enterprise owners can also restrict remote control of sessions hosted on your device using enterprise managed settings, regardless of your personal settings. Depending on the configured policy, remote control of sessions on your device may be disabled entirely, or only available to a controlling client that is SSO-authorized for specific organizations. This doesn't affect your ability to remotely control your own sessions hosted on other devices. See [AUTOTITLE](/copilot/reference/enterprise-administrators/enterprise-managed-settings).
172149

‎content/copilot/reference/copilot-billing/request-based-billing-legacy/github-copilot-premium-requests.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,21 @@ You can set a budget in your personal billing settings to receive alerts when yo
9191
* **Bundled premium request budget** - Combines all premium requests into a single budget (Recommended for most users)
9292
* **Individual SKU budgets** - Set separate budgets for each AI product (Copilot, {% data variables.product.prodname_spark_short %}, {% data variables.copilot.copilot_cloud_agent %})
9393

94+
To prevent paid premium-request overages while keeping your annual {% data variables.product.prodname_copilot_short %} subscription:
95+
96+
{% data reusables.user-settings.access_billing_settings_url %}
97+
98+
1. Click **Budgets and alerts**.
99+
1. Create or edit a bundled premium request budget covering all premium-request SKUs, or individual SKU budgets covering every applicable premium-request SKU.
100+
1. Set each budget to **$0 USD**, enable **Stop usage when budget limit is reached**, and save your changes.
101+
102+
This blocks additional paid premium requests after your included monthly allowance is exhausted without canceling your subscription.
103+
104+
> [!NOTE]
105+
> Deleting a budget is not a substitute for this configuration and can remove spending limits.
106+
107+
For configuration steps, see [AUTOTITLE](/billing/how-tos/set-up-budgets#managing-budgets-for-your-personal-account).
108+
94109
## Monitoring usage
95110

96111
* Track your monthly usage in your IDE, in {% data variables.product.prodname_copilot_short %} settings on {% data variables.product.prodname_dotcom %}, or by downloading a usage report.

‎content/copilot/reference/copilot-cli-reference/acp-server.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ copilot --acp --port 3000 --effort=max --available-tools="bash,view"
5252

5353
Every session the connected client opens against that server inherits those settings. Because the values are fixed when the server starts, a client cannot change them per session through `session/new`.
5454

55+
Sessions also honor saved sandbox settings and the `--sandbox` and `--no-sandbox` options, including when a session is resumed. An enterprise-managed policy that enforces sandboxing will override `--no-sandbox`.
56+
5557
### stdio mode
5658

5759
stdio mode is inferred by default when you start the ACP server. You can also use the `--stdio` option for disambiguation.

0 commit comments

Comments
 (0)