Skip to content

[bot] Add /pr command, new hook types, applyTo arrays, and Squad SDK-First mode#16

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
bot/copilot-updates-2026-03-19-18c4c708202c0351
Draft

[bot] Add /pr command, new hook types, applyTo arrays, and Squad SDK-First mode#16
github-actions[bot] wants to merge 1 commit intomainfrom
bot/copilot-updates-2026-03-19-18c4c708202c0351

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

What's new

Updates based on GitHub Copilot CLI releases v1.0.5–v1.0.9 (March 13–19, 2026) and Squad v0.8.21–v0.8.25 (March 7–8, 2026).

New features found

  1. /pr command (CLI v1.0.5, 2026-03-13) — create and view PRs, automatically fix CI failures, address review feedback, and resolve merge conflicts from within a CLI session
  2. New hook types (v1.0.5/v1.0.7):
    • preCompact — runs before context compaction, useful for saving state
    • subagentStart — fires when a subagent is spawned, allows injecting additional context into its prompt
    • preToolUse — fires before any tool is invoked; can block or warn (demonstrated by Tool Guardian hook in awesome-copilot)
  3. Hooks in settings.json (v1.0.8) — hooks can now be defined directly in settings.json, settings.local.json, or config.json, not only in hooks.json files
  4. Hook PascalCase/Claude Code compatibility (v1.0.6) — event names accept both camelCase and PascalCase for compatibility with VS Code and Claude Code
  5. applyTo accepts arrays (v1.0.6) — Path-Specific Instructions frontmatter applyTo field now accepts both a string and an array of glob patterns
  6. Squad SDK-First mode (Squad v0.8.21) — define teams in TypeScript with defineTeam(), defineAgent(), defineRouting() etc.; compile with squad build

Sections updated

  • At a Glance (ASCII diagram): added /pr Command to the Agentic block
  • Table of Contents: added /pr — Pull Request Automation link
  • Path-Specific Instructions: added applyTo array syntax example and updated summary table
  • Hooks: expanded hook types table (3 new events), added settings.json config note, added PascalCase compatibility note
  • Agentic Features: added new /pr — Pull Request Automation section between Autopilot Mode and Copilot Coding Agent
  • Community Projects → Squad: updated "What's new" from v0.8.x to v0.8.21–v0.8.25 with SDK-First mode bullet
  • Quick Reference: added /pr row

Sources

Generated by Check Copilot Updates ·

- Add /pr command section (v1.0.5): local PR creation, CI fixes, review automation
- Add preToolUse, subagentStart, preCompact hook types (v1.0.5/v1.0.7)
- Add hooks-in-settings.json config note and PascalCase event name compat (v1.0.6/v1.0.8)
- Add applyTo array syntax example to Path-Specific Instructions (v1.0.6)
- Update Squad What's new to v0.8.21-v0.8.25 with SDK-First mode
- Update ASCII diagram, Table of Contents, and Quick Reference table

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