[bot] docs: update Learning Hub for Copilot CLI v1.0.15–v1.0.16 changes#1273
Conversation
- Add PermissionRequest hook event to automating-with-hooks.md with practical CI example (new in v1.0.16) - Add Ctrl+Q / Ctrl+Enter queue shortcut note to copilot-configuration-basics.md (Ctrl+D no longer queues as of v1.0.15) - Add extraKnownMarketplaces config setting to installing-and-using-plugins.md (old 'marketplaces' setting removed in v1.0.16) - Update lastUpdated dates on all three files Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates Learning Hub documentation to reflect GitHub Copilot CLI v1.0.15–v1.0.16 changes (new PermissionRequest hook event, plugin marketplace config rename/removal, and updated message-queue shortcuts).
Changes:
- Documented the new
PermissionRequesthook event and added a CI-focused auto-approval example. - Added documentation for
extraKnownMarketplaces(replacing the removedmarketplacessetting). - Updated CLI session docs to note Ctrl+Q / Ctrl+Enter for queuing messages and that Ctrl+D no longer queues.
Show a summary per file
| File | Description |
|---|---|
| website/src/content/docs/learning-hub/installing-and-using-plugins.md | Adds team-sharing guidance for marketplace registrations via extraKnownMarketplaces. |
| website/src/content/docs/learning-hub/copilot-configuration-basics.md | Documents new keyboard shortcuts for message queuing (Ctrl+Q / Ctrl+Enter) and Ctrl+D behavior change. |
| website/src/content/docs/learning-hub/automating-with-hooks.md | Adds PermissionRequest to the hook events list and includes a new CI auto-approval example. |
Copilot's findings
Comments suppressed due to low confidence (1)
website/src/content/docs/learning-hub/automating-with-hooks.md:223
- The example hook config uses the PascalCase event key
"PermissionRequest". If the intent is to keep examples aligned with the rest of the page (which consistently uses camelCase event keys likepostToolUse,preToolUse, etc.), consider switching this to camelCase (e.g.,"permissionRequest") and rely on the existing note that PascalCase variants are also accepted.
"version": 1,
"hooks": {
"PermissionRequest": [
{
"type": "command",
- Files reviewed: 3/3 changed files
- Comments generated: 2
| ### Sharing Marketplace Registrations Across a Team | ||
|
|
||
| To automatically register an additional marketplace for everyone working in a repository, add an `extraKnownMarketplaces` entry to your `.github/copilot-settings.json` (or `config.json`): | ||
|
|
There was a problem hiding this comment.
The docs recommend adding extraKnownMarketplaces to .github/copilot-settings.json, but elsewhere the Learning Hub states Copilot CLI configuration lives in ~/.copilot-cli/config.json with per-project overrides in .claude/settings.json / .claude/settings.local.json (see website/src/content/docs/learning-hub/copilot-configuration-basics.md:375-402). Unless .github/copilot-settings.json is a real supported config path, this will mislead readers—please update the path(s) here to match the documented config locations and clarify whether this is a global vs per-repo setting.
| | `preToolUse` | Before the agent uses any tool (e.g., `bash`, `edit`) | **Approve or deny** tool executions, block dangerous commands, enforce security policies | | ||
| | `postToolUse` | After a tool **successfully** completes execution | Log results, track usage, format code after edits | | ||
| | `postToolUseFailure` | When a tool call **fails with an error** | Log errors for debugging, send failure alerts, track error patterns | | ||
| | `PermissionRequest` | When the CLI shows a **permission prompt** to the user | Programmatically approve or deny permission requests, enable auto-approval in CI/headless environments | |
There was a problem hiding this comment.
In the Hook Events table, all event names are listed in camelCase (e.g., preToolUse, postToolUseFailure), but this new entry uses PascalCase (PermissionRequest). Since the doc later says both casing styles are accepted, consider listing the canonical/primary name in camelCase here (e.g., permissionRequest) for consistency and to reduce confusion.
This issue also appears on line 219 of the same file.
| | `PermissionRequest` | When the CLI shows a **permission prompt** to the user | Programmatically approve or deny permission requests, enable auto-approval in CI/headless environments | | |
| | `permissionRequest` | When the CLI shows a **permission prompt** to the user | Programmatically approve or deny permission requests, enable auto-approval in CI/headless environments | |
What's New
Copilot CLI released v1.0.15 (2026-04-01) and v1.0.16 (2026-04-02) with several noteworthy changes. This PR updates three Learning Hub pages to document the features that weren't yet covered.
Changes Found
v1.0.16 (2026-04-02)
PermissionRequesthook — new hook event that fires when the CLI shows a permission prompt to the user, allowing scripts to programmatically approve or deny it (distinct frompreToolUsewhich blocks/allows tool calls)marketplacesrepository setting removed — replaced byextraKnownMarketplaces(the old setting was already deprecated; now fully removed)v1.0.15 (2026-04-01)
Sections Updated
automating-with-hooks.mdPermissionRequestto the Hook Events tablelastUpdateddate to 2026-04-02copilot-configuration-basics.mdlastUpdateddate to 2026-04-02installing-and-using-plugins.mdextraKnownMarketplacesconfig setting with a JSON examplemarketplacessetting removed in v1.0.16lastUpdateddate to 2026-04-02Source Announcements