支持文件工作区与 AI 对话并排显示的应用内 Dock 双区域布局
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: wukai
**客户端版本**: 0.1.31
---
## 使用场景
目前在 Cindy 中与 AI 协作时,希望能够像 VS Code、Cursor 一样,在同一个界面中同时查看工作区文件和 AI 对话,避免频繁切换窗口或依赖外部编辑器。主要场景包括:
- 边查看代码边与 AI 讨论实现细节
- 审查 AI 新建或修改的文件内容及差异
- 在手机或远程使用场景中查看被控电脑上的工作区文件
- 查看 AI 生成的 Markdown 文档或 HTML 预览
## 诉求
提供可 Dock 的双区域工作界面:
1. 一个区域用于 AI 对话,另一个区域用于文件工作区,两者可同时显示
2. 文件工作区支持文件树和文件内容查看
3. 支持直接编辑、保存文件
4. 支持多标签页打开多个文件
5. AI 修改文件后,自动定位或打开相关文件,并高亮展示 diff,便于快速审查
6. 支持查看 Markdown,并提供 HTML 等内容的预览能力
7. 面板支持调整尺寸、折叠和恢复,以适配不同屏幕及远程使用场景
## 建议方案
优先实现应用程序内部的 Dock 布局,让文件工作区和 AI 对话能够在同一窗口中灵活并排、调整尺寸或折叠。这是核心需求,也能覆盖多数桌面和远程使用场景。
在基础体验成熟后,可将可分离面板或多窗口 Dock 作为增强功能,方便多显示器用户自由组织工作区;多窗口不是首期必要条件。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN
Contributor guide
Research direction
The issue does not name implementation files, tests, or entry points. Start by locating the existing AI conversation and workspace UI, then determine how the requested dock layout and file editing scope fit the current application; done means the two areas can be displayed, resized, collapsed, and used for the listed file-review workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, react-native, typescript
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100