lili 17727d08c3
Some checks failed
contract-gates / contract-gates (push) Has been cancelled
docs-gate / docs-gate (push) Has been cancelled
feat(storage): 接入游戏内容对象存储与运行时提交门
冻结 GameArtifactManifest/GameSourceArchive 契约和 V34 pending/committed 状态记录,增加专用 writer 的全量回读物化校验,并让 Runtime API 在消费和发布前对账 committed、GamePackage checksum 与实际 engineBundle hash。隔离 staging 已验证真实消费拒绝未提交版本;源码桶权限仍保持 fail-closed,正式金标不切换。
2026-07-29 12:02:22 -07:00

31 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# tier2 富游戏自治生成线 · Python worker 依赖
# 独立锁版,不复用 wg1/gen-worker 的 agentscope==2.0.1。
# 框架接缝据迁移取证与 wg1 种子兼容;锁版纪律(可复现)理由见
# docs/plans/2026-06-22-003-feat-tier2-富游戏自治生成线-plan.mdKTD2
# 2026-07-06 由 2.0.2 升 2.0.3:源码 diff 实证依赖面兼容Anthropic formatter 仅并行 tool-result bug 修 /
# RedisMessageBus 零变化 / MiddlewareBase 加性 get_middleware_key / ModelCallEndEvent 无变化)。
# extras 补 app-runtimecutover 接缝 A独立 Agent Serviceservice/app.py→create_app真起服务需
# [service]=fastapi/uvicorn/apscheduler/ag-ui-protocol、[storage]=redisRedisStorage/RedisMessageBus。裸 agentscope
# 只够 import 到 create_app 之下、全新 venv 起不动 ServiceSDD 单测只 import/py_compile 未暴露。redis 由 [storage] 带入,
# 不再单列(以 extras 为准、不重复)。版本仍钉死 2.0.3。
agentscope[service,storage]==2.0.3
openai>=2.41.1 # 便宜档deepseek-v4 等)走 OpenAI 兼容端点new-api
json-repair # 脏 JSON 兜底(承袭裸路)
pyyaml # 模型路由 models.yaml + infra.yaml 基建配置
jsonschema>=4.23,<5 # GameArtifactManifest 与 GamePackage Draft 2020-12 契约校验
# U2 第二装载落库BackendStore仅 TIER2_STORE=backend 启用worker/store.py 内惰性 import
# 6c6g 不装这俩也能 py_compile / import store.py真跑/部署在 mini-desktop 时装)。
pymysql # MySQL 源工程版本 manifest 表tier2_source_project_version
minio # MinIOS3 兼容 OSS源文件全文落库
# 服务发现(配置控制面 §3.7 Part D · D1Agent Service 注册进 Nacos discovery让 Java 按服务名发现,
# 替硬编码 @8200。钉 v1<2—— v1 的同步 nacos.NacosClientadd/remove_naming_instance + 自带守护心跳
# 线程,免 asyncio event-loop与 agentscope==2.0.3 同「钉版本」纪律,锁 1.0.0 保可复现。仅
# service/nacos_registry.py 惰性 import且 NACOS_REGISTER=1 才用;默认关 / 本地 / 6c6g 不装也能
# py_compile + import service.app。
nacos-sdk-python==1.0.0
# 注M3 走 AgentScope 内置 AnthropicChatModel已含在 agentscope
# 注Phaser / esbuild 是 JS 侧工具链game-runtime / tier2/harness不在此 Python 依赖内。