sycommon-python-lib 0.2.12a11__py3-none-any.whl → 0.2.12a12__py3-none-any.whl

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.
@@ -77,7 +77,10 @@ class DevchatConfig:
77
77
  restartSelf: Optional[Callable[[], Any]] = None
78
78
  corsOrigins: List[str] = field(default_factory=list)
79
79
  maxHistory: int = 500
80
- commandTimeoutSec: float = 1800.0
80
+ # 单次 claude 任务最长运行时间(秒)。默认 1 小时:30 分钟对真实开发
81
+ # 任务太短,到点硬杀致任务白跑(Go 侧 #589000 同因;与 Go
82
+ # devchat.options.commandTimeout 默认值保持一致)。
83
+ commandTimeoutSec: float = 3600.0
81
84
  loginSessionTTL: int = 0 # 登录会话 TTL 秒;0 = 默认 7 天
82
85
 
83
86
  @classmethod
@@ -102,7 +105,7 @@ class DevchatConfig:
102
105
  with contextlib.suppress(Exception):
103
106
  cfg.maxHistory = int(raw.get("maxHistory") or 500)
104
107
  with contextlib.suppress(Exception):
105
- cfg.commandTimeoutSec = float(raw.get("commandTimeoutSec") or 1800.0)
108
+ cfg.commandTimeoutSec = float(raw.get("commandTimeoutSec") or 3600.0)
106
109
  with contextlib.suppress(Exception):
107
110
  cfg.loginSessionTTL = int(raw.get("loginSessionTTL") or raw.get("login_session_ttl") or 0)
108
111
  return cfg
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sycommon-python-lib
3
- Version: 0.2.12a11
3
+ Version: 0.2.12a12
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -217,7 +217,7 @@ sycommon/database/txnref.py,sha256=sOFp85PlanCA0oryVpHu53JbM0aSHAVkELWgEJKalLI,7
217
217
  sycommon/devchat/__init__.py,sha256=Z2BgzDKrp_mR165d3a1kftP8lf1-WKz_5xuZMFXR-iw,2288
218
218
  sycommon/devchat/_page.html,sha256=CxzEhC867FawFjlEKk6uCChEX3EoRP4jwdn09C_MdaU,29126
219
219
  sycommon/devchat/_page.py,sha256=4y2h9DEJfL07zIKDhdSNEaN1Rpe-yJsKm7H0QnqZC9o,2404
220
- sycommon/devchat/handler.py,sha256=I3zGT0jc0ZqSlB45BcOEnC5lGelD6VUwNLsetnUUMT8,50409
220
+ sycommon/devchat/handler.py,sha256=ZlslyAxDvxYhjzQWqvqLoj7WaPMSSfB6yj27vbVW9bc,50641
221
221
  sycommon/devchat/login.py,sha256=TF57n0iP3jHgiYs4NdDDgAXlGJNtiKcW8haw9Rd9Jjo,7701
222
222
  sycommon/devchat/store.py,sha256=iAxCJs5jrNbRDCVL4i0QnbEAUGLXtJumf8YsBGwfBe0,4047
223
223
  sycommon/devchat/tasks.py,sha256=ijGHe2gyBfEZ11ylqvRihQDtbF2ugchQ6AzdyNCbD_0,19080
@@ -404,8 +404,8 @@ sycommon/tools/usercache.py,sha256=Zu2oiXISUOojleEYCAS9t06ZzgWSNHCIhCjv4yTtkRw,4
404
404
  sycommon/xxljob/__init__.py,sha256=7eoBlQxv-B39IfRSCY2bkqdGYs1QRe1umAWd88VMEEM,86
405
405
  sycommon/xxljob/sharding.py,sha256=LJ0tle7qSUS32S5ntjzri1aOcPzwL5CFde3W4Rf1AUE,2560
406
406
  sycommon/xxljob/xxljob_service.py,sha256=1yifwIBNGsCIxLnQjHKiBlbsigc_zvPH-dMTZcNxe-Q,7649
407
- sycommon_python_lib-0.2.12a11.dist-info/METADATA,sha256=anp2B5t64V7EKLz2vhFlBH5_fO6bm9-jWa3ZdvcXV4c,8029
408
- sycommon_python_lib-0.2.12a11.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
409
- sycommon_python_lib-0.2.12a11.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
410
- sycommon_python_lib-0.2.12a11.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
411
- sycommon_python_lib-0.2.12a11.dist-info/RECORD,,
407
+ sycommon_python_lib-0.2.12a12.dist-info/METADATA,sha256=hpmvEAe7lam_KxEK2nqN5UxJHVayxIm5ji02LZGBv-I,8029
408
+ sycommon_python_lib-0.2.12a12.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
409
+ sycommon_python_lib-0.2.12a12.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
410
+ sycommon_python_lib-0.2.12a12.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
411
+ sycommon_python_lib-0.2.12a12.dist-info/RECORD,,