dsh-session-fee 0.4.4 → 0.4.5
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/PRICES.md +3 -2
- package/README.md +2 -2
- package/client.js +1 -1
- package/package.json +1 -1
- package/prices.json +9 -2
package/PRICES.md
CHANGED
|
@@ -17,17 +17,18 @@
|
|
|
17
17
|
| DeepSeek-V4.1-Flash 闲时 | Qoder `dfmodel`、任意 `deepseek-flash` / `deepseek-v4.1-flash` | 1 | 0.02 | 0 | 4 |
|
|
18
18
|
| DeepSeek-V4-Pro 闲时 | Qoder `dmodel`、任意 `deepseek-v4-pro` | 4.5 | 0.15 | 0 | 13.5 |
|
|
19
19
|
| Kimi-K3.1-Pro | Qoder `kmodel_latest`、任意 `kimi-k3.1-pro` | 13 | 1.3 | 13 | 68 |
|
|
20
|
-
| Kimi-K3 | 任意 `kimi-k3` | 20 | 2 | 20 | 100 |
|
|
20
|
+
| Kimi-K3 | 任意 `kimi-k3`、`kimi-k3-1` | 20 | 2 | 20 | 100 |
|
|
21
21
|
| Kimi-K2.8-Preview | Qoder `kmodel`、任意 `kimi-k2.8-preview` | 6.5 | 1.3 | 0 | 27 |
|
|
22
22
|
| GLM-5.3 | Qoder `gmodel`、任意 `glm-5.3` | 8 | 2 | 0 | 28 |
|
|
23
23
|
| GLM-5.3-Flash | Qoder `gfmodel`、任意 `glm-5.3-flash` | 0.8 | 0.23 | 0 | 2.8 |
|
|
24
24
|
| Qwen3.8-Max | Qoder `qmodel_38max`、任意 `qwen3.8-max` | 12 | 1.5 | 0 | 36 |
|
|
25
25
|
| Qwen3.8-Flash | Qoder `qfmodel`、任意 `qwen3.8-flash` | 1 | 0.1 | 0 | 3 |
|
|
26
|
+
| Qwen3.8-27B | 任意 `qwen3.8-27b` | 3 | 0.6 | 0 | 12 |
|
|
26
27
|
| MiniMax-M3.1-Flash | Qoder `mmodel`、任意 `minimax-m3.1-flash` | 1 | 0.1 | 0 | 4 |
|
|
27
28
|
| Step-5-Preview | Qoder `jmodel`、任意 `step-5-preview` | 7 | 0.35 | 7 | 20 |
|
|
28
29
|
| MiMo-V2.6-Pro | 任意 `mimo-v2.6-pro` | 3 | 0.025 | 0 | 6 |
|
|
29
30
|
| MiMo-V2.6-Flash | 任意 `mimo-v2.6-flash` | 1 | 0.02 | 0 | 2 |
|
|
30
|
-
| Hy4(腾讯混元 4) | 任意 `hy4-preview`、`hy4` | 6 | 0.3 | 0 | 18 |
|
|
31
|
+
| Hy4(腾讯混元 4) | 任意 `hy4-preview`、`hy4`、`hy4std` | 6 | 0.3 | 0 | 18 |
|
|
31
32
|
|
|
32
33
|
Qoder(经 [dsh-provider-qoder](https://www.npmjs.com/package/dsh-provider-qoder) 接入,中国区)内部代号与模型名的对应取自 Qoder 的模型目录接口。Qoder 的 Auto、Fast 是路由,没有市面价,不写。
|
|
33
34
|
|
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
桌面版「插件」→「添加插件」,粘贴:
|
|
18
18
|
|
|
19
19
|
```text
|
|
20
|
-
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-session-fee@0.4.
|
|
20
|
+
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-session-fee@0.4.5&path:/dsh-session-fee
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
或用命令行(Web 版将 `desktop` 换成 `web`):
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
dsh plugin --profile desktop add "git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-session-fee@0.4.
|
|
26
|
+
dsh plugin --profile desktop add "git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-session-fee@0.4.5&path:/dsh-session-fee"
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
若终端找不到 `dsh`,macOS 官方桌面版可用 `"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh"` 替代命令名。也可参照[仓库首页](../README.md)克隆后安装本子目录。
|
package/client.js
CHANGED
|
@@ -43,7 +43,7 @@ window.__ModuleLoader__.load({
|
|
|
43
43
|
"cost.none": "no model calls"
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
const css = ".dshsc_anchor{min-width:0;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));display:inline-flex}.dshsc_pill{box-sizing:border-box;border-radius:var(--dsw-radius-sm);max-width:min(460px,42vw);color:var(--dsw-alias-label-tertiary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;white-space:nowrap;background:0 0;border:none;cursor:pointer;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.dshsc_pill:hover,.dshsc_pill[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.dshsc_pill svg{flex:none;width:14px;height:14px}.dshsc_label{text-overflow:ellipsis;min-width:0;overflow:hidden}[data-composer-dock]>span{order:1}[data-composer-dock] [data-composer-stat=cost]{order:2}.dshsc_panel{z-index:1100;box-sizing:border-box;border-radius:var(--dsw-radius-lg);background:var(--dsw-specific-menu);width:max-content;min-width:min(300px,100vw - 24px);max-width:min(440px,100vw - 24px);max-height:min(70vh,560px);overflow:auto;backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;padding:16px;font-size:12px;line-height:18px;position:fixed}.dshsc_title{color:var(--dsw-alias-label-primary);justify-content:space-between;gap:16px;margin-bottom:8px;font-weight:500;display:flex}.dshsc_titleLabel{align-items:center;gap:6px;min-width:0;display:inline-flex}.dshsc_titleLabel svg{flex:none;width:14px;height:14px}.dshsc_titleValue{font-variant-numeric:tabular-nums;text-align:right}.dshsc_rule{border-top:.5px solid var(--dsw-alias-border-l2);margin:10px 0}.dshsc_rule:first-child{margin-top:0}.dshsc_details{color:var(--dsw-alias-label-tertiary);grid-template-columns:minmax(76px,
|
|
46
|
+
const css = ".dshsc_anchor{min-width:0;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));display:inline-flex}.dshsc_pill{box-sizing:border-box;border-radius:var(--dsw-radius-sm);max-width:min(460px,42vw);color:var(--dsw-alias-label-tertiary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;white-space:nowrap;background:0 0;border:none;cursor:pointer;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.dshsc_pill:hover,.dshsc_pill[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.dshsc_pill svg{flex:none;width:14px;height:14px}.dshsc_label{text-overflow:ellipsis;min-width:0;overflow:hidden}[data-composer-dock]>span{order:1}[data-composer-dock] [data-composer-stat=cost]{order:2}.dshsc_panel{z-index:1100;box-sizing:border-box;border-radius:var(--dsw-radius-lg);background:var(--dsw-specific-menu);width:max-content;min-width:min(300px,100vw - 24px);max-width:min(440px,100vw - 24px);max-height:min(70vh,560px);overflow:auto;backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;padding:16px;font-size:12px;line-height:18px;position:fixed}.dshsc_title{color:var(--dsw-alias-label-primary);justify-content:space-between;gap:16px;margin-bottom:8px;font-weight:500;display:flex}.dshsc_titleLabel{align-items:center;gap:6px;min-width:0;display:inline-flex}.dshsc_titleLabel svg{flex:none;width:14px;height:14px}.dshsc_titleValue{font-variant-numeric:tabular-nums;text-align:right}.dshsc_rule{border-top:.5px solid var(--dsw-alias-border-l2);margin:10px 0}.dshsc_rule:first-child{margin-top:0}.dshsc_details{color:var(--dsw-alias-label-tertiary);grid-template-columns:minmax(76px,1fr) max-content;gap:6px 16px;margin:0;display:grid}.dshsc_details dt,.dshsc_details dd{min-width:0;margin:0}.dshsc_details dt{overflow-wrap:anywhere}.dshsc_details dd{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.dshsc_meta{grid-column:1/-1;overflow-wrap:anywhere;margin-top:-4px;color:var(--dsw-alias-label-tertiary);opacity:.85}.dshsc_details .dshsc_route{margin-top:-4px;color:var(--dsw-alias-label-tertiary);opacity:.85}.dshsc_details .dshsc_spaced{margin-top:6px}.dshsc_strong{color:var(--dsw-alias-label-secondary)}";
|
|
47
47
|
|
|
48
48
|
function decimal(amount) {
|
|
49
49
|
const maximumFractionDigits = amount > 0 && amount < 0.01 ? 6 : 4;
|
package/package.json
CHANGED
package/prices.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "Kimi-K3",
|
|
50
|
-
"match": ["*/kimi-k3"],
|
|
50
|
+
"match": ["*/kimi-k3", "*/kimi-k3-1"],
|
|
51
51
|
"rules": [
|
|
52
52
|
{"name": "Kimi-K3", "currency": "CNY", "input": 20, "cacheRead": 2, "cacheWrite": 20, "output": 100}
|
|
53
53
|
]
|
|
@@ -87,6 +87,13 @@
|
|
|
87
87
|
{"name": "Qwen3.8-Flash", "currency": "CNY", "input": 1, "cacheRead": 0.1, "cacheWrite": 0, "output": 3}
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
|
+
{
|
|
91
|
+
"name": "Qwen3.8-27B",
|
|
92
|
+
"match": ["*/qwen3.8-27b"],
|
|
93
|
+
"rules": [
|
|
94
|
+
{"name": "Qwen3.8-27B", "currency": "CNY", "input": 3, "cacheRead": 0.6, "cacheWrite": 0, "output": 12}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
90
97
|
{
|
|
91
98
|
"name": "MiniMax-M3.1-Flash",
|
|
92
99
|
"match": ["dsh-provider-qoder/mmodel", "*/minimax-m3.1-flash"],
|
|
@@ -117,7 +124,7 @@
|
|
|
117
124
|
},
|
|
118
125
|
{
|
|
119
126
|
"name": "Hy4",
|
|
120
|
-
"match": ["*/hy4-preview", "*/hy4"],
|
|
127
|
+
"match": ["*/hy4-preview", "*/hy4", "*/hy4std"],
|
|
121
128
|
"rules": [
|
|
122
129
|
{"name": "Hy4", "currency": "CNY", "input": 6, "cacheRead": 0.3, "cacheWrite": 0, "output": 18}
|
|
123
130
|
]
|