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
Copy file name to clipboardExpand all lines: content/copilot/reference/copilot-cli-reference/cli-command-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -711,7 +711,7 @@ Use `/permissions reset` to clear in-memory approvals for the current session.
711
711
712
712
## OpenTelemetry monitoring
713
713
714
-
{% data variables.copilot.copilot_cli_short %} can export traces and metrics via [OpenTelemetry](https://opentelemetry.io/) (OTel), giving you visibility into agent interactions, LLM calls, tool executions, and token usage. All signal names and attributes follow the [OTel GenAI Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/gen-ai/).
714
+
{% data variables.copilot.copilot_cli_short %} can export traces and metrics via [OpenTelemetry](https://opentelemetry.io/) (OTel), giving you visibility into agent interactions, LLM calls, tool executions, and token usage. All signal names and attributes follow the [OTel GenAI Semantic Conventions](https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/).
715
715
716
716
OTel is off by default with zero overhead. It activates when any of the following conditions are met:
Copy file name to clipboardExpand all lines: content/copilot/reference/copilot-cli-reference/cli-config-dir-reference.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ The `~/.copilot` directory contains the following top-level items.
36
36
|`permissions-config.json`| File | Saved tool and directory permissions per project |
37
37
|`plugin-data/`| Directory | Persistent data for installed plugins |
38
38
|`session-state/`| Directory | Session history and workspace data |
39
+
|`command-history-state/`| Directory | Command history data |
39
40
|`session-store.db`| File | SQLite database for cross-session data |
40
41
|`settings.json`| File | Your personal configuration settings |
41
42
|`skills/`| Directory | Personal custom skill definitions |
@@ -121,6 +122,10 @@ Stores your saved tool and directory permission decisions, organized by project
121
122
122
123
Contains session history data, organized by session ID in subdirectories. Each session directory stores an event log (`events.jsonl`) and workspace artifacts (plans, checkpoints, tracked files). This data enables session resume (`--resume` or `--continue`).
123
124
125
+
### `command-history-state/`
126
+
127
+
Contains command history data used for reverse search (<kbd>Ctrl</kbd>+<kbd>R</kbd>) and history navigation in the interactive interface. This directory is managed automatically and should not be edited.
128
+
124
129
### `session-store.db`
125
130
126
131
A SQLite database used by the CLI for cross-session data such as checkpoint indexing and search. This file is automatically managed and should not be edited.
@@ -179,6 +184,7 @@ To override the default `~/.copilot` location, set the `COPILOT_HOME` environmen
179
184
|`permissions-config.json`| With caution | Resets all saved permissions. The CLI will prompt you again for tool and directory approvals. |
180
185
|`plugin-data/`| Yes | Plugin persistent data is re-created as needed. |
181
186
|`session-state/`| With caution | Deleting removes session history. You will no longer be able to resume past sessions. |
187
+
|`command-history-state/`| With caution | Deleting removes command history. You will no longer be able to search previous commands with <kbd>Ctrl</kbd>+<kbd>R</kbd>. |
182
188
|`session-store.db`| With caution | Deleting removes cross-session data. The file is re-created automatically. |
183
189
|`settings.json`| With caution | Resets all user preferences to defaults. You will need to reconfigure your settings. |
184
190
@@ -230,7 +236,7 @@ These settings apply across all your sessions and repositories. You can edit thi
230
236
|`mergeStrategy`|`"rebase"`\|`"merge"`| — | Conflict resolution strategy for `/pr fix conflicts`. When set to `"rebase"`, conflicts are resolved by rebasing onto the base branch. When set to `"merge"`, the base branch is merged into the feature branch. If not configured, a picker dialog is shown. |
231
237
|`model`|`string`| varies | AI model to use. Set to `"auto"` to let {% data variables.product.prodname_copilot_short %} pick the best available model automatically. Managed by the `/model` slash command. |
232
238
|`mouse`|`boolean`|`true`| Enable mouse support in alt screen mode. Can also be set with `--mouse` or `--no-mouse`. |
233
-
|`powershellFlags`|`string[]`|`["-NoProfile", "-NoLogo"]`| Flags passed to PowerShell (`pwsh`) on startup. Windows only. |
239
+
|`powershellFlags`|`string[]`|`["-NoProfile", "-NoLogo"]`| Flags passed to PowerShell on startup. On Windows, the CLI prefers PowerShell 7+ (`pwsh`) and falls back to Windows PowerShell (`powershell.exe`) when `pwsh` is unavailable. Windows only. |
234
240
|`renderMarkdown`|`boolean`|`true`| Render Markdown in terminal output. |
235
241
|`respectGitignore`|`boolean`|`true`| Exclude gitignored files from the `@` file mention picker. When `false`, the picker includes files normally excluded by `.gitignore`. |
0 commit comments