@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jwebot-config"
|
||||
version = "2.0.4b1+1023"
|
||||
version = "2.0.5b1+1023"
|
||||
description = "Profile-based configuration compiler for JWeBot"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
|
||||
@@ -36,4 +36,4 @@ __all__ = [
|
||||
"write_default_profile",
|
||||
]
|
||||
|
||||
__version__ = "2.0.4b1+1023"
|
||||
__version__ = "2.0.5b1+1023"
|
||||
|
||||
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jwebot-extension-host"
|
||||
version = "2.0.4b1+1023"
|
||||
version = "2.0.5b1+1023"
|
||||
description = "Single-release, single-invocation process host for JWeBot extensions"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
"jwebot-sdk==2.0.4b1+1023",
|
||||
"jwebot-kernel==2.0.4b1+1023",
|
||||
"jwebot-sdk==2.0.5b1+1023",
|
||||
"jwebot-kernel==2.0.5b1+1023",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
||||
@@ -16,4 +16,4 @@ __all__ = [
|
||||
"process_request",
|
||||
]
|
||||
|
||||
__version__ = "2.0.4b1+1023"
|
||||
__version__ = "2.0.5b1+1023"
|
||||
|
||||
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jwebot-kernel"
|
||||
version = "2.0.4b1+1023"
|
||||
version = "2.0.5b1+1023"
|
||||
description = "Stable routing and extension authority for JWeBot"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
"jwebot-config==2.0.4b1+1023",
|
||||
"jwebot-sdk==2.0.4b1+1023",
|
||||
"jwebot-official-extensions==2.0.4b1+1023",
|
||||
"jwebot-config==2.0.5b1+1023",
|
||||
"jwebot-sdk==2.0.5b1+1023",
|
||||
"jwebot-official-extensions==2.0.5b1+1023",
|
||||
"tomli>=2; python_version < '3.11'",
|
||||
]
|
||||
|
||||
|
||||
@@ -107,4 +107,4 @@ __all__ = [
|
||||
"verify_installed_release_signature",
|
||||
]
|
||||
|
||||
__version__ = "2.0.4b1+1023"
|
||||
__version__ = "2.0.5b1+1023"
|
||||
|
||||
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jwebot-official-extensions"
|
||||
version = "2.0.4b1+1023"
|
||||
version = "2.0.5b1+1023"
|
||||
description = "Reviewed local command adapters and broker implementation for JWeBot"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
"jwebot-sdk==2.0.4b1+1023",
|
||||
"jwebot-sdk==2.0.5b1+1023",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
|
||||
@@ -90,4 +90,4 @@ __all__ = [
|
||||
"render_feature_list",
|
||||
]
|
||||
|
||||
__version__ = "2.0.4b1+1023"
|
||||
__version__ = "2.0.5b1+1023"
|
||||
|
||||
@@ -816,8 +816,12 @@ class PlayerGames:
|
||||
state = "进行中" if account.get("game") else "无进行中的牌局"
|
||||
loan = account.get("loan")
|
||||
loan_text = f"未还贷款 {loan['principal']};" if loan else "无贷款;"
|
||||
total = account["wins"] + account["losses"] + account["ties"]
|
||||
win_rate = (account["wins"] / total * 100) if total else 0.0
|
||||
blackjack_stats = account["blackjack_stats"]
|
||||
total = int(blackjack_stats["hands"])
|
||||
wins = int(blackjack_stats["wins"])
|
||||
losses = int(blackjack_stats["losses"])
|
||||
ties = int(blackjack_stats["ties"])
|
||||
win_rate = (wins / total * 100) if total else 0.0
|
||||
lines = [
|
||||
(
|
||||
f"{player_label}:{expired}当前摩拉 {account['balance']};"
|
||||
@@ -826,8 +830,8 @@ class PlayerGames:
|
||||
f"{loan_text}"
|
||||
),
|
||||
(
|
||||
f"21点 {state};已结算胜 {account['wins']} / "
|
||||
f"负 {account['losses']} / 平 {account['ties']},"
|
||||
f"21点 {state};已结算胜 {wins} / "
|
||||
f"负 {losses} / 平 {ties},"
|
||||
f"胜率 {win_rate:.2f}%。"
|
||||
),
|
||||
"最近10次账户变动:",
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jwebot-sdk"
|
||||
version = "2.0.4b1+1023"
|
||||
version = "2.0.5b1+1023"
|
||||
description = "Typed, capability-limited extension API for JWeBot plugins"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = []
|
||||
|
||||
@@ -40,4 +40,4 @@ __all__ = [
|
||||
"SingleGroupContext",
|
||||
]
|
||||
|
||||
__version__ = "2.0.4b1+1023"
|
||||
__version__ = "2.0.5b1+1023"
|
||||
|
||||
Reference in New Issue
Block a user