llm-messages 0.4.3 → 0.4.5
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.
- package/CHANGELOG.md +15 -0
- package/README.md +6 -0
- package/ROADMAP.md +45 -0
- package/package.json +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ 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.5] - 2026-06-04
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Aligned npm keywords with the GitHub repository topics for OpenAI-compatible
|
|
12
|
+
provider portability, chat completions, multimodal messages and zero
|
|
13
|
+
dependencies.
|
|
14
|
+
|
|
15
|
+
## [0.4.4] - 2026-06-04
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Published the public maintainer roadmap to npm so the package page also shows
|
|
20
|
+
OpenAI Responses API, conformance fixture and tool-call edge-case priorities.
|
|
21
|
+
|
|
7
22
|
## [0.4.3] - 2026-06-04
|
|
8
23
|
|
|
9
24
|
### Changed
|
package/README.md
CHANGED
|
@@ -171,6 +171,12 @@ Version 0.x covers text, system prompts, tool calls/results, images, audio and
|
|
|
171
171
|
documents, which is the core of every agent loop. Unsupported parts are reported
|
|
172
172
|
via `dropped-content` rather than failing.
|
|
173
173
|
|
|
174
|
+
## Roadmap
|
|
175
|
+
|
|
176
|
+
See [ROADMAP.md](./ROADMAP.md) for current maintenance priorities, including
|
|
177
|
+
OpenAI Responses API coverage, live conformance fixtures and tool-call edge
|
|
178
|
+
cases.
|
|
179
|
+
|
|
174
180
|
## Provider portability suite
|
|
175
181
|
|
|
176
182
|
`llm-messages` is the conversation boundary in a small provider-portability
|
package/ROADMAP.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Roadmap
|
|
2
|
+
|
|
3
|
+
`llm-messages` is maintained as the conversation-boundary package in the
|
|
4
|
+
provider-portability suite. The near-term roadmap focuses on OpenAI-compatible
|
|
5
|
+
agent workflows where message shape correctness, tool-call preservation and
|
|
6
|
+
fallback behavior matter.
|
|
7
|
+
|
|
8
|
+
## Current priorities
|
|
9
|
+
|
|
10
|
+
1. **OpenAI Responses API coverage**
|
|
11
|
+
|
|
12
|
+
Track and test how Responses API text, multimodal and tool-call payloads map
|
|
13
|
+
to the current OpenAI Chat Completions-compatible hub shape.
|
|
14
|
+
|
|
15
|
+
Public issue: https://github.com/slegarraga/llm-messages/issues/6
|
|
16
|
+
|
|
17
|
+
2. **Live conformance fixtures**
|
|
18
|
+
|
|
19
|
+
Add provider-backed fixture generation for OpenAI, Anthropic and Gemini
|
|
20
|
+
payloads, keeping the committed test fixtures deterministic and safe to run
|
|
21
|
+
without API keys.
|
|
22
|
+
|
|
23
|
+
3. **Tool-call edge cases**
|
|
24
|
+
|
|
25
|
+
Expand tests for parallel tool calls, missing provider ids, invalid JSON
|
|
26
|
+
arguments, tool-result ordering and lossy conversion warnings.
|
|
27
|
+
|
|
28
|
+
4. **Docs for agent fallback loops**
|
|
29
|
+
|
|
30
|
+
Document the recommended flow for converting one conversation across
|
|
31
|
+
providers after rate limits or retryable provider failures.
|
|
32
|
+
|
|
33
|
+
## API credit use
|
|
34
|
+
|
|
35
|
+
If API credits are available, they will be used for conformance checks against
|
|
36
|
+
OpenAI APIs, especially Responses API and tool-call fixtures. Generated fixtures
|
|
37
|
+
should be minimized, reviewed, and committed only when they improve public test
|
|
38
|
+
coverage or documentation.
|
|
39
|
+
|
|
40
|
+
## Non-goals
|
|
41
|
+
|
|
42
|
+
- No runtime dependencies.
|
|
43
|
+
- No hidden network calls in the library.
|
|
44
|
+
- No provider-specific SDK dependency.
|
|
45
|
+
- No silent data loss; lossy mappings should be represented as warnings.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llm-messages",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
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",
|
|
@@ -10,17 +10,25 @@
|
|
|
10
10
|
"deepseek",
|
|
11
11
|
"groq",
|
|
12
12
|
"openrouter",
|
|
13
|
+
"openai-compatible",
|
|
13
14
|
"llm",
|
|
14
15
|
"messages",
|
|
15
16
|
"chat",
|
|
17
|
+
"chat-completions",
|
|
16
18
|
"convert",
|
|
17
19
|
"function-calling",
|
|
18
20
|
"tool-use",
|
|
19
21
|
"tool-calls",
|
|
20
22
|
"provider",
|
|
21
23
|
"portability",
|
|
24
|
+
"provider-portability",
|
|
25
|
+
"structured-outputs",
|
|
26
|
+
"multimodal",
|
|
22
27
|
"ai",
|
|
23
|
-
"agents"
|
|
28
|
+
"agents",
|
|
29
|
+
"ai-agents",
|
|
30
|
+
"typescript",
|
|
31
|
+
"zero-dependencies"
|
|
24
32
|
],
|
|
25
33
|
"license": "MIT",
|
|
26
34
|
"author": "Sebastian Legarraga",
|
|
@@ -47,6 +55,7 @@
|
|
|
47
55
|
"files": [
|
|
48
56
|
"dist",
|
|
49
57
|
"README.md",
|
|
58
|
+
"ROADMAP.md",
|
|
50
59
|
"LICENSE",
|
|
51
60
|
"CHANGELOG.md"
|
|
52
61
|
],
|