feat: collaboration planning confirmation + personal assistant home (fixed) - #37
Merged
Merged
Conversation
…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>
This was referenced Aug 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复并替代 #35 + #36 的合并版本。已修复两个 PR 的阻断问题:
修复内容
ai_engine.py、admin.py、ChatView.vue、style.css、App.vue重新以 LF 保存。原 PR 表面 9000+ 行 diff 实为行尾符噪音,真实改动仅 ~480 行,本 PR 已是干净 diff。新增.gitattributes(* text=auto)防止复发。POST /admin/collaboration/planning-room不再依赖手动配置的orchestrator_agent_id——未配置时自动创建"任务规划师"智能体并缓存到 hub_setting,默认部署下功能直接可用,同时保留手动配置优先。startAssistantChat创建规划房或发消息失败时给出明确提示,不再静默 return。助手/个人助手补齐 6 种语言的翻译。test_collaboration_planning.py原先用模块级裸函数,unittest discover实际不会执行它们(原 PR 声称的"9 tests"全是 guards 的用例);新增load_tests使其可被发现,并补充 2 个 orchestrator 兜底用例。验证
python3 -m unittest discover -s test:13 tests 全部通过(此前 planning 测试实际从未运行)npm run build:通过git diff --check:无 whitespace 错误,无 CRLF 残留