Repository navigation
refactor: finish de-brand layer 1 — neutral protocol namespace, drop leftover docs - #424
Merged
Merged
Conversation
…leftover docs Completes the remaining layer-1 items from issue #419 on top of #420: - namespace Anthropic -> Messages in messages-protocol.ts (+94 dotted usages; default export alias AnthropicDefault -> MessagesDefault) - flatten the redundant Beta.Messages nesting (types are already Beta-prefixed; the inner namespace shadowed the outer Messages and created circular type aliases) - delete src/claude-api/ (orphaned upstream integration note, the only file still carrying Claude Code brand strings in src/) - CostThresholdDialog: 'Anthropic API' -> neutral cost-cap title - neutral wording in withRetry/compact comments Live Anthropic network calls were already zero after #420 (remaining refs are wire-format field names, kept per the layer-3 decision). ANTHROPIC_API_KEY env fallback stays as interop compat for users with existing keys. Co-Authored-By: Claude Code <[email protected]>
This was referenced Dec 1, 2026
Merged
Closed
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.
Completes the remaining layer-1 items from issue #419 on top of #420 (12 files; #420 already converted most call sites to top-level alias imports, so the namespace rename is a small diff):
Anthropic→Messagesinmessages-protocol.ts(+8 dotted-usage files;AnthropicDefault→MessagesDefault)Beta.Messagesnesting — the inner namespace shadowed the outerMessages, making the aliased types circularsrc/claude-api/— orphaned upstream integration note, the only file in src/ still carrying brand stringsCostThresholdDialog: user-visible "Anthropic API" title → neutral cost-cap titlewithRetry/compactcommentsScope notes:
anthropic_beta, kept per the layer-3 decision in De-branding roadmap: remove Anthropic/Claude references (layer 1+2, protocol rename only) #419)ANTHROPIC_API_KEYenv fallback stays — interop compat for users with existing keysTest plan
bun run typecheckcleanbun run lint: 33 warnings = main baseline, 0 errorsbun test: 1892 tests, 0 failbun run buildgreen🤖 Generated with Claude Code