@sentropic/llm-mesh
v0.1.0
Published
Provider-agnostic LLM access runtime SDK for Sentropic.
Readme
@sentropic/llm-mesh
Provider-agnostic TypeScript contracts for Sentropic model access.
This package boundary is the BR-14c model-access runtime extraction. It defines public provider/model IDs, capability metadata, normalized generation and streaming shapes, tool-use types, structured-output flags, authentication source types, deterministic provider adapter scaffolds, and retryable error metadata. BR-14c also cuts the Sentropic application LLM runtime over to this package and prepares the package for npm publication.
Public Scope
- Providers: OpenAI, Google Gemini, Anthropic Claude, Mistral, Cohere.
- Auth sources: direct token, user token, workspace token, environment token, Codex account.
- Future account transport extension points: Gemini Code Assist and Claude Code.
- Normalized stream events:
reasoning_delta,content_delta,tool_call_start,tool_call_delta,tool_call_result,status,error,done. - Provider adapters: OpenAI, Gemini, Anthropic Claude, Mistral, and Cohere scaffolds accept injected clients for deterministic tests; they do not perform live SDK calls by default.
Application wiring, encrypted storage, quotas, retries, UI behavior, and concrete live provider credential storage remain outside this package contract. The application runtime may provide those integrations through the package's resolver and adapter hooks.
