feat(service): SDLC menus删旧「📁 项目」项——入口上移core agent_menus.dspy硬编码(新建/切换弹窗,所有产线通用),防重复出现两个项目按钮

This commit is contained in:
ymq 2026-09-11 18:29:30 +08:00
parent 0964dd2864
commit 1b1f8dfa52

View File

@ -1937,7 +1937,8 @@ def register_sdlc_ability():
handlers=SDL_HANDLERS,
roles=SDL_ROLES,
menus=[
{"label": "📁 项目", "icon": "", "url": "/pipeline_core/sd_projects/index.ui", "type": "popup", "width": "85%", "height": "80%"},
# 「📁 项目」入口已上移到 core agent_menus.dspy 硬编码(新建/切换弹窗,
# 所有产线通用2026-09-11此处不再声明避免重复出现两个项目按钮。
{"label": "⚙️ 模型配置", "icon": "", "url": "/pipeline_core/sd_project_role_models/index.ui", "type": "popup", "width": "85%", "height": "80%", "require_project": True},
{"label": "🐛 Bug", "icon": "", "url": "/pipeline-sdlc/sd_bugs/index.ui", "type": "popup", "width": "85%", "height": "80%", "require_project": True},
{"label": "🧪 测试用例", "icon": "", "url": "/pipeline-sdlc/sd_test_cases/index.ui", "type": "popup", "width": "85%", "height": "80%", "require_project": True},