Skip to content

Sync Claude Code upstream v2.1.70 → v2.1.77 (da80366 → 079dc85)#13

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

Sync Claude Code upstream v2.1.70 → v2.1.77 (da80366 → 079dc85)#13
Copilot wants to merge 2 commits intomainfrom
copilot/sync-claude-code-upstream-changes-yet-again

Conversation

Copy link

Copilot AI commented Mar 17, 2026

Tracks upstream CLI surface changes across releases v2.1.71–2.1.77. The only SDK-relevant additions are a new session naming flag and two new model aliases.

Submodule

  • Bumped submodules/anthropic-claude-code to 079dc856 (v2.1.77)

New --name / -n flag (v2.1.76)

Sets a display name for the session at startup.

  • ClaudeExecArgs.SessionName — new optional string property
  • ClaudeExec — new NameFlag constant + mapping appends --name <value> when set
var args = new ClaudeExecArgs
{
    Input = "...",
    SessionName = "my-refactor-session",
};

New model aliases (v2.1.77)

Opus 4.6 and Sonnet 4.6 surfaced with expanded token limits (64k default / 128k upper bound for Max/Team/Enterprise).

  • ClaudeModels.ClaudeOpus46Alias"claude-opus-4-6"
  • ClaudeModels.ClaudeSonnet46Alias"claude-sonnet-4-6"
  • Both registered in ClaudeModels.Known
Original prompt

This section details on the original issue you should resolve

<issue_title>Sync Claude Code upstream changes (da80366 -> 079dc85)</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: 079dc856c6c990de5be28e288939293905c154c1

  • Compare: anthropics/claude-code@da80366...079dc85

  • Latest commit: anthropics/claude-code@079dc85

Changed files (CLI-relevant)

  • CHANGELOG.md

Potential CLI flag changes from diff

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

Potential model changes from diff

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

Potential feature changes from diff

  • (no feature tokens detected from diff)

Commits

  • 079dc85 chore: Update CHANGELOG.md (2026-03-17)
  • 420a188 chore: Update CHANGELOG.md (2026-03-14)
  • 48b1c6c chore: Update CHANGELOG.md (2026-03-13)
  • 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)


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…odels, update submodule

Co-authored-by: KSemenenko <4385716+KSemenenko@users.noreply.github.com>
Copilot AI changed the title [WIP] Sync Claude Code upstream changes from da80366 to 079dc85 Sync Claude Code upstream v2.1.70 → v2.1.77 (da80366 → 079dc85) Mar 17, 2026
Copilot AI requested a review from KSemenenko March 17, 2026 21:43
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 -> 079dc85)

2 participants