koishi-plugin-chatluna-usage 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/dist/echarts-CZNhpw9M.js +68 -0
- package/dist/index-Bvy3XN9m.js +8 -0
- package/dist/index.js +1 -0
- package/dist/model-pie-Ba0jUDul.js +1 -0
- package/dist/model-success-Bj37bQPf.js +1 -0
- package/dist/style.css +1 -0
- package/lib/index.cjs +424 -0
- package/lib/index.d.ts +311 -0
- package/lib/index.mjs +396 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "koishi-plugin-chatluna-usage",
|
|
3
|
+
"description": "Usage records for ChatLuna model calls",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"main": "lib/index.cjs",
|
|
6
|
+
"module": "lib/index.mjs",
|
|
7
|
+
"typings": "lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib",
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./lib/index.d.ts",
|
|
15
|
+
"import": "./lib/index.mjs",
|
|
16
|
+
"require": "./lib/index.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"type": "module",
|
|
21
|
+
"author": "dingyi222666 <dingyi222666@foxmail.com>",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/ChatLunaLab/chatluna.git",
|
|
25
|
+
"directory": "packages/extension-usage"
|
|
26
|
+
},
|
|
27
|
+
"license": "AGPL-3.0",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/ChatLunaLab/chatluna/issues"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=18.0.0"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/extension-usage#readme",
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "atsc -b"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"chatbot",
|
|
40
|
+
"koishi",
|
|
41
|
+
"plugin",
|
|
42
|
+
"service",
|
|
43
|
+
"console",
|
|
44
|
+
"chart",
|
|
45
|
+
"statistics",
|
|
46
|
+
"chatluna",
|
|
47
|
+
"usage"
|
|
48
|
+
],
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@koishijs/plugin-console": "^5.30.11",
|
|
51
|
+
"echarts": "^5.5.0",
|
|
52
|
+
"vue-echarts": "^6.6.9"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@koishijs/client": "^5.30.11",
|
|
56
|
+
"atsc": "^2.1.0",
|
|
57
|
+
"koishi": "^4.18.9"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@koishijs/plugin-console": "^5.30.11",
|
|
61
|
+
"koishi": "^4.18.9",
|
|
62
|
+
"koishi-plugin-chatluna": "^1.4.0-alpha.18"
|
|
63
|
+
},
|
|
64
|
+
"koishi": {
|
|
65
|
+
"description": {
|
|
66
|
+
"zh": "ChatLuna 模型调用用量记录",
|
|
67
|
+
"en": "Usage records for ChatLuna model calls"
|
|
68
|
+
},
|
|
69
|
+
"service": {
|
|
70
|
+
"required": [
|
|
71
|
+
"chatluna",
|
|
72
|
+
"database"
|
|
73
|
+
],
|
|
74
|
+
"optional": [
|
|
75
|
+
"console"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|