Skip to content

Sync Claude Code upstream submodule da80366 → 2dc1e69 (v2.1.75)#12

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/sync-claude-code-upstream-changes-another-one
Draft

Sync Claude Code upstream submodule da80366 → 2dc1e69 (v2.1.75)#12
Copilot wants to merge 2 commits intomainfrom
copilot/sync-claude-code-upstream-changes-another-one

Conversation

Copy link

Copilot AI commented Mar 17, 2026

Advances the submodules/anthropic-claude-code pointer to 2dc1e69 (v2.1.75), covering CLI releases v2.1.72–2.1.74.

Upstream changes in range

  • CHANGELOG.md — three release entries (v2.1.72, v2.1.73, v2.1.74): bug fixes for --effort, --continue, --agents, --plugin-dir; UX/perf improvements; no new CLI flags or breaking changes
  • plugins/code-review/commands — adds confirmed: true to the MCP inline-comment tool call; internal plugin behavior only, not a CLI surface change

SDK impact

No C# SDK changes required:

  • All mentioned flags (--effort, --continue, --agents, --plugin-dir) are already mapped in ClaudeExecArgs
  • New settings (modelOverrides, autoMemoryDirectory) are JSON values passable via ClaudeExecArgs.Settings
  • New env var (CLAUDE_CODE_DISABLE_CRON) is passable via ClaudeOptions.EnvironmentVariables
  • "Opus 4.6" referenced in v2.1.73 CHANGELOG is a Bedrock/Vertex/Foundry provider default — no new model constant added (requires CLI verification per repo rules before any model ID is committed)
Original prompt

This section details on the original issue you should resolve

<issue_title>Sync Claude Code upstream changes (da80366 -> 2dc1e69)</issue_title>
<issue_description>

Detected upstream updates in anthropics/claude-code affecting Claude Code CLI surface tracking.

Runtime source of truth for this SDK is the real print-mode CLI contract:

  • claude -p --output-format json

  • claude -p --output-format stream-json --verbose

  • Submodule path: submodules/anthropic-claude-code

  • Published CLI package used in CI: @anthropic-ai/claude-code

  • Watched branch: main

  • Current pinned commit: da80366c484698e6370ad9e8abf121f33f8f79e0

  • Latest upstream commit: 2dc1e697836e94f3e9b7b8f19e6fb4a3622e3cca

  • Compare: anthropics/claude-code@da80366...2dc1e69

  • Latest commit: anthropics/claude-code@2dc1e69

Changed files (CLI-relevant)

  • CHANGELOG.md

Potential CLI flag changes from diff

  • --agents
  • --compact
  • --continue
  • --effort
  • --git
  • --model
  • --plugin-dir
  • --print
  • --resume

Potential model changes from diff

  • claude-code
  • claude-opus-4-5

Potential feature changes from diff

  • (no feature tokens detected from diff)

Commits

  • db8834b feat(code-review): pass confirmed=true when posting inline comments (2026-03-11)
  • 6f049b6 chore: Update CHANGELOG.md (2026-03-12)
  • 45b5430 chore: Update CHANGELOG.md (2026-03-11)
  • f6dbf44 chore: Update CHANGELOG.md (2026-03-10)
  • 540b61b chore: Update CHANGELOG.md (2026-03-10)
  • 00553de chore: Update CHANGELOG.md (2026-03-10)
  • 53a5f3e chore: Update CHANGELOG.md (2026-03-07)

Action required

  • Pull the new anthropics/claude-code submodule commit into this repository
  • Validate latest claude --help output and representative non-interactive runtime behavior
  • Re-check claude -p --output-format json and claude -p --output-format stream-json --verbose payload shape
  • Sync C# SDK constants/options/models with upstream CLI changes
  • Add or update tests for new flags/models/features
  • Update docs (README + docs/Features + docs/Architecture if needed)

Opened automatically by scheduled workflow 'Claude Code Upstream Watch'.</issue_description>

<agent_instructions>Check and update code if needed but create just one. Branch and on pr </agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] [claudecodesharpsdk-claude-code-update] Sync Claude Code upstream changes Sync Claude Code upstream submodule da80366 → 2dc1e69 (v2.1.75) Mar 17, 2026
Copilot AI requested a review from KSemenenko March 17, 2026 21:40
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.

Sync Claude Code upstream changes (da80366 -> 2dc1e69)

2 participants