@cendor/core 0.3.1 → 0.3.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/NOTICE +7 -0
- package/README.md +3 -4
- package/package.json +8 -2
package/NOTICE
ADDED
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# @cendor/core
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
event bus, decimal-safe `Money`, an offline price table, provider-aware token counting, and
|
|
6
|
-
`instrument()`. Zero orchestration; every other `@cendor/*` package cooperates through this.
|
|
3
|
+
[](https://www.npmjs.com/package/@cendor/core) [](https://opensource.org/licenses/Apache-2.0)
|
|
4
|
+
|
|
5
|
+
Wrap your LLM client once and capture exact token counts and cost on every call — the shared foundation the other Cendor tools build on. The TypeScript port of [`cendor.core`](https://github.com/cendorhq/cendor-libs/tree/main/packages/cendor-core): shared types, an event bus, decimal-safe `Money`, an offline price table, provider-aware token counting, and `instrument()`. Every other `@cendor/*` package cooperates through this.
|
|
7
6
|
|
|
8
7
|
```bash
|
|
9
8
|
npm i @cendor/core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cendor/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Wrap your LLM client once and capture exact token counts and cost on every call — the shared foundation the other Cendor tools build on.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
|
-
"README.md"
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"NOTICE"
|
|
18
20
|
],
|
|
19
21
|
"sideEffects": false,
|
|
20
22
|
"engines": {
|
|
@@ -46,6 +48,10 @@
|
|
|
46
48
|
"url": "git+https://github.com/cendorhq/cendor-libs-js.git",
|
|
47
49
|
"directory": "packages/core"
|
|
48
50
|
},
|
|
51
|
+
"homepage": "https://cendor.ai/docs/core",
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/cendorhq/cendor-libs-js/issues"
|
|
54
|
+
},
|
|
49
55
|
"publishConfig": {
|
|
50
56
|
"access": "public"
|
|
51
57
|
}
|