Files
agenthub/pyproject.toml
T
openbot bbe36be192 feat(wecom): official aibot long-connection protocol + real WS transport
- wecom_ws.py: AibotWSAdapter (asyncio websockets bridged to channel threads):
  connect wss://openws.work.weixin.qq.com, aibot_subscribe auth, 30s ping
  heartbeat, reader->queue, graceful shutdown
- wecom.py switched to official frames:
  * inbound aibot_msg_callback / aibot_event_callback (enter_chat -> welcome)
  * reply: aibot_respond_msg stream {id, finish, content} reusing the
    callback's req_id; after finish, proactive aibot_send_msg markdown
  * image inbound: {url, aeskey} fetch + AES-256-CBC (IV=key[:16], PKCS7)
  * mixed (text+image) and voice (transcribed) message types
- tests updated to official frame shapes; 43 passed
2026-10-06 16:06:49 +08:00

51 lines
1.4 KiB
TOML

[project]
name = "agenthub"
version = "0.1.0"
description = "IM/NATS to local ACP (Agent Client Protocol) bridge - drive Claude Code, Codex, Gemini CLI, OpenCode from messaging front-ends"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "OpenBot", email = "openbot@vxquant.com" }]
requires-python = ">=3.11"
keywords = ["acp", "agent", "claude", "codex", "nats", "wecom", "wechat", "llm"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Chat",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"cryptography>=42",
"websockets>=12",
]
[project.optional-dependencies]
# future: nats channel needs a NATS client (M1 lands nats_service.py)
nats = ["nats-py>=2"]
[project.urls]
Homepage = "https://gitea.vxquant.com/vxquant/agenthub"
Documentation = "https://gitea.vxquant.com/vxquant/agenthub/src/branch/main/docs/DESIGN.md"
[project.scripts]
agenthub = "agenthub.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/agenthub"]
[dependency-groups]
dev = [
"pytest>=8",
"pyright>=1.1.390",
]
[tool.pytest.ini_options]
testpaths = ["tests"]