bidmaster-cli/pyproject.toml
sladro c74ae0b418 fix: 修复CLI导入问题并简化交互流程
主要修改:
- 修复CLI模块导入:添加__main__.py和正确的包配置
- 修复InteractionHandler调用错误:使用__call__而非.interact()
- 删除重复交互:AnalysisAgent和TocAgent都询问生成模式
- 简化生成方式:删除模板选项,只保留AI生成
- 消除代码重复:BidParser专注解析,TocAgent负责生成

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-28 20:21:10 +08:00

41 lines
826 B
TOML

[project]
name = "bidmaster-cli"
version = "0.1.0"
description = "AI标书撰写助手"
readme = "PROJECT_SPEC.md"
requires-python = ">=3.11"
dependencies = [
"chromadb>=1.1.0",
"click>=8.3.0",
"langchain>=0.3.27",
"langchain-community>=0.3.29",
"langgraph>=0.6.7",
"openai>=1.109.1",
"openpyxl>=3.1.5",
"pandas>=2.3.2",
"pydantic-settings>=2.10.1",
"python-docx>=1.2.0",
"requests>=2.32.5",
"rich>=14.1.0",
"sentence-transformers>=5.1.1",
]
[project.scripts]
bidmaster = "bidmaster.cli.main:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/bidmaster"]
[dependency-groups]
dev = [
"black>=25.9.0",
"isort>=6.0.1",
"pre-commit>=4.3.0",
"pytest>=8.4.2",
"ruff>=0.13.1",
]