llm-messages 0.4.2 → 0.4.4
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 +14 -0
- package/README.md +25 -5
- package/ROADMAP.md +45 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ 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.4] - 2026-06-04
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Published the public maintainer roadmap to npm so the package page also shows
|
|
12
|
+
OpenAI Responses API, conformance fixture and tool-call edge-case priorities.
|
|
13
|
+
|
|
14
|
+
## [0.4.3] - 2026-06-04
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Expanded the provider-portability suite section with links to the companion
|
|
19
|
+
packages, offline demo and public portability map.
|
|
20
|
+
|
|
7
21
|
## [0.4.2] - 2026-06-04
|
|
8
22
|
|
|
9
23
|
### Changed
|
package/README.md
CHANGED
|
@@ -171,11 +171,31 @@ 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
|
-
##
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
+
|
|
180
|
+
## Provider portability suite
|
|
181
|
+
|
|
182
|
+
`llm-messages` is the conversation boundary in a small provider-portability
|
|
183
|
+
suite for OpenAI-compatible agent infrastructure:
|
|
184
|
+
|
|
185
|
+
- [`tool-schema`](https://github.com/slegarraga/tool-schema) converts one JSON
|
|
186
|
+
Schema into provider-specific tool/function schemas.
|
|
187
|
+
- [`llm-sse`](https://github.com/slegarraga/llm-sse) parses streaming provider
|
|
188
|
+
responses into unified events.
|
|
189
|
+
- [`llm-errors`](https://github.com/slegarraga/llm-errors) normalizes provider
|
|
190
|
+
errors, retry hints and fallback decisions.
|
|
191
|
+
- [`json-from-llm`](https://github.com/slegarraga/json-from-llm) extracts JSON
|
|
192
|
+
before it enters a tool or message pipeline.
|
|
193
|
+
- [`llm-portability-demo`](https://github.com/slegarraga/llm-portability-demo)
|
|
194
|
+
shows the whole flow offline, with no API key required.
|
|
195
|
+
|
|
196
|
+
Read the
|
|
197
|
+
[provider portability map](https://github.com/slegarraga/llm-portability-demo/blob/main/docs/provider-portability.md)
|
|
198
|
+
for the package roles, OpenAI-compatible hub shape and demo flow.
|
|
179
199
|
|
|
180
200
|
## License
|
|
181
201
|
|
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.4",
|
|
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",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"files": [
|
|
48
48
|
"dist",
|
|
49
49
|
"README.md",
|
|
50
|
+
"ROADMAP.md",
|
|
50
51
|
"LICENSE",
|
|
51
52
|
"CHANGELOG.md"
|
|
52
53
|
],
|