Rename library from any-llm to otari#5
Merged
Merged
Conversation
Rebrand the entire codebase from any-llm to otari: - Rename package: @mozilla-ai/any-llm -> @mozilla-ai/otari - Rename client class: GatewayClient -> OtariClient - Rename error classes: AnyLLMError -> OtariError, AnyLLMErrorOptions -> OtariErrorOptions - Rename type: GatewayClientOptions -> OtariClientOptions - Rename HTTP header: AnyLLM-Key -> Otari-Key - Update all URLs: any-llm.ai -> otari.ai, GitHub/npm/docs references - Update README with new branding, package name, and code examples - Regenerate package-lock.json BREAKING CHANGE: Package name, all public API exports, and the wire-protocol HTTP header have been renamed. Consumers must update imports and the gateway server must accept the new Otari-Key header.
dpoulopoulos
approved these changes
Apr 28, 2026
Restore the lock file structure from main and only update the package name fields, avoiding lock file regeneration differences between local npm v11 (Node 24) and CI npm on Node 20.
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.
Summary
any-llmtootariGatewayClienttoOtariClientAnyLLMError→OtariError,AnyLLMErrorOptions→OtariErrorOptionsGatewayClientOptions→OtariClientOptionsAnyLLM-Key→Otari-Key@mozilla-ai/any-llm→@mozilla-ai/otariotari(GitHub, npm, docs, Docker, platform domain)Breaking Changes
@mozilla-ai/any-llm@mozilla-ai/otariGatewayClientOtariClientGatewayClientOptionsOtariClientOptionsAnyLLMErrorOtariErrorAnyLLMErrorOptionsOtariErrorOptionsAnyLLM-Key(HTTP header)Otari-Keyany-llm.aiotari.aiVerification
tsc --noEmit)any-llm,AnyLLM, orGatewayClientin source or test filesNotes
Otari-KeyHTTP header rename is a wire-protocol change that requires the gateway server to also accept the new header name