llm-messages 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +20 -5
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,27 @@ All notable changes to this project are documented here. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres
5
5
  to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.4.3] - 2026-06-04
8
+
9
+ ### Changed
10
+
11
+ - Expanded the provider-portability suite section with links to the companion
12
+ packages, offline demo and public portability map.
13
+
14
+ ## [0.4.2] - 2026-06-04
15
+
16
+ ### Changed
17
+
18
+ - Published README package-status badges, download visibility and release notes
19
+ to the npm package page.
20
+
21
+ ## [0.4.1] - 2026-06-03
22
+
23
+ ### Changed
24
+
25
+ - Added OpenAI-compatible provider keywords for DeepSeek, Groq and OpenRouter
26
+ discovery in npm and package metadata.
27
+
7
28
  ## [0.4.0] - 2026-06-01
8
29
 
9
30
  ### Added
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # llm-messages
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/llm-messages.svg)](https://www.npmjs.com/package/llm-messages)
4
+ [![npm downloads](https://img.shields.io/npm/dm/llm-messages.svg)](https://www.npmjs.com/package/llm-messages)
4
5
  [![CI](https://github.com/slegarraga/llm-messages/actions/workflows/ci.yml/badge.svg)](https://github.com/slegarraga/llm-messages/actions/workflows/ci.yml)
5
6
  [![license](https://img.shields.io/npm/l/llm-messages.svg)](./LICENSE)
6
7
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](./package.json)
@@ -170,11 +171,25 @@ Version 0.x covers text, system prompts, tool calls/results, images, audio and
170
171
  documents, which is the core of every agent loop. Unsupported parts are reported
171
172
  via `dropped-content` rather than failing.
172
173
 
173
- ## Part of a set
174
-
175
- `llm-messages` pairs with [`tool-schema`](https://github.com/slegarraga/tool-schema),
176
- which converts your tool/function **schemas** across the same providers. Together
177
- they let you write an agent once and run it on any LLM.
174
+ ## Provider portability suite
175
+
176
+ `llm-messages` is the conversation boundary in a small provider-portability
177
+ suite for OpenAI-compatible agent infrastructure:
178
+
179
+ - [`tool-schema`](https://github.com/slegarraga/tool-schema) converts one JSON
180
+ Schema into provider-specific tool/function schemas.
181
+ - [`llm-sse`](https://github.com/slegarraga/llm-sse) parses streaming provider
182
+ responses into unified events.
183
+ - [`llm-errors`](https://github.com/slegarraga/llm-errors) normalizes provider
184
+ errors, retry hints and fallback decisions.
185
+ - [`json-from-llm`](https://github.com/slegarraga/json-from-llm) extracts JSON
186
+ before it enters a tool or message pipeline.
187
+ - [`llm-portability-demo`](https://github.com/slegarraga/llm-portability-demo)
188
+ shows the whole flow offline, with no API key required.
189
+
190
+ Read the
191
+ [provider portability map](https://github.com/slegarraga/llm-portability-demo/blob/main/docs/provider-portability.md)
192
+ for the package roles, OpenAI-compatible hub shape and demo flow.
178
193
 
179
194
  ## License
180
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-messages",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Convert chat conversations and responses between OpenAI, Anthropic and Gemini. Tool calls, images, audio, documents and roles handled. Zero dependencies.",
5
5
  "keywords": [
6
6
  "openai",