@aiyiran/myclaw 1.0.261 → 1.0.262

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.0.261",
3
+ "version": "1.0.262",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "id": "fashe1",
38
38
  "workspace": "workspace-fashe1",
39
- "strategy": "auto",
39
+ "strategy": "off",
40
40
  "description": "fashe1"
41
41
  }
42
42
  ],
@@ -47,6 +47,8 @@ class JimengVideoAdapter:
47
47
  try:
48
48
  err_json = json.loads(e.args[0].decode('utf-8'))
49
49
  raise RuntimeError(f"即梦 API 错误: {err_json}")
50
+ except RuntimeError:
51
+ raise
50
52
  except Exception:
51
53
  pass
52
54
  raise RuntimeError(f"即梦提交失败: {str(e)}")
@@ -78,6 +80,8 @@ class JimengVideoAdapter:
78
80
  if err_json.get("code") in (50500, 50501):
79
81
  continue # Server error, can retry
80
82
  raise RuntimeError(f"即梦查询失败: {err_json}")
83
+ except RuntimeError:
84
+ raise
81
85
  except Exception:
82
86
  pass
83
87
  raise RuntimeError(f"即梦查询异常: {str(e)}")