Skip to content

Rename library from any-llm to otari#5

Merged
tbille merged 2 commits into
mainfrom
rename-to-otari
Apr 28, 2026
Merged

Rename library from any-llm to otari#5
tbille merged 2 commits into
mainfrom
rename-to-otari

Conversation

@tbille
Copy link
Copy Markdown
Member

@tbille tbille commented Apr 28, 2026

Summary

  • Rebrand the entire library from any-llm to otari
  • Rename the main client class from GatewayClient to OtariClient
  • Rename error classes: AnyLLMErrorOtariError, AnyLLMErrorOptionsOtariErrorOptions
  • Rename type: GatewayClientOptionsOtariClientOptions
  • Rename HTTP header: AnyLLM-KeyOtari-Key
  • Update npm package name: @mozilla-ai/any-llm@mozilla-ai/otari
  • Update all URLs and references to use otari (GitHub, npm, docs, Docker, platform domain)
  • Update README with new branding, code examples, and links

Breaking Changes

Old New
@mozilla-ai/any-llm @mozilla-ai/otari
GatewayClient OtariClient
GatewayClientOptions OtariClientOptions
AnyLLMError OtariError
AnyLLMErrorOptions OtariErrorOptions
AnyLLM-Key (HTTP header) Otari-Key
any-llm.ai otari.ai

Verification

  • All 93 unit tests pass
  • TypeScript type checking passes (tsc --noEmit)
  • Biome lint/format checks pass
  • No remaining references to any-llm, AnyLLM, or GatewayClient in source or test files

Notes

  • The Otari-Key HTTP header rename is a wire-protocol change that requires the gateway server to also accept the new header name
  • External URLs (GitHub repos, docs sites, Docker images) have been updated assuming those resources will be renamed

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.
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.
@tbille tbille merged commit 750f0da into main Apr 28, 2026
5 checks passed
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