Files
bot042/pyproject.toml
openbot fbb01c4c83 feat: 重构为 agent / channels / flows / db 分层架构
- agent: 新增 base.py 执行基类、execution.py 执行器、web.py 网络工具,
  middlewares/steering.py 中间件;移除旧的 agent.py
- channels: 新增 ChannelManager、registry、models 与 IM 渠道(企业微信),
  扩展 base.py
- flows: 新增 agent_task / bus / cron / scheduler / service / stream / rpc /
  processor / tasks / model_settings / builtin;移除旧的 task.py
- db: 新增 sqlite schema 与 repo 层
- docs: 新增架构说明、Channel × EventBus 设计、任务编写教程
- 依赖新增 aiosqlite / httpx / langgraph / primp / pydantic / ripgrep /
  wecom-aibot-sdk;新增 bot 命令入口
- 测试:232 passed
2026-11-09 20:32:25 +08:00

36 lines
807 B
TOML

[project]
name = "bot042"
version = "0.1.0"
description = "基于 deepagents 的自主行动机器人原型"
readme = "README.md"
authors = [
{ name = "openbot-coder", email = "openbot@vxquant.com" }
]
requires-python = ">=3.13"
dependencies = [
"aiosqlite>=0.22.1",
"deepagents>=0.7.32",
"httpx>=0.28.1",
"langchain-openai>=1.7.4",
"langgraph>=1.2.20",
"primp>=2.0.1",
"pydantic>=2.0",
# 14.1.0 是最后一个提供 Windows wheel 的版本(15.x 只有 mac/linux 轮子)
"ripgrep>=14.1.0,<15",
"wecom-aibot-sdk>=1.0.8",
]
[project.scripts]
bot = "bot042.__main__:main"
bot042 = "bot042.__main__:main"
[build-system]
requires = ["uv_build>=0.12.11,<0.13.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=9.2.0",
"ruff>=0.17.3",
]