dsh-chaoxing-assistant 2.3.4 → 2.3.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/client.js +1 -1
- package/cordis.patch.yml +4 -2
- package/package.json +1 -1
- package/.gitignore +0 -7
package/client.js
CHANGED
|
@@ -10,7 +10,7 @@ window.__ModuleLoader__.load({
|
|
|
10
10
|
const useRef = React.useRef;
|
|
11
11
|
const useMemo = React.useMemo;
|
|
12
12
|
const DEF_ID = 'dsh-chaoxing-assistant';
|
|
13
|
-
const VERSION = '2.3.
|
|
13
|
+
const VERSION = '2.3.5';
|
|
14
14
|
const UI_PORT = 9483;
|
|
15
15
|
// 两条传输:优先 DSH 同源路由(dsh-app://app 下无 CORS/无额外端口),失败再退到本机独立端口。
|
|
16
16
|
// v2.2.1 只写死了 http://127.0.0.1:9483,桌面端 Origin 是 dsh-app://app,被桥 403 掉 → 永远「未连接」。
|
package/cordis.patch.yml
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
config:
|
|
5
5
|
# 面板与宿主的本地 HTTP 桥端口(只监听 127.0.0.1)
|
|
6
6
|
uiPort: 9483
|
|
7
|
-
#
|
|
8
|
-
python
|
|
7
|
+
# Python 解释器(用于测验字体 OCR / 验证码识别的 rapidocr_onnxruntime + ddddocr)。
|
|
8
|
+
# 留空 = 自动找:环境变量 CHAOXING_PYTHON → DSH 自带 runtime python → PATH 上的 python。
|
|
9
|
+
# 想用自己的虚拟环境就在这里填绝对路径,比如 "C:/py/my-venv/Scripts/python.exe"。
|
|
10
|
+
python: ""
|
|
9
11
|
# 插件启用时(DSH 启动)不自动运行,必须点面板「开始」或调用 chaoxing_auto start
|
|
10
12
|
autoStart: false
|
|
11
13
|
autoAccount: default
|
package/package.json
CHANGED