@nemesis-oss/ollama-sdk 1.23.0 → 1.24.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemesis-oss/ollama-sdk",
3
- "version": "1.23.0",
3
+ "version": "1.24.1",
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
- "prepare": "npm run build",
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 .",
@@ -233,20 +234,20 @@
233
234
  "@opentelemetry/context-async-hooks": "^1.30.1",
234
235
  "@opentelemetry/sdk-trace-base": "^1.30.1",
235
236
  "@types/js-yaml": "^4.0.9",
236
- "@types/node": "^22.20.5",
237
- "@vitest/coverage-v8": "^4.1.11",
237
+ "@types/node": "^26.6.5",
238
+ "@vitest/coverage-v8": "^5.0.5",
238
239
  "cross-env": "^10.1.0",
239
- "dotenv": "^17.4.2",
240
+ "dotenv": "^18.0.9",
240
241
  "esbuild": "^0.28.2",
241
242
  "eslint": "^9.39.4",
242
- "eslint-config-prettier": "^9.1.2",
243
- "js-yaml": "^5.4.2",
243
+ "eslint-config-prettier": "^10.1.8",
244
+ "js-yaml": "^5.5.0",
244
245
  "prettier": "^3.9.4",
245
246
  "tsup": "^8.5.1",
246
247
  "tsx": "^4.23.0",
247
248
  "typescript": "^5.9.3",
248
249
  "typescript-eslint": "^8.62.1",
249
- "vitest": "^4.1.11",
250
- "zod": "^4.0.0"
250
+ "vitest": "^5.0.5",
251
+ "zod": "^4.6.6"
251
252
  }
252
253
  }