tool-schema 0.1.0 → 0.1.1
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/README.md +6 -0
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -144,6 +144,12 @@ This library is meant to sit deep in agent and tool pipelines. No transitive
|
|
|
144
144
|
dependencies means no supply chain surface, no version conflicts, and a tiny
|
|
145
145
|
install. It uses only the JSON Schema you pass in and the platform `structuredClone`.
|
|
146
146
|
|
|
147
|
+
## Part of a set
|
|
148
|
+
|
|
149
|
+
`tool-schema` pairs with [`llm-messages`](https://github.com/slegarraga/llm-messages),
|
|
150
|
+
which converts your chat **conversations** across the same providers. Together
|
|
151
|
+
they let you write an agent once and run it on any LLM.
|
|
152
|
+
|
|
147
153
|
## License
|
|
148
154
|
|
|
149
155
|
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.1",
|
|
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
|
}
|