add attribution.sessionUrl property#5833
Open
yuyutar1 wants to merge 1 commit into
Open
Conversation
Claude Code v2.1.183 (2026-06-19) added the `attribution.sessionUrl` setting to omit the claude.ai session link from commits and PRs in web and Remote Control sessions. The `attribution` object uses `additionalProperties: false`, so using `sessionUrl` currently raises a false "unknown property" warning. Add the boolean property and extend the modern-complete-config positive test to cover it.
Contributor
|
Thanks for the PR! This section of the codebase is owned by @domdomegg, @bogini, @sarahdeaton, and @ant-kurt - if they write a comment saying "LGTM" then it will be merged. |
This was referenced Jun 29, 2026
Contributor
|
Heads-up: |
Author
|
Thanks for the heads-up! Glad to hear attribution.sessionUrl has been incorporated into the broader v2.1.200 sync. I’ll follow #5891 then. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Add the
attribution.sessionUrlboolean property to theclaude-code-settingsschema, and extend themodern-complete-configpositive test to cover it.Why
Claude Code v2.1.183 (2026-06-19) introduced this setting:
(see the Claude Code changelog and attribution settings)
The schema's
attributionobject declares"additionalProperties": false, so configs that setattribution.sessionUrlcurrently get a false "unknown property" warning in editors/language servers. This adds the missing property so valid configs validate cleanly.Details
src/schemas/json/claude-code-settings.json: addsessionUrl(boolean) alongside the existingcommit/prproperties.src/test/claude-code-settings/modern-complete-config.json: add"sessionUrl": falseto the existingattributionblock (this file is the "modern/complete" positive test that already exercisesattribution), following the existing test convention rather than adding a separate file.Both files validated as JSON.