@cendor/tokenguard 0.2.2 → 0.2.3
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/README.md +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# @cendor/tokenguard
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
`cendor.tokenguard`.
|
|
3
|
+
Spending limits for LLM calls: stop a call before it runs if it would blow the budget, and see cost broken down per feature. The TypeScript port of `cendor.tokenguard`.
|
|
5
4
|
|
|
6
5
|
tokenguard **subscribes** to `@cendor/core`'s event bus and registers a pre-flight interceptor — it
|
|
7
6
|
never patches a client itself (the locked architecture: one `instrument()`, many subscribers). Once a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cendor/tokenguard",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Spending limits for LLM calls: stop a call before it runs if it would blow the budget, and see cost broken down per feature.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"node": ">=18"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cendor/core": "^0.3.
|
|
30
|
+
"@cendor/core": "^0.3.2"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
33
|
"better-sqlite3": "^12.11.1"
|