Skip to content

feat: collaboration planning confirmation + personal assistant home (fixed) - #37

Merged
monkeycode-ai[bot] merged 1 commit into
masterfrom
fix/planning-and-assistant-home
Aug 2, 2026
Merged

feat: collaboration planning confirmation + personal assistant home (fixed)#37
monkeycode-ai[bot] merged 1 commit into
masterfrom
fix/planning-and-assistant-home

Conversation

@monkeycode-ai

@monkeycode-ai monkeycode-ai Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

修复并替代 #35 + #36 的合并版本。已修复两个 PR 的阻断问题:

修复内容

  1. CRLF 行尾符污染ai_engine.pyadmin.pyChatView.vuestyle.cssApp.vue 重新以 LF 保存。原 PR 表面 9000+ 行 diff 实为行尾符噪音,真实改动仅 ~480 行,本 PR 已是干净 diff。新增 .gitattributes* text=auto)防止复发。
  2. orchestrator 兜底POST /admin/collaboration/planning-room 不再依赖手动配置的 orchestrator_agent_id——未配置时自动创建"任务规划师"智能体并缓存到 hub_setting,默认部署下功能直接可用,同时保留手动配置优先。
  3. 前端静默失败startAssistantChat 创建规划房或发消息失败时给出明确提示,不再静默 return。
  4. i18n:为 助手 / 个人助手 补齐 6 种语言的翻译。
  5. 测试可发现性test_collaboration_planning.py 原先用模块级裸函数,unittest discover 实际不会执行它们(原 PR 声称的"9 tests"全是 guards 的用例);新增 load_tests 使其可被发现,并补充 2 个 orchestrator 兜底用例。

验证

  • python3 -m unittest discover -s test:13 tests 全部通过(此前 planning 测试实际从未运行)
  • 真实 SQLite DB 集成验证:orchestrator 惰性创建、复用、手动配置优先均通过
  • 前端 npm run build:通过
  • git diff --check:无 whitespace 错误,无 CRLF 残留

…home

- isolated planning rooms with lazy default orchestrator so planning works out of the box
- require explicit user confirmation before creating project agents
- personal assistant landing page with shortcuts, drag-drop attachments
- normalize line endings to LF and add .gitattributes to prevent CRLF noise
- surface planning-room creation errors in the UI instead of failing silently
- add i18n keys for the assistant home and make planning tests discoverable

Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
@monkeycode-ai
monkeycode-ai Bot merged commit 18720d7 into master Aug 2, 2026
@monkeycode-ai
monkeycode-ai Bot deleted the fix/planning-and-assistant-home branch August 2, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant