功能建议:让手机端与桌面端在同一局域网内直连,没有外网时也能使用
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: Rueee
**客户端版本**: 0.1.79
---
## 想解决的场景
希望手机端和桌面端的 Cindy 能直接互联,主要来自这几种情况:
- **所在网络没有外网**:手机和电脑连在同一个局域网里(公司内网、机房、临时搭建的网络),但这个网络没有可用的外网出口,手机就完全连不上自己的电脑。
- **有外网但体验不好**:经由服务器中转时,看电脑画面比较卡、延迟明显,希望局域网直连能更顺畅。
- **外网不稳定**:网络时断时续,设备经常掉线、反复重连。
## 现状
手机端和电脑端之间的连接目前需要登录同一账号,并经由 Cindy 的服务器中转,没有让两端在同一局域网内直接连接的选项。因此在没有外网出口的网络里,手机端无法连接自己的电脑。
## 期望
希望手机端和电脑端在同一局域网内能直接互联,并且**在完全没有外网的纯局域网环境下也能完整使用**。
局域网直连打通后,希望手机侧能做到这些:
- 远程查看和操作电脑桌面
- 查看电脑上正在进行的 Cindy 会话和任务,并接着发消息继续推进
- 手机与电脑之间互传文件
- 同步智能通讯录这类设备间的本地数据
另外希望路径能自动选择:局域网可用时优先直连,不可用时回落到现在的中转方式,不需要手动切换。
---
## 提交时的任务环境
仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**Harness**: Claude Code
**Model ID**: ` deepseek-v4.1-flash `
**界面语言**: zh-CN
Contributor guide
Research direction
No implementation files, tests, or entry points are identified in the issue. Start by mapping how the Electron desktop client, React Native mobile client, and current server-mediated connection are organized; define the LAN discovery, direct connection, offline operation, fallback, and data-sync boundaries before estimating an implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, react-native, typescript
- Domain
- desktop-dev, mobile-dev, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100