Skip to content

Commit 108ecf5

Browse files
docs-botgithub-actions[bot]hubwriterCopilot
authored
docs: update copilot-cli content from source docs (#61166)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: hubwriter <hubwriter@github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 309e7c6 commit 108ecf5

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

content/copilot/reference/copilot-cli-reference/cli-command-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Use `/permissions reset` to clear in-memory approvals for the current session.
711711

712712
## OpenTelemetry monitoring
713713

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/).
715715

716716
OTel is off by default with zero overhead. It activates when any of the following conditions are met:
717717

content/copilot/reference/copilot-cli-reference/cli-config-dir-reference.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The `~/.copilot` directory contains the following top-level items.
3636
| `permissions-config.json` | File | Saved tool and directory permissions per project |
3737
| `plugin-data/` | Directory | Persistent data for installed plugins |
3838
| `session-state/` | Directory | Session history and workspace data |
39+
| `command-history-state/` | Directory | Command history data |
3940
| `session-store.db` | File | SQLite database for cross-session data |
4041
| `settings.json` | File | Your personal configuration settings |
4142
| `skills/` | Directory | Personal custom skill definitions |
@@ -121,6 +122,10 @@ Stores your saved tool and directory permission decisions, organized by project
121122

122123
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`).
123124

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+
124129
### `session-store.db`
125130

126131
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
179184
| `permissions-config.json` | With caution | Resets all saved permissions. The CLI will prompt you again for tool and directory approvals. |
180185
| `plugin-data/` | Yes | Plugin persistent data is re-created as needed. |
181186
| `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>. |
182188
| `session-store.db` | With caution | Deleting removes cross-session data. The file is re-created automatically. |
183189
| `settings.json` | With caution | Resets all user preferences to defaults. You will need to reconfigure your settings. |
184190

@@ -230,7 +236,7 @@ These settings apply across all your sessions and repositories. You can edit thi
230236
| `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. |
231237
| `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. |
232238
| `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. |
234240
| `renderMarkdown` | `boolean` | `true` | Render Markdown in terminal output. |
235241
| `respectGitignore` | `boolean` | `true` | Exclude gitignored files from the `@` file mention picker. When `false`, the picker includes files normally excluded by `.gitignore`. |
236242
| `screenReader` | `boolean` | `false` | Enable screen reader optimizations. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
391259f70310fc987767077c68d29b5e38b28263
1+
d37d2243a99b9136587359a66e824ca93f0b7d90

0 commit comments

Comments
 (0)