mcp-usage-control-redis 1.0.0
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 +201 -0
- package/README.md +51 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1149 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp-flow.d.ts +59 -0
- package/dist/mcp-flow.d.ts.map +1 -0
- package/dist/mcp-flow.js +331 -0
- package/dist/mcp-flow.js.map +1 -0
- package/dist/scripts.d.ts +12 -0
- package/dist/scripts.d.ts.map +1 -0
- package/dist/scripts.js +719 -0
- package/dist/scripts.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scripts.js","sourceRoot":"","sources":["../src/scripts.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyExB,CAAC;AAEF,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFzB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;EAWtC,MAAM;;;;EAIN,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BR,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;EAU7C,MAAM;;;;EAIN,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCR,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;EAK1C,MAAM;;;;;;;;;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 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mcp-usage-control-redis",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Atomic Redis usage store for mcp-usage-control.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./mcp-flow": {
|
|
17
|
+
"types": "./dist/mcp-flow.d.ts",
|
|
18
|
+
"import": "./dist/mcp-flow.js",
|
|
19
|
+
"default": "./dist/mcp-flow.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist/index.js",
|
|
24
|
+
"dist/index.js.map",
|
|
25
|
+
"dist/index.d.ts",
|
|
26
|
+
"dist/index.d.ts.map",
|
|
27
|
+
"dist/scripts.js",
|
|
28
|
+
"dist/scripts.js.map",
|
|
29
|
+
"dist/scripts.d.ts",
|
|
30
|
+
"dist/scripts.d.ts.map",
|
|
31
|
+
"dist/mcp-flow.js",
|
|
32
|
+
"dist/mcp-flow.js.map",
|
|
33
|
+
"dist/mcp-flow.d.ts",
|
|
34
|
+
"dist/mcp-flow.d.ts.map",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=22"
|
|
40
|
+
},
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://github.com/git-ksk/mcp-usage-control.git",
|
|
44
|
+
"directory": "packages/redis"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/git-ksk/mcp-usage-control#readme",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/git-ksk/mcp-usage-control/issues"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"mcp",
|
|
52
|
+
"redis",
|
|
53
|
+
"usage",
|
|
54
|
+
"quota",
|
|
55
|
+
"credits",
|
|
56
|
+
"atomic"
|
|
57
|
+
],
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "tsc -p tsconfig.json",
|
|
63
|
+
"test": "vitest run --no-file-parallelism"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"mcp-usage-control": "^1.0.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"redis": "^6.2.0"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"redis": "^6.2.0"
|
|
73
|
+
}
|
|
74
|
+
}
|