<!-- claudecodesharpsdk-claude-code-update:158620419486e3d2d696351d5a71fbd6b8f58653 --> 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: `158620419486e3d2d696351d5a71fbd6b8f58653` - Compare: https://github.com/anthropics/claude-code/compare/da80366c484698e6370ad9e8abf121f33f8f79e0...158620419486e3d2d696351d5a71fbd6b8f58653 - Latest commit: https://github.com/anthropics/claude-code/commit/158620419486e3d2d696351d5a71fbd6b8f58653 ## Changed files (CLI-relevant) - `CHANGELOG.md` - `scripts/comment-on-duplicates.sh` - `scripts/edit-issue-labels.sh` ## Potential CLI flag changes from diff - `--add-dir` - `--add-label` - `--agent` - `--agents` - `--bare` - `--base-issue` - `--channels` - `--client-secret` - `--compact` - `--console` - `--continue` - `--dangerously-skip-permissions` - `--debug` - `--effort` - `--enable-auto-mode` - `--exclude-dynamic-system-prompt-sections` - `--from-pr` - `--git` - `--issue` - `--json` - `--json-schema` - `--mcp-config` - `--model` - `--name` - `--output-format` - `--plugin-dir` - `--potential-duplicates` - `--print` - `--prune` - `--remember` - `--remote-control-session-name-prefix` - `--remove-label` - `--resume` - `--setting-sources` - `--settings` - `--teleport` - `--verbose` - `--worktree` ## Potential model changes from diff - `claude-api` - `claude-cli` - `claude-code` - `claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819` - `claude-code-releases` - `claude-opus-4-5` - `claude-opus-4-7` ## Potential feature changes from diff - (no feature tokens detected from diff) ## Commits - 1586204 chore: Update CHANGELOG.md (2026-04-28) - c128568 fix: yaml.github-actions.security.run-shell-injection.run-shell-injection security vulnerability (#43824) (2026-04-27) - 7e93645 chore: Update CHANGELOG.md (2026-04-25) - c393344 chore: Update CHANGELOG.md (2026-04-25) - ab3ce06 chore: Update CHANGELOG.md (2026-04-23) - a5fa36c fix: point $schema at schemastore.org (URL was 404) (#52239) (2026-04-23) - 925200d chore: Update CHANGELOG.md (2026-04-23) - 9afdfd7 chore: Update CHANGELOG.md (2026-04-22) - 2fa6771 chore: Update CHANGELOG.md (2026-04-22) - fe53778 chore: Update CHANGELOG.md (2026-04-20) - 0385848 chore: Update CHANGELOG.md (2026-04-18) - 71366ec chore: Update CHANGELOG.md (2026-04-17) - 2b53fac chore: Update CHANGELOG.md (2026-04-16) - bf77ee6 chore: Update CHANGELOG.md (2026-04-16) - 5a7bf28 chore: Update CHANGELOG.md (2026-04-16) - 4fb8aa4 chore: Update CHANGELOG.md (2026-04-15) - 45ae2f5 chore: Update CHANGELOG.md (2026-04-15) - f348a16 chore: Update CHANGELOG.md (2026-04-15) - 5c18c78 chore: Update CHANGELOG.md (2026-04-14) - 194736a chore: Update CHANGELOG.md (2026-04-14) - 550aeec chore: Update CHANGELOG.md (2026-04-13) - 9772e13 chore: Update CHANGELOG.md (2026-04-10) - c5600e0 chore: Update CHANGELOG.md (2026-04-09) - d2b2252 Add MDM deployment example templates (#45866) (2026-04-09) - 54c7be5 Tighten invalid-label rule and require a category label on new issues (2026-04-09) - 22fdf68 chore: Update CHANGELOG.md (2026-04-08) - 227817d chore: Update CHANGELOG.md (2026-04-08) - b9fbc77 chore: Update CHANGELOG.md (2026-04-07) - b543a25 chore: Update CHANGELOG.md (2026-04-04) - 1e03cc7 chore: Update CHANGELOG.md (2026-04-02) - a50a919 chore: Update CHANGELOG.md (2026-04-01) - b4fa5f8 chore: Update CHANGELOG.md (2026-04-01) - 66ab4ae chore: Update CHANGELOG.md (2026-03-31) - 4411cba Read issue number from workflow event in helper scripts (#40969) (2026-03-31) - 2d5c1ba chore: Update CHANGELOG.md (2026-03-30) - 78a44f1 chore: Update CHANGELOG.md (2026-03-29) - 2923bc8 chore: Update CHANGELOG.md (2026-03-27) - f75b613 chore: Update CHANGELOG.md (2026-03-26) - a0d9b87 chore: Update CHANGELOG.md (2026-03-26) - a542f1b chore: Update CHANGELOG.md (2026-03-25) - cada21c chore: Update CHANGELOG.md (2026-03-25) - 6aadfbd chore: Update CHANGELOG.md (2026-03-20) - 1653669 chore: Update CHANGELOG.md (2026-03-19) - 5e34f19 chore: Update CHANGELOG.md (2026-03-18) - a3d9426 chore: Update CHANGELOG.md (2026-03-17) - 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'._
Detected upstream updates in
anthropics/claude-codeaffecting Claude Code CLI surface tracking.Runtime source of truth for this SDK is the real print-mode CLI contract:
claude -p --output-format jsonclaude -p --output-format stream-json --verboseSubmodule path:
submodules/anthropic-claude-codePublished CLI package used in CI:
@anthropic-ai/claude-codeWatched branch:
mainCurrent pinned commit:
da80366c484698e6370ad9e8abf121f33f8f79e0Latest upstream commit:
158620419486e3d2d696351d5a71fbd6b8f58653Compare: anthropics/claude-code@da80366...1586204
Latest commit: anthropics/claude-code@1586204
Changed files (CLI-relevant)
CHANGELOG.mdscripts/comment-on-duplicates.shscripts/edit-issue-labels.shPotential CLI flag changes from diff
--add-dir--add-label--agent--agents--bare--base-issue--channels--client-secret--compact--console--continue--dangerously-skip-permissions--debug--effort--enable-auto-mode--exclude-dynamic-system-prompt-sections--from-pr--git--issue--json--json-schema--mcp-config--model--name--output-format--plugin-dir--potential-duplicates--print--prune--remember--remote-control-session-name-prefix--remove-label--resume--setting-sources--settings--teleport--verbose--worktreePotential model changes from diff
claude-apiclaude-cliclaude-codeclaude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819claude-code-releasesclaude-opus-4-5claude-opus-4-7Potential feature changes from diff
Commits
Action required
anthropics/claude-codesubmodule commit into this repositoryclaude --helpoutput and representative non-interactive runtime behaviorclaude -p --output-format jsonandclaude -p --output-format stream-json --verbosepayload shapeOpened automatically by scheduled workflow 'Claude Code Upstream Watch'.