@karoc/dsh-proxy 0.1.1 → 0.1.2
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/CHANGELOG.md +4 -0
- package/README.md +4 -4
- package/README.zh.md +2 -2
- package/lib/client.js +5 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DSH Smoothly Proxy (DSH SP)
|
|
2
2
|
|
|
3
3
|
English | [简体中文](README.zh.md)
|
|
4
4
|
|
|
@@ -6,9 +6,9 @@ English | [简体中文](README.zh.md)
|
|
|
6
6
|
[](https://www.npmjs.com/package/@karoc/dsh-proxy)
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
**per-host routing**, plus a **Settings
|
|
11
|
-
proxying.
|
|
9
|
+
DSH Smoothly Proxy (**DSH SP**) is an **external** DeepSeek Harness plugin: a
|
|
10
|
+
model-provider **forward proxy** with **per-host routing**, plus a **Settings
|
|
11
|
+
page** dedicated to model-provider proxying.
|
|
12
12
|
|
|
13
13
|
It runs a loopback forward proxy inside the dsh host process, points the
|
|
14
14
|
process's egress traffic at it (`HTTP(S)_PROXY` + `NODE_USE_ENV_PROXY`), and
|
package/README.zh.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DSH Smoothly Proxy(DSH SP)
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 简体中文
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://www.npmjs.com/package/@karoc/dsh-proxy)
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
DSH Smoothly Proxy(**DSH SP**)是一个**外部** DeepSeek Harness 插件:为**模型提供方**提供带**按主机路由**的**正向代理**,并附带一个专职设置页。
|
|
10
10
|
|
|
11
11
|
它在 dsh host 进程内启动一个 loopback 正向代理,把进程的出站流量指向它(`HTTP(S)_PROXY` + `NODE_USE_ENV_PROXY`),**只把你在设置页勾选的主机**转发到可选的上游代理(HTTP / HTTPS / SOCKS5,支持可选 Basic 认证),其余全部直连。模型提供方主机从你的 dsh `settings.yaml` 读取,流量中观测到的主机也会被收集——两者都以复选框形式出现。
|
|
12
12
|
|
package/lib/client.js
CHANGED
|
@@ -528,12 +528,13 @@ window.__ModuleLoader__.load({
|
|
|
528
528
|
//#endregion
|
|
529
529
|
//#region src/client/locales.ts
|
|
530
530
|
/**
|
|
531
|
-
* Copy dictionaries for the Proxy settings section
|
|
532
|
-
* (en object keyed by the same strings), zh must
|
|
531
|
+
* Copy dictionaries for the Proxy settings section (DSH Smoothly Proxy / DSH SP).
|
|
532
|
+
* English is the key source (en object keyed by the same strings), zh must
|
|
533
|
+
* carry every key.
|
|
533
534
|
*/
|
|
534
535
|
const en = {
|
|
535
536
|
nav: "Proxy",
|
|
536
|
-
title: "Proxy
|
|
537
|
+
title: "DSH Smoothly Proxy (DSH SP)",
|
|
537
538
|
subtitle: "Model-provider traffic through an optional upstream proxy, per host.",
|
|
538
539
|
upstreamTitle: "Upstream proxy (optional)",
|
|
539
540
|
upstreamEnabled: "Enable upstream proxy (when off, every host connects directly)",
|
|
@@ -571,7 +572,7 @@ window.__ModuleLoader__.load({
|
|
|
571
572
|
};
|
|
572
573
|
const zh = {
|
|
573
574
|
nav: "代理",
|
|
574
|
-
title: "
|
|
575
|
+
title: "DSH Smoothly Proxy(DSH SP)",
|
|
575
576
|
subtitle: "按主机把模型提供方流量转发到可选的上游代理。",
|
|
576
577
|
upstreamTitle: "上游代理(可选)",
|
|
577
578
|
upstreamEnabled: "启用上游代理(未启用时所有主机直连)",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karoc/dsh-proxy",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "DSH Smoothly Proxy (DSH SP): external DeepSeek Harness plugin — a model-provider forward proxy with per-host routing and a Settings page.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"postpublish": "node scripts/post-publish-check.mjs"
|
|
45
45
|
},
|
|
46
46
|
"engines": { "node": ">=18" },
|
|
47
|
-
"keywords": ["deepseek-harness", "dsh", "plugin", "proxy", "model-provider", "settings"],
|
|
47
|
+
"keywords": ["deepseek-harness", "dsh", "plugin", "proxy", "model-provider", "settings", "smoothly-proxy", "sp"],
|
|
48
48
|
"author": "karoc",
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"repository": { "type": "git", "url": "git+https://github.com/karoc/dsh-proxy.git" },
|