@nemesis-oss/ollama-sdk 1.16.0 → 1.18.0
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 +60 -0
- package/README.md +127 -1
- package/dist/{anthropic-AKbXnWJU.d.cts → anthropic-BvHOsidk.d.cts} +3 -3
- package/dist/{anthropic-CTv2acbj.d.ts → anthropic-CvGVSoVP.d.ts} +3 -3
- package/dist/generated-api.d.cts +2 -2
- package/dist/generated-api.d.ts +2 -2
- package/dist/generated-models-schemas.cjs +2 -2
- package/dist/generated-models-schemas.cjs.map +1 -1
- package/dist/generated-models-schemas.js +2 -2
- package/dist/generated-models-schemas.js.map +1 -1
- package/dist/generated-runtime.cjs +2 -2
- package/dist/generated-runtime.cjs.map +1 -1
- package/dist/generated-runtime.js +2 -2
- package/dist/generated-runtime.js.map +1 -1
- package/dist/index.cjs +180 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +255 -14
- package/dist/index.d.ts +255 -14
- package/dist/index.js +177 -34
- package/dist/index.js.map +1 -1
- package/dist/mcp/tools.json +6 -8
- package/package.json +1 -1
package/dist/mcp/tools.json
CHANGED
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
"model": {
|
|
817
817
|
"type": "string",
|
|
818
818
|
"pattern": "\\S",
|
|
819
|
-
"description": "Local model trained for System One, such as nimble.
|
|
819
|
+
"description": "Local model trained for System One, such as nimble."
|
|
820
820
|
},
|
|
821
821
|
"state": {
|
|
822
822
|
"description": "A nonempty string, or an object or array serialized as JSON text. Not interpreted as chat messages or multimodal input.",
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
},
|
|
838
838
|
"images": {
|
|
839
839
|
"type": "array",
|
|
840
|
-
"description": "Base64-encoded images shared by all questions, in request order. Requires
|
|
840
|
+
"description": "Base64-encoded images shared by all questions, in request order. Requires a model with vision, such as Clef. URLs and data URLs are not supported.",
|
|
841
841
|
"items": {
|
|
842
842
|
"type": "string",
|
|
843
843
|
"format": "byte"
|
|
@@ -924,12 +924,10 @@
|
|
|
924
924
|
"description": "Optional descriptions for the two outcomes. Omitted entries use model-specific defaults.",
|
|
925
925
|
"properties": {
|
|
926
926
|
"false": {
|
|
927
|
-
"type": "string"
|
|
928
|
-
"default": "No"
|
|
927
|
+
"type": "string"
|
|
929
928
|
},
|
|
930
929
|
"true": {
|
|
931
|
-
"type": "string"
|
|
932
|
-
"default": "Yes"
|
|
930
|
+
"type": "string"
|
|
933
931
|
}
|
|
934
932
|
},
|
|
935
933
|
"additionalProperties": false
|
|
@@ -964,9 +962,9 @@
|
|
|
964
962
|
},
|
|
965
963
|
"criteria": {
|
|
966
964
|
"type": "array",
|
|
967
|
-
"description": "Descriptions ordered from the lowest score (index 0) to the highest. Defines a scale from 0 to the number of criteria minus 1.
|
|
965
|
+
"description": "Descriptions ordered from the lowest score (index 0) to the highest. Defines a scale from 0 to the number of criteria minus 1.",
|
|
968
966
|
"minItems": 2,
|
|
969
|
-
"maxItems":
|
|
967
|
+
"maxItems": 10,
|
|
970
968
|
"items": {
|
|
971
969
|
"type": "string"
|
|
972
970
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemesis-oss/ollama-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "Production-grade TypeScript SDK for Ollama with native fetch, high availability failover, multi-turn tool calling, structured outputs, reasoning stream tokens, OpenAI/Anthropic bridges, MCP, Web Stream adapters, and a contract-first hybrid architecture that generates TypeScript types, API classes, MCP tools, and Zod schemas from a single canonical IR.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ollama",
|