- memory/contracts.md:立 C6-ext(load_prompt/SPECS/SCHEMA_CATALOG/
REVIEW_RESERVED_NAMES/SpecResolver + 打包契约)+ 变更日志一笔
- memory/decisions.md:方案A 决策(运行时值金标准/尾换行方案B/守卫前移/
schema 留 Python/同一实例)
- memory/gotchas.md:spec.name 连字符命名 / 改稿须重生成金标准 /
.gitattributes 完整嵌套路径 / wheel artifacts 带 .md / structlog 补声明 /
SpecResolver 零 DB + 精确匹配
- PROGRESS.md:已封板「Prompt 管理重构 + 全量重写」波次
- ARCHITECTURE.md §5.1:补 prompt 外置 + SPECS/SCHEMA_CATALOG/SpecResolver,
内置 agent 计数 8→21
- packages/{llm_gateway,core}/pyproject.toml:补声明 structlog>=24.1
(原直接 import 未声明,靠 apps/api 传递;裸装 import ww_agents 会缺)
29 lines
534 B
TOML
29 lines
534 B
TOML
[project]
|
|
name = "ww-llm-gateway"
|
|
version = "0.0.0"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"openai>=1.40",
|
|
"anthropic>=0.34",
|
|
"google-genai>=0.3",
|
|
"instructor>=1.5",
|
|
"pydantic>=2.7",
|
|
"tenacity>=8.2",
|
|
"structlog>=24.1",
|
|
"ww-shared",
|
|
"ww-config",
|
|
"ww-db",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["ww_llm_gateway"]
|
|
|
|
[tool.uv.sources]
|
|
ww-shared = { workspace = true }
|
|
ww-config = { workspace = true }
|
|
ww-db = { workspace = true }
|