@ljoukov/llm 2.0.0 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ljoukov/llm",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "Unified wrapper over OpenAI Responses API and Google Gemini (@google/genai), with streaming + usage/cost metrics.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,10 +39,14 @@
39
39
  "sideEffects": false,
40
40
  "scripts": {
41
41
  "build": "tsup",
42
- "format": "biome format --write src test biome.json tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
43
- "format:check": "biome format src test biome.json tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
44
- "lint": "biome lint src test tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
45
- "lint:fix": "biome lint --write src test tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
42
+ "format": "biome format --write src test benchmarks biome.json tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
43
+ "format:check": "biome format src test benchmarks biome.json tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
44
+ "lint": "biome lint src test benchmarks tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
45
+ "lint:fix": "biome lint --write src test benchmarks tsup.config.ts vitest.unit.config.ts vitest.integration.config.ts",
46
+ "bench:agent": "tsx benchmarks/agent/run.ts",
47
+ "bench:agent:estimate": "tsx benchmarks/agent/run.ts --estimate-only",
48
+ "bench:agent:latest": "tsx benchmarks/agent/run.ts --tasks all --prune-traces",
49
+ "bench:agent:latest:estimate": "tsx benchmarks/agent/run.ts --tasks all --estimate-only",
46
50
  "test": "npm run test:unit",
47
51
  "test:unit": "vitest run --config vitest.unit.config.ts",
48
52
  "test:integration": "vitest run --config vitest.integration.config.ts",
@@ -61,6 +65,7 @@
61
65
  "devDependencies": {
62
66
  "@biomejs/biome": "^2.3.14",
63
67
  "@types/node": "^24.0.0",
68
+ "tsx": "^4.20.6",
64
69
  "tsup": "^8.0.0",
65
70
  "typescript": "^5.8.0",
66
71
  "vitest": "^3.0.0"