You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 01c4e74
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/apps/oauth-apps/using-oauth-apps/authorizing-oauth-apps.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ When an {% data variables.product.prodname_oauth_app %} wants to identify you by
20
20
> [!TIP]
21
21
> 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 %}.
22
22
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
+
23
25
{% endif %}
24
26
25
27
## {% data variables.product.prodname_oauth_app %} access
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/set-up-copilot-cli/add-lsp-servers.md
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,13 +161,28 @@ Within each server definition, the following fields are available/required:
161
161
<tbody>
162
162
<tr>
163
163
<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>
166
176
</tr>
167
177
<tr>
168
178
<td nowrap><code>args</code></td>
169
179
<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>
171
186
</tr>
172
187
<tr>
173
188
<td nowrap><code>fileExtensions</code></td>
@@ -199,6 +214,16 @@ Within each server definition, the following fields are available/required:
199
214
<td nowrap>No</td>
200
215
<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>
201
216
</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>
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,10 +54,12 @@ You can share the content of the current session as a shareable link to the sess
54
54
> [!NOTE]
55
55
> You can use `/export` as an alias for `/share` in any of the commands below.
56
56
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:
58
60
59
61
```copilot copy
60
-
/share
62
+
/share link
61
63
```
62
64
63
65
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
240
242
*`/session delete SESSION-ID` deletes a specific session. This shows a preview first; add `--yes` to confirm, for example `/session delete SESSION-ID --yes`.
241
243
*`/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.
242
244
*`/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.
243
246
244
247
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 %}.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely.md
+1-24Lines changed: 1 addition & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,6 @@ This article explains how to enable and use remote control. For more conceptual
37
37
You can enable remote control in several ways:
38
38
39
39
* With a slash command during an interactive session.
40
-
* With a command-line option when you start {% data variables.copilot.copilot_cli_short %}.
41
40
* By configuring the CLI to enable remote control by default for all interactive sessions.
42
41
* From JetBrains IDE settings before you start a session.
43
42
@@ -53,16 +52,6 @@ The CLI connects to {% data variables.product.prodname_dotcom_the_website %} and
53
52
54
53
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`.
55
54
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
-
66
55
### Configuring remote control to always be enabled
67
56
68
57
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
73
62
}
74
63
```
75
64
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
-
85
65
### Using JetBrains IDE settings
86
66
87
67
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
163
143
164
144
## Preventing remote control
165
145
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`.
170
147
171
148
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).
Copy file name to clipboardExpand all lines: content/copilot/reference/copilot-billing/request-based-billing-legacy/github-copilot-premium-requests.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,21 @@ You can set a budget in your personal billing settings to receive alerts when yo
91
91
***Bundled premium request budget** - Combines all premium requests into a single budget (Recommended for most users)
92
92
***Individual SKU budgets** - Set separate budgets for each AI product (Copilot, {% data variables.product.prodname_spark_short %}, {% data variables.copilot.copilot_cloud_agent %})
93
93
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
+
94
109
## Monitoring usage
95
110
96
111
* 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.
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`.
54
54
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
+
55
57
### stdio mode
56
58
57
59
stdio mode is inferred by default when you start the ACP server. You can also use the `--stdio` option for disambiguation.
0 commit comments