@bivelio/savings-layer 0.4.32 → 0.4.33
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/LICENSE +22 -12
- package/README.md +150 -39
- package/dist/adapters/anthropic-sdk.js +72 -71
- package/dist/gateway/bin.js +902 -864
- package/dist/index.d.ts +375 -22
- package/dist/index.js +1570 -1465
- package/package.json +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bivelio/savings-layer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.33",
|
|
4
4
|
"description": "The savings layer for your LLM bill: a library inside your code that lets through only what has to be paid for and returns a SavingsReport per call, measured with your provider's own meter and kept apart from estimates. Commercial license, paid per seat, commission only on measured savings. Your prompts never leave your infrastructure.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"llm",
|
|
@@ -137,7 +137,8 @@
|
|
|
137
137
|
"cache-semantica:simulacion": "tsx benchmarks/cache-semantica/simulacion.ts",
|
|
138
138
|
"bench:bfcl": "tsx --env-file-if-exists=.env.bench benchmarks/publicados/bfcl/arnes.ts",
|
|
139
139
|
"bench:gsm8k": "tsx --env-file-if-exists=.env.bench benchmarks/publicados/gsm8k/arnes.ts",
|
|
140
|
-
"bench:xstest": "tsx --env-file-if-exists=.env.bench benchmarks/publicados/xstest/banco.ts"
|
|
140
|
+
"bench:xstest": "tsx --env-file-if-exists=.env.bench benchmarks/publicados/xstest/banco.ts",
|
|
141
|
+
"banco:semanal": "BVSALA_DEV_OPEN=1 tsx --env-file-if-exists=.env.bench benchmarks/banco-semanal/orquestador.ts"
|
|
141
142
|
},
|
|
142
143
|
"devDependencies": {
|
|
143
144
|
"@noble/curves": "^2.2.0",
|