Skip to content

add attribution.sessionUrl property#5833

Open
yuyutar1 wants to merge 1 commit into
SchemaStore:masterfrom
yuyutar1:feat/claude-code-attribution-sessionurl
Open

add attribution.sessionUrl property#5833
yuyutar1 wants to merge 1 commit into
SchemaStore:masterfrom
yuyutar1:feat/claude-code-attribution-sessionurl

Conversation

@yuyutar1

Copy link
Copy Markdown

Change

Add the attribution.sessionUrl boolean property to the claude-code-settings schema, and extend the modern-complete-config positive test to cover it.

Why

Claude Code v2.1.183 (2026-06-19) introduced this setting:

Added attribution.sessionUrl setting to omit the claude.ai session link from commits and PRs in web and Remote Control sessions

(see the Claude Code changelog and attribution settings)

The schema's attribution object declares "additionalProperties": false, so configs that set attribution.sessionUrl currently 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: add sessionUrl (boolean) alongside the existing commit / pr properties.
  • src/test/claude-code-settings/modern-complete-config.json: add "sessionUrl": false to the existing attribution block (this file is the "modern/complete" positive test that already exercises attribution), following the existing test convention rather than adding a separate file.

Both files validated as JSON.

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.
@github-actions

Copy link
Copy Markdown
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.

@yuyutar1 yuyutar1 changed the title feat(claude-code-settings): add attribution.sessionUrl property add attribution.sessionUrl property Jun 21, 2026
@miteshashar

miteshashar commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Heads-up: attribution.sessionUrl is incorporated (description matched verbatim to settings#attribution-settings) into #5891, a broader sync to v2.1.200 — credited above.

@yuyutar1

yuyutar1 commented Jul 4, 2026

Copy link
Copy Markdown
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.

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.

2 participants