-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 3.47 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@monetisebg/circuit-breaker",
"version": "0.2.0",
"description": "Circuit breaker for AI agents — pick budget-guard, loop-killer or worth-it mode and stop runaway token spend, stuck agents or budget overruns in one wrapper. Adapters for LangChain, OpenAI Agents SDK, Claude Agent SDK, Vercel AI SDK and LangGraph Platform SDK.",
"keywords": [
"langchain",
"langchainjs",
"langgraph",
"langgraph-sdk",
"openai",
"openai-agents",
"claude",
"anthropic",
"claude-agent-sdk",
"vercel",
"vercel-ai-sdk",
"ai-sdk",
"agent",
"circuit-breaker",
"ai",
"llm",
"guardrail",
"token-limit",
"budget-guard",
"loop-killer"
],
"license": "Apache-2.0",
"author": "MonetiseBG",
"repository": {
"type": "git",
"url": "git+https://github.com/MonetiseBG/circuit-breaker.git"
},
"bugs": {
"url": "https://github.com/MonetiseBG/circuit-breaker/issues"
},
"homepage": "https://github.com/MonetiseBG/circuit-breaker#readme",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./langchain": {
"types": "./dist/langchain.d.ts",
"import": "./dist/langchain.js",
"require": "./dist/langchain.cjs"
},
"./openai-agents": {
"types": "./dist/openai-agents.d.ts",
"import": "./dist/openai-agents.js",
"require": "./dist/openai-agents.cjs"
},
"./claude-agent-sdk": {
"types": "./dist/claude-agent-sdk.d.ts",
"import": "./dist/claude-agent-sdk.js",
"require": "./dist/claude-agent-sdk.cjs"
},
"./langgraph-sdk": {
"types": "./dist/langgraph-sdk.d.ts",
"import": "./dist/langgraph-sdk.js",
"require": "./dist/langgraph-sdk.cjs"
},
"./vercel-ai-sdk": {
"types": "./dist/vercel-ai-sdk.d.ts",
"import": "./dist/vercel-ai-sdk.js",
"require": "./dist/vercel-ai-sdk.cjs"
},
"./worth-it": {
"types": "./dist/worth-it.d.ts",
"import": "./dist/worth-it.js",
"require": "./dist/worth-it.cjs"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.cjs",
"dist/**/*.d.ts",
"dist/**/*.d.cts",
"README.md",
"LICENSE",
"AGENTS.md"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "npm run build",
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
},
"peerDependencies": {
"@anthropic-ai/claude-agent-sdk": ">=0.2.0 <1.0.0",
"@langchain/core": "^1.1.47",
"@langchain/langgraph-sdk": ">=0.1.0 <2.0.0",
"@openai/agents": ">=0.11.0 <1.0.0",
"ai": ">=5.0.0 <7.0.0"
},
"peerDependenciesMeta": {
"@anthropic-ai/claude-agent-sdk": {
"optional": true
},
"@langchain/core": {
"optional": true
},
"@langchain/langgraph-sdk": {
"optional": true
},
"@openai/agents": {
"optional": true
},
"ai": {
"optional": true
}
},
"devDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.141",
"@langchain/core": "^1.1.47",
"@langchain/langgraph-sdk": "^1.9.4",
"@openai/agents": "^0.11.0",
"ai": "^6.0.191",
"@types/node": "^22.0.0",
"tsup": "^8.3.0",
"typescript": "^5.6.0",
"vitest": "^2.1.0"
},
"engines": {
"node": ">=22"
}
}