@tokenrein/sdk 0.0.0-stage → 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/package.json CHANGED
@@ -1,6 +1,56 @@
1
1
  {
2
2
  "name": "@tokenrein/sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "Budgets, run tracing and spend reports for AI agents: wrap your OpenAI or Anthropic client in one line",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://tokenrein.com",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/tokenrein/tokenrein.git",
10
+ "directory": "sdk/typescript"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/tokenrein/tokenrein/issues"
14
+ },
15
+ "type": "module",
16
+ "main": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "default": "./dist/index.js"
22
+ }
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "LICENSE",
27
+ "README.md"
28
+ ],
29
+ "engines": {
30
+ "node": ">=20"
31
+ },
32
+ "scripts": {
33
+ "build": "tsc -p tsconfig.build.json",
34
+ "typecheck": "tsc -p tsconfig.json --noEmit",
35
+ "test": "vitest run"
36
+ },
37
+ "peerDependencies": {
38
+ "@anthropic-ai/sdk": ">=0.30.0",
39
+ "openai": ">=4.0.0"
40
+ },
41
+ "peerDependenciesMeta": {
42
+ "@anthropic-ai/sdk": {
43
+ "optional": true
44
+ },
45
+ "openai": {
46
+ "optional": true
47
+ }
48
+ },
49
+ "devDependencies": {
50
+ "@anthropic-ai/sdk": "^0.133.0",
51
+ "@types/node": "^22.20.5",
52
+ "openai": "^7.32.0",
53
+ "typescript": "^5.9.3",
54
+ "vitest": "^5.0.4"
55
+ }
56
+ }