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 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.4';
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
- # 插件使用的 Python 解释器(已装 rapidocr_onnxruntime + ddddocr,用于测验字体 OCR)
8
- python: "D:/工作区/.venv-chaoxing/Scripts/python.exe"
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-chaoxing-assistant",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "学习通(超星)任务助手:真实 Edge 或 Windows 客户端完成视频/文档、章节测验与作业,右侧栏面板 + 5 个工具。人工验证自动停机、空题不交卷、播完先等平台确认。",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/.gitignore DELETED
@@ -1,7 +0,0 @@
1
- node_modules/
2
- .tmp-test/
3
- _tmp*/
4
- *.log
5
- *.tmp
6
- .DS_Store
7
- Thumbs.db