Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: GoDiao/dreamcoder

DreamCoder v0.4.0 — Phone-in-your-pocket release 📱

14 Jun 03:49
@GoDiao GoDiao
42fea4f
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

DreamCoder v0.4.0 — Phone-in-your-pocket release 📱

TL;DR:把桌面端 Claude Code 会话装进了你的手机。本机跑着 DreamCoder,扫码就能在手机/平板/任意浏览器里继续对话;继续支持 8 家模型厂商、内置 PTY 终端、MCP 管理;并附赠一波 UI 动效和性能优化。


✨ 大版本亮点:Phase 3 — H5 远程访问 ✅

把 Claude Code 会话从你的桌面"长"出去,让你在沙发上、在公司楼下、在地铁里都能继续聊。

  • 手机/浏览器接入桌面端会话:本机 DreamCoder 启动后,手机扫码即可加入同一个会话。
  • 设置面板里的 H5 Access 开关:一键开启/关闭、Token 一键轮换、QR 码即时刷新。
  • WebSocket 远端桥接 + 严格请求分类器:loopback 与远端 token 请求严格分流(src/server/h5AccessPolicy.ts),CORS 白名单 + Token 校验双保险。
  • 专用移动端聊天 UI:消息流、输入框、附件按钮全部触屏友好。
  • 直连会话管理 + 无头入口:createDirectConnectSession.ts / connectHeadless.ts 让无 GUI 场景(CI、远端机器)也能拉起会话。
  • 静态资源缓存:/assets/* 走长缓存,移动端首屏更快。

现在你可以在客厅笔电跑着 DreamCoder,倒在沙发上用手机继续 review 代码。


🎬 全新统一动效系统

整个 App 现在用同一套动效语言:

  • CSS 自定义属性 + data-state 驱动:.motion-fade-scale.motion-menu.motion-bottom-sheet-*.motion-modal-*.motion-page-*.motion-collapse
  • 统一时长/缓动:--motion-fast: 150ms--motion-medium: 220ms--motion-ease-out: cubic-bezier(0.22, 1, 0.36, 1)
  • 尊重 prefers-reduced-motion:系统设置开了"减少动效"会自动短路。
  • Tabs / Modal / Sidebar / Dropdown / BottomSheet 全部统一接入,不再有"每个组件自己一套抖动"。

⚡ 性能优化

  • Bundle 拆分:manualChunks + Settings 页懒加载 + KaTeX/Mermaid 动态 import。
  • 会话索引 O(1):sessionStore 引入 sessionsById 模块级 memo 缓存,新增 useSessionById(id) hook。Sidebar / StatusBar / ActiveSession 全部改用。
  • 轮询治理:高频轮询加 throttle/debounce。
  • 终端 LRU 淘汰:识别活跃进程,只淘汰真正空闲的。
  • 可配置最大活跃终端数(3/5/10/无限)。
  • Rust 侧 Vec::with_capacity 预分配;DEV-only console.warn 守卫。
  • 新增 E2E 基线测试:store-e2e、TTI、Tauri RSS。

🛟 体验细节

  • Mermaid / KaTeX 渲染失败有 UI 反馈,且去重并发请求。
  • 计划任务连续 3 次轮询失败会弹 toast 提醒。
  • Midnight 主题正确映射到 dark 配色。
  • README mojibake 修复。

🤝 开源社群基建

为了让新朋友更容易加入:

  • 结构化 Issue 模板:bug / feature / good-first-issue + Discussions 引导(.github/ISSUE_TEMPLATE/)。
  • README 招募 Banner + GFI/Help-Wanted 徽章
  • CONTRIBUTING 5 分钟 Quick Start(中英双语)。
  • 置顶 Contributor Hub Issue(#15):GFI 表 + Help Wanted 表 + RFC + 路线图快照 + 认领流程。
  • 10 个精选上手 Issue(#5-#14)。
  • 双语 ROADMAP + CONTRIBUTING

📦 下载

平台 文件 说明
Windows x64 DreamCoder_0.4.0_x64-setup.exe NSIS 安装包,推荐
Windows x64 DreamCoder_0.4.0_x64_en-US.msi MSI 安装包,企业部署用

macOS / Linux 构建产物会随 Phase 5 的 CI 自动化一并补齐。


🗺 路线图

  • ✅ Phase 1 — 桌面端 GUI
  • ✅ Phase 2 — 多 Provider + MCP + 终端
  • ✅ Phase 3 — H5 远程访问
  • 🚧 Phase 4 — IM 适配器(已开 RFC #19,欢迎来聊架构)
  • 🔜 Phase 5 — CI 自动化 + 跨平台构建

🔗 链接


感谢一路 star / 提 issue / 提 PR 的朋友们。下个版本见。

Assets 4
Loading

DreamCoder v0.3.0 - Phase 2 Release

31 May 13:17
@GoDiao GoDiao

Choose a tag to compare

🚀 DreamCoder v0.3.0 - Phase 2 Complete

This release marks a major milestone with the introduction of Computer Use 2.0 and a complete UI overhaul.

✨ New Features

  • Computer Use 2.0 (UIA Tree Mode)

    • 🚀 Text-Only Accessibility: New UIA Tree mode allows AI to control your computer using text-based accessibility elements instead of vision. This is faster, cheaper, and doesn't require a vision model.
    • 💾 Session Persistence: Computer Use state is now saved. Reconnecting to a session restores the environment.
    • 🐛 Stability Fixes: Fixed race conditions and improved reliability.
  • UI/UX Overhaul (Cold Slate Theme)

    • 🎨 New Dark Mode: Implemented a 'Physical Floating & Cold Slate Space' design system.
      • Base: #030407 (Deep Space Black)
      • Sidebar: #0A0C12 (Cold Slate)
      • Accent: #818CF8 (Indigo)
    • 🖼️ Glass Panel Effects: Input boxes and dropdowns now use a modern frosted glass aesthetic.
    • 📏 Resizable Sidebar: You can now drag to resize the sidebar width.
  • Advanced Provider System

    • 🛡️ Smart Model Filtering: The model selector now only shows models for the currently active provider.
    • 🔧 Compatibility Fixes: Fixed issues with [1m] context suffixes in model IDs.

🏗️ Refactoring

  • 🗑️ Code Deduplication: Merged sidecar/src logic into the main codebase, removing duplicate code.
  • 🧩 Component Extraction: Settings page components (Provider, General, Agents) are now fully modular.

🔗 Resources

  • Download Installer: Check the Assets below.
  • Documentation: README.md

Full Changelog: v0.2.0...v0.3.0

Loading

DreamCoder v0.2.0

29 May 13:57
@GoDiao GoDiao

Choose a tag to compare

DreamCoder v0.2.0

新增

  • UIA Tree 模式 — 纯文本模型也能控制电脑,无需多模态能力
    • 基于 Windows UI Automation 无障碍树
    • 支持 DeepSeek、GPT-4o-mini 等纯文本模型
    • Settings 中可切换 Vision / UIA Tree 感知模式
  • Sidecar 后端架构,支持 CLI 模式
  • 可拖拽调整侧边栏宽度

安装

下载 DreamCoder_0.2.0_x64-setup.exe 双击安装即可。

系统要求: Windows 10/11,Python 3.9+(Computer Use 功能需要,安装后在 Settings 中引导安装)

Loading

AltStyle によって変換されたページ (->オリジナル) /