@nemesis-oss/ollama-sdk 1.22.0 → 1.24.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 +68 -0
- package/dist/{anthropic-DjdkzlIn.d.ts → anthropic-Czz0OKH-.d.ts} +1 -1
- package/dist/{anthropic-D8qPCPIr.d.cts → anthropic-Dfa6TV9C.d.cts} +1 -1
- package/dist/{compose-BXXgHmrS.d.cts → compose-Bjpsu3Y1.d.cts} +1 -1
- package/dist/{compose-DaG83yId.d.ts → compose-DxAQ2z26.d.ts} +1 -1
- package/dist/generated-api.d.cts +5 -5
- package/dist/generated-api.d.ts +5 -5
- package/dist/generated-runtime.cjs.map +1 -1
- package/dist/generated-runtime.d.cts +2 -2
- package/dist/generated-runtime.d.ts +2 -2
- package/dist/generated-runtime.js.map +1 -1
- package/dist/index.cjs +456 -104
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -9
- package/dist/index.d.ts +25 -9
- package/dist/index.js +456 -104
- package/dist/index.js.map +1 -1
- package/dist/mcp-generated.d.cts +2 -2
- package/dist/mcp-generated.d.ts +2 -2
- package/dist/mcp-http.cjs.map +1 -1
- package/dist/mcp-http.js.map +1 -1
- package/dist/{runtime-CpO3H6yy.d.cts → runtime-CUzw4GAE.d.cts} +1 -1
- package/dist/{runtime-DPSrPwAa.d.ts → runtime-D_rMXIVT.d.ts} +1 -1
- package/dist/skills.d.cts +3 -3
- package/dist/skills.d.ts +3 -3
- package/dist/{types-CnsZ24tm.d.cts → types-CH3pdrak.d.cts} +124 -18
- package/dist/{types-CnsZ24tm.d.ts → types-CH3pdrak.d.ts} +124 -18
- package/package.json +7 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemesis-oss/ollama-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.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",
|
|
@@ -176,10 +176,11 @@
|
|
|
176
176
|
"build": "tsup",
|
|
177
177
|
"dev": "tsup --watch",
|
|
178
178
|
"clean": "rm -rf dist",
|
|
179
|
-
"
|
|
179
|
+
"hooks:install": "git rev-parse --is-inside-work-tree >/dev/null 2>&1 && git config core.hooksPath .githooks || true",
|
|
180
|
+
"prepare": "npm run hooks:install && npm run build",
|
|
180
181
|
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
|
|
181
182
|
"typecheck:examples": "tsc --noEmit -p tsconfig.examples-check.json",
|
|
182
|
-
"lint": "eslint .",
|
|
183
|
+
"lint": "eslint . --max-warnings 0",
|
|
183
184
|
"lint:fix": "eslint . --fix",
|
|
184
185
|
"format": "prettier --write .",
|
|
185
186
|
"format:check": "prettier --check .",
|
|
@@ -195,6 +196,7 @@
|
|
|
195
196
|
"contract:diff": "tsx scripts/diff-contract.ts",
|
|
196
197
|
"contract:generate": "tsx scripts/generate-contract.ts && prettier --write src/generated/",
|
|
197
198
|
"contract:drift": "tsx scripts/drift-contract.ts",
|
|
199
|
+
"contract:upstream-drift": "tsx scripts/upstream-drift.ts",
|
|
198
200
|
"bench": "vitest bench --run",
|
|
199
201
|
"bench:watch": "vitest bench",
|
|
200
202
|
"check:types": "npx --yes @arethetypeswrong/cli@latest --pack .",
|
|
@@ -232,7 +234,7 @@
|
|
|
232
234
|
"@opentelemetry/context-async-hooks": "^1.30.1",
|
|
233
235
|
"@opentelemetry/sdk-trace-base": "^1.30.1",
|
|
234
236
|
"@types/js-yaml": "^4.0.9",
|
|
235
|
-
"@types/node": "^22.20.
|
|
237
|
+
"@types/node": "^22.20.5",
|
|
236
238
|
"@vitest/coverage-v8": "^4.1.11",
|
|
237
239
|
"cross-env": "^10.1.0",
|
|
238
240
|
"dotenv": "^17.4.2",
|
|
@@ -246,6 +248,6 @@
|
|
|
246
248
|
"typescript": "^5.9.3",
|
|
247
249
|
"typescript-eslint": "^8.62.1",
|
|
248
250
|
"vitest": "^4.1.11",
|
|
249
|
-
"zod": "^4.
|
|
251
|
+
"zod": "^4.6.6"
|
|
250
252
|
}
|
|
251
253
|
}
|