tool-schema 0.1.0 → 0.1.2
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 +7 -0
- package/package.json +8 -5
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.1.2] - 2026-06-04
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Published README package-status badges, download visibility and release notes
|
|
12
|
+
to the npm package page.
|
|
13
|
+
|
|
14
|
+
## [0.1.1] - 2026-06-03
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Added OpenAI-compatible provider keywords for DeepSeek, Groq and OpenRouter
|
|
19
|
+
discovery in npm and package metadata.
|
|
20
|
+
|
|
7
21
|
## [0.1.0] - 2026-06-01
|
|
8
22
|
|
|
9
23
|
### Added
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# tool-schema
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/tool-schema)
|
|
4
|
+
[](https://www.npmjs.com/package/tool-schema)
|
|
4
5
|
[](https://github.com/slegarraga/tool-schema/actions/workflows/ci.yml)
|
|
5
6
|
[](./LICENSE)
|
|
6
7
|
[](./package.json)
|
|
@@ -144,6 +145,12 @@ This library is meant to sit deep in agent and tool pipelines. No transitive
|
|
|
144
145
|
dependencies means no supply chain surface, no version conflicts, and a tiny
|
|
145
146
|
install. It uses only the JSON Schema you pass in and the platform `structuredClone`.
|
|
146
147
|
|
|
148
|
+
## Part of a set
|
|
149
|
+
|
|
150
|
+
`tool-schema` pairs with [`llm-messages`](https://github.com/slegarraga/llm-messages),
|
|
151
|
+
which converts your chat **conversations** across the same providers. Together
|
|
152
|
+
they let you write an agent once and run it on any LLM.
|
|
153
|
+
|
|
147
154
|
## License
|
|
148
155
|
|
|
149
156
|
MIT (c) Sebastian Legarraga. See [LICENSE](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tool-schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Convert any JSON Schema into a valid tool / function calling schema for OpenAI, Anthropic, Gemini and MCP. Zero dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openai",
|
|
7
7
|
"anthropic",
|
|
8
8
|
"claude",
|
|
9
9
|
"gemini",
|
|
10
|
+
"deepseek",
|
|
11
|
+
"groq",
|
|
12
|
+
"openrouter",
|
|
10
13
|
"mcp",
|
|
11
14
|
"model-context-protocol",
|
|
12
15
|
"function-calling",
|
|
@@ -66,13 +69,13 @@
|
|
|
66
69
|
"prepare": "npm run build"
|
|
67
70
|
},
|
|
68
71
|
"devDependencies": {
|
|
69
|
-
"@eslint/js": "^
|
|
70
|
-
"@types/node": "^
|
|
71
|
-
"eslint": "^
|
|
72
|
+
"@eslint/js": "^10.0.1",
|
|
73
|
+
"@types/node": "^25.9.1",
|
|
74
|
+
"eslint": "^10.4.1",
|
|
72
75
|
"prettier": "^3.4.2",
|
|
73
76
|
"tsup": "^8.3.5",
|
|
74
77
|
"typescript": "^5.7.2",
|
|
75
|
-
"typescript-eslint": "^8.
|
|
78
|
+
"typescript-eslint": "^8.60.0",
|
|
76
79
|
"vitest": "^2.1.8"
|
|
77
80
|
}
|
|
78
81
|
}
|