@liuchen64/dsh-session-cost 0.0.0-stage → 0.2.3
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/cordis.patch.yml +8 -0
- package/dist/client.js +613 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/config/pricing.d.ts +50 -0
- package/dist/internal/config/pricing.d.ts.map +1 -0
- package/dist/internal/config/pricing.js +57 -0
- package/dist/internal/config/pricing.js.map +1 -0
- package/dist/internal/session/calculator.d.ts +42 -0
- package/dist/internal/session/calculator.d.ts.map +1 -0
- package/dist/internal/session/calculator.js +76 -0
- package/dist/internal/session/calculator.js.map +1 -0
- package/dist/internal/session/cost-projection.d.ts +79 -0
- package/dist/internal/session/cost-projection.d.ts.map +1 -0
- package/dist/internal/session/cost-projection.js +142 -0
- package/dist/internal/session/cost-projection.js.map +1 -0
- package/dist/internal/session/estimate.d.ts +41 -0
- package/dist/internal/session/estimate.d.ts.map +1 -0
- package/dist/internal/session/estimate.js +37 -0
- package/dist/internal/session/estimate.js.map +1 -0
- package/package.json +52 -3
- package/README.md +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liuchen64/dsh-session-cost",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "DSH 插件:在输入框下方显示本轮与本会话的预估金额(按 DeepSeek 峰谷价)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh",
|
|
8
|
+
"dsh-plugin",
|
|
9
|
+
"session",
|
|
10
|
+
"cost"
|
|
11
|
+
],
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./client": "./dist/client.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"cordis.patch.yml"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://gitee.com/folding-fan/dsh-extension-lc.git",
|
|
32
|
+
"directory": "plugins/session-cost"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@liuchen64/dsh-plugin-ui": "0.0.0",
|
|
37
|
+
"@liuchen64/dsh-plugin-utils": "0.1.0"
|
|
38
|
+
},
|
|
39
|
+
"dsh": {
|
|
40
|
+
"bundle": {
|
|
41
|
+
"patch": "./cordis.patch.yml"
|
|
42
|
+
},
|
|
43
|
+
"client": {
|
|
44
|
+
"platform": "web",
|
|
45
|
+
"immediately": true,
|
|
46
|
+
"inject": [
|
|
47
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsc -b && node ../../scripts/build-client.mjs",
|
|
53
|
+
"test": "pnpm build && node --test --test-isolation=none \"test/**/*.test.ts\""
|
|
54
|
+
}
|
|
6
55
|
}
|
package/README.md
DELETED