Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Patch version bumps for both CLI tools. No interface changes detected in either update.

Changes

  • Constants: DefaultClaudeCodeVersion 2.1.20 → 2.1.22, DefaultCopilotVersion 0.0.395 → 0.0.397
  • Tests: Updated version expectations in constants_test.go
  • Workflows: Recompiled 130 lock files with new versions

Version Details

Claude Code 2.1.21 (2026-01-28 01:37 UTC)

  • ~19h after 2.1.20

Claude Code 2.1.22 (2026-01-28 06:34 UTC)

  • ~5h after 2.1.21

Copilot CLI 0.0.396 (2026-01-27 20:02 UTC)

  • ~19h after 0.0.395

Copilot CLI 0.0.397 (2026-01-28 15:21 UTC)

  • ~19h after 0.0.396

Note

Per existing warning in constants.go, Copilot CLI upgrades require full integration testing.

Original prompt

This section details on the original issue you should resolve

<issue_title>[ca] Update CLI Versions: Claude Code 2.1.22, Copilot CLI 0.0.397</issue_title>
<issue_description>Found 2 CLI version updates available. Constants have been updated but workflow recompilation is blocked by Go toolchain download restrictions in the GitHub Actions environment.

Update Summary

  • Claude Code: 2.1.20 → 2.1.22 (via 2.1.21)
  • Copilot CLI: 0.0.395 → 0.0.397 (via 0.0.396)
  • Constants Updated: ✅ Yes (pkg/constants/constants.go)
  • Recompile Status: ❌ Blocked by Go toolchain download
  • Priority: Medium

Claude Code Updates

Version 2.1.21

Version 2.1.22

CLI Changes

✓ No changes detected in command-line interface between 2.1.20 → 2.1.22

Available commands remain:

  • doctor - Check auto-updater health
  • install - Install native build
  • mcp - Configure and manage MCP servers
  • plugin - Manage plugins
  • setup-token - Set up authentication token
  • update - Check for updates

Key flags:

  • --mcp-config - Load MCP servers from JSON
  • --model - Specify model (sonnet, opus, haiku)
  • --permission-mode - Control permissions
  • --json-schema - Structured output validation
  • --agent - Custom agent selection
View Full Claude Code Help Output
Usage: claude [options] [command] [prompt]

Claude Code - starts an interactive session by default, use -p/--print for
non-interactive output

Arguments:
  prompt                                            Your prompt

Options:
  --add-dir (directories...)                        Additional directories to allow tool access to
  --agent (agent)                                   Agent for the current session. Overrides the 'agent' setting.
  --agents (json)                                   JSON object defining custom agents (e.g. '{"reviewer": {"description": "Reviews code", "prompt": "You are a code reviewer"}}')
  --allow-dangerously-skip-permissions              Enable bypassing all permission checks as an option, without it being enabled by default. Recommended only for sandboxes with no internet access.
  --allowedTools, --allowed-tools (tools...)        Comma or space-separated list of tool names to allow (e.g. "Bash(git:*) Edit")
  --append-system-prompt (prompt)                   Append a system prompt to the default system prompt
  --betas (betas...)                                Beta headers to include in API requests (API key users only)
  --chrome                                          Enable Claude in Chrome integration
  -c, --continue                                    Continue the most recent conversation in the current directory
  --dangerously-skip-permissions                    Bypass all permission checks. Recommended only for sandboxes with no internet access.
  -d, --debug [filter]                              Enable debug mode with optional category filtering (e.g., "api,hooks" or "!statsig,!file")
  --debug-file (path)                               Write debug logs to a specific file path (implicitly enables debug mode)
  --disable-slash-commands                          Disable all skills
  --disallowedTools, --disallowed-tools (tools...)  Comma or space-separated list of tool names to deny (e.g. "Bash(git:*) Edit")
  --fallback-model (model)                          Enable automatic fallback to specified model when default model is overloaded (only works with --print)
  --file (specs...)                                 File resources to download at startup. Format: file_id:relative_path (e.g., --file file_abc:doc.txt file_def:img.png)
  --fork-session                                    When resuming, create a new session ID instead of reusing the original (use with --resume or --continue)
  -h, --help                                        Display help for command
  --ide                                             Automatically connect to IDE on startup if exactly one valid IDE is available
  --include-partial-messages                        Include partial message chunks as they arrive (only works with --print and --output-format=stream-json)
  --input-format (format)                           Input format (only works with --print): "text" (default), or "stream-json" (realtime streaming input) (choices: "text", "stream-json")
  --json-schema (schema)                            JSON Schema for structured output validation. Example: {"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}
  --max-budget-usd (amount)                         Maximum dollar amount to spend on API calls (only works with --print)
  --mcp-config ...

</details>



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

- Fixes githubnext/gh-aw#12345

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

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.

---

## Changeset

- **Type**: patch
- **Description**: Bump Claude Code to 2.1.22, Copilot CLI to 0.0.397, and refresh workflow locks.

> Ahoy! This treasure was crafted by [🏴‍☠️ Changeset Generator](https://github.com/githubnext/gh-aw/actions/runs/21460659496)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Claude Code and Copilot CLI versions Update CLI versions: Claude Code 2.1.22, Copilot CLI 0.0.397 Jan 29, 2026
Copilot AI requested a review from pelikhan January 29, 2026 00:22
@pelikhan pelikhan added the smoke label Jan 29, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 29, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Contributor

github-actions bot commented Jan 29, 2026

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

@github-actions
Copy link
Contributor

github-actions bot commented Jan 29, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

Smoke Test Results

PRs queried:

Test Results:

  • ✅ GitHub MCP
  • ✅ Safe Inputs GH CLI
  • ✅ Serena MCP
  • ✅ Playwright
  • ✅ File Writing
  • ✅ Bash Tool
  • ✅ Discussion Interaction
  • ✅ Build gh-aw

Overall Status: PASS

@pelikhan

AI generated by Smoke Copilot

@github-actions
Copy link
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions
Copy link
Contributor

Add expires support for create-pull-request safe-outputs
docs: Document agent container build/test environment from epic #11970
GitHub MCP ✅ | safeinputs-gh ✅ | Serena ✅
Playwright ✅ | Tavily ✅
File write+cat ✅ | Build ✅
Discussion query+comment ✅
Overall: PASS

AI generated by Smoke Codex

@github-actions
Copy link
Contributor

Smoke Test Results

Last 2 Merged PRs:

Test Results:
✅ GitHub MCP
✅ Safe Inputs GH CLI
✅ Serena MCP
✅ Make Build
✅ Playwright
✅ Tavily Web Search
✅ File Writing
✅ Bash Tool
✅ Discussion Interaction

Overall Status: PASS

AI generated by Smoke Claude

@pelikhan pelikhan marked this pull request as ready for review January 29, 2026 00:30
@pelikhan pelikhan merged commit a0b6ac4 into main Jan 29, 2026
210 checks passed
@pelikhan pelikhan deleted the copilot/update-cli-versions branch January 29, 2026 00:30
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.

2 participants