Skip to content

[bot] Add /pr command, new hook types, agent invocation options, and SDK session APIs (CLI v1.0.5–v1.0.7)#14

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
update/copilot-cli-v1.0.5-v1.0.7-features-0b9fafe859f4c2c6
Draft

[bot] Add /pr command, new hook types, agent invocation options, and SDK session APIs (CLI v1.0.5–v1.0.7)#14
github-actions[bot] wants to merge 1 commit intomainfrom
update/copilot-cli-v1.0.5-v1.0.7-features-0b9fafe859f4c2c6

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

What was found

Checking GitHub Copilot CLI releases and community sources for the past 7 days (2026-03-10 to 2026-03-17):

CLI v1.0.5 (2026-03-13)

  • /pr slash command — create PRs, fix failing CI, address reviewer comments, resolve merge conflicts from the terminal
  • preCompact hook — new lifecycle event that fires before context compaction starts
  • /extensions command, /diff with syntax highlighting, /version, enhanced /changelog

CLI v1.0.7-0 (2026-03-17, prerelease)

  • subagentStart hook — fires when a subagent is spawned; supports injecting additional context into the subagent's prompt
  • Experimental SDK session APIs — list and manage skills, MCP servers, and plugins programmatically with optional config auto-discovery

awesome-copilot (2026-03-16)

  • Agent invocation options changedinfer option removed and replaced with user-invocable and disable-model-invocation for clearer agent behavior control

What was updated in the guide

Hooks section

  • Added preCompact and subagentStart to the hook types table
  • Updated the example hooks.json to demonstrate both new hook types
  • Updated the ASCII At a Glance diagram description for Hooks

New section: The /pr Command (Agentic Features)

  • Full section with one-line summary, When you need it callout, code examples for all four use cases (create PR, fix CI, address review, resolve merge conflict), and summary table
  • Added to Table of Contents, Quick Reference table, and ASCII At a Glance diagram

Custom Agents section

  • Added user-invocable: true to the example agent frontmatter
  • Added Invocation options row to the summary table documenting user-invocable and disable-model-invocation

Copilot SDK section

  • Added a TypeScript example showing the experimental session APIs (listSkills, listMcpServers, listPlugins)
  • Added Session APIs row to the summary table noting the v1.0.7+ experimental status

Source announcements

Generated by Check Copilot Updates ·

…on options, and SDK session APIs

New features from GitHub Copilot CLI v1.0.5–v1.0.7:

- Add /pr Command section: autonomous PR creation, CI fix, review feedback,
  and merge conflict resolution from the CLI (v1.0.5)
- Add preCompact hook type: runs before context compaction (v1.0.5)
- Add subagentStart hook type: inject context when subagents spawn (v1.0.7-0)
- Update Custom Agents: document user-invocable and disable-model-invocation
  invocation options (replacing the removed infer option)
- Update Copilot SDK: document experimental session APIs for listing and
  managing skills, MCP servers, and plugins with auto-discovery (v1.0.7-0)
- Update Quick Reference table, TOC, and ASCII At a Glance diagram

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants