aden-ts 0.1.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/LICENSE +21 -0
- package/README.md +1241 -0
- package/dist/index.d.mts +2478 -0
- package/dist/index.d.ts +2478 -0
- package/dist/index.js +6744 -0
- package/dist/index.mjs +6626 -0
- package/package.json +99 -0
package/package.json
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aden-ts",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "LLM Observability & Cost Control SDK - Real-time usage tracking, budget enforcement, and cost control for OpenAI, Anthropic, and Gemini",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
20
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
21
|
+
"lint": "eslint src/",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"examples": "tsx examples/run-all.ts",
|
|
24
|
+
"example": "tsx",
|
|
25
|
+
"prepublishOnly": "npm run build"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"openai",
|
|
29
|
+
"gemini",
|
|
30
|
+
"anthropic",
|
|
31
|
+
"claude",
|
|
32
|
+
"llm",
|
|
33
|
+
"metering",
|
|
34
|
+
"usage",
|
|
35
|
+
"billing",
|
|
36
|
+
"observability",
|
|
37
|
+
"tokens",
|
|
38
|
+
"cost",
|
|
39
|
+
"budget",
|
|
40
|
+
"control"
|
|
41
|
+
],
|
|
42
|
+
"author": "Aden <hello@aden.dev>",
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/adenhq/aden-ts.git"
|
|
47
|
+
},
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/adenhq/aden-ts/issues"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/adenhq/aden-ts#readme",
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@anthropic-ai/sdk": ">=0.20.0",
|
|
54
|
+
"@google/generative-ai": ">=0.1.0",
|
|
55
|
+
"@google/genai": ">=0.1.0",
|
|
56
|
+
"openai": ">=4.0.0"
|
|
57
|
+
},
|
|
58
|
+
"peerDependenciesMeta": {
|
|
59
|
+
"openai": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@google/generative-ai": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@google/genai": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@anthropic-ai/sdk": {
|
|
69
|
+
"optional": true
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@ai-sdk/anthropic": "^2.0.56",
|
|
74
|
+
"@ai-sdk/google": "^2.0.49",
|
|
75
|
+
"@ai-sdk/openai": "^2.0.88",
|
|
76
|
+
"@anthropic-ai/sdk": "^0.27.0",
|
|
77
|
+
"@google/generative-ai": "^0.21.0",
|
|
78
|
+
"@langchain/anthropic": "^0.3.33",
|
|
79
|
+
"@langchain/core": "^0.3.79",
|
|
80
|
+
"@langchain/google-genai": "^0.2.18",
|
|
81
|
+
"@langchain/openai": "^0.6.16",
|
|
82
|
+
"@llamaindex/anthropic": "^0.3.26",
|
|
83
|
+
"@llamaindex/openai": "^0.4.22",
|
|
84
|
+
"@mastra/core": "^0.24.9",
|
|
85
|
+
"@types/node": "^20.10.0",
|
|
86
|
+
"@types/ws": "^8.18.1",
|
|
87
|
+
"ai": "^5.0.115",
|
|
88
|
+
"dotenv": "^17.2.3",
|
|
89
|
+
"llamaindex": "^0.12.1",
|
|
90
|
+
"openai": "^4.70.0",
|
|
91
|
+
"tsup": "^8.0.0",
|
|
92
|
+
"tsx": "^4.21.0",
|
|
93
|
+
"typescript": "^5.3.0",
|
|
94
|
+
"zod": "^3.25.76"
|
|
95
|
+
},
|
|
96
|
+
"dependencies": {
|
|
97
|
+
"ws": "^8.18.3"
|
|
98
|
+
}
|
|
99
|
+
}
|