Commit Graph
6 Commits
Author SHA1 Message Date
lyx 79089d7bac fix(desktop): lifecycle without bridge reuse; show port_busy reliably
Revert over-layered spawn/port UI changes. Keep single-instance no-reuse:
only navigate when this process spawned bridge; on occupied 14168/8900 show
port_busy via main thread. Re-check ports after first-run prepare.
2026-06-18 23:38:07 +08:00
lyx 4c4d228585 fix(desktop): dispatch WebView UI updates on main thread (Windows)
Background-thread eval/navigate/show silently failed on WebView2, leaving
users stuck on loading.html. Route progress, port_busy, bridge navigation,
and error feedback through run_on_main_thread; show indeterminate bar on load.
2026-06-18 23:31:51 +08:00
yanghang 60cc7c9101 i18n(desktop): bilingual first-run progress text (zh/en by navigator.language)
- lib.rs: 进度只发英文 key(start/venv/deps/done/starting),不再硬编码中文
- loading.html: window.gaProgress 按 navigator.language 映射中/英文案
2026-06-18 17:47:22 +08:00
yanghang 18e7c9e7d5 ci+ui: Windows portable assembly workflow; drop loading sub-text
- 新增 windows-desktop-release-package.yml: CI 构建+组装 Windows 自包含便携包
  (exe + runtime/{python,wheels,install_windows.ps1,app}),对标 Linux workflow
- loading.html: 去掉进度条下方'首次启动正在准备运行环境,仅此一次'小字
2026-06-18 17:44:42 +08:00
yanghang 8a8dfc2873 feat(desktop): self-contained portable bundle (Windows + Linux)
- lib.rs: 跨平台首次自准备——检测自包含包(runtime/)无 venv 时,后台离线
  建 venv+装依赖再起 bridge;加载窗显示进度条;Linux 用 $APPIMAGE 定位 runtime/
- loading.html: 加 window.gaProgress 进度条 + 状态文字
- install_windows.ps1 / install_linux.sh: 加 --wheel-dir 离线 + --extra-packages
  (conductor 依赖) + GAPROGRESS 进度标记;镜像源;Linux 离线模式跳过 AppImage/图标
- install.bat: 回填 release 版(自动定位项目根 + 错误处理)
- linux workflow: 组装完整自包含便携包(内置 python + 离线 wheels + 源码 + AppImage)
2026-06-18 16:42:56 +08:00
dd3xpandClaude Opus 4.7 ba46e371bc chore: sync framework to upstream lsdefine/GenericAgent @ b365945
上次同步点是 1eb8c4c (我们 fork 上为 8f89766),lsdefine 自那以来 102 个

commit,包括飞书 IM 插件、TUI v2 修、conductor OOP 重构、L4 scheduler

mkdir 修复、checklist 系统、computer_use SOP 等。

处理分桶:

  - 45 个 lsdefine-only 文件:整文件覆盖(safe,无我方改动)

  - 17 个 ours-only 文件:完全保留(桌面前端 + bridge + plan_state)

  - 4 个双方都动:逐个 3-way 合

      * .gitignore: 取并集(lsdefine 新增 + 我们 /BUG_*.md)

      * reflect/scheduler.py: 已字节对齐 lsdefine,无操作

      * frontends/conductor.py: lsdefine OOP 重构作 base,我们 6 处

          改动(CORS / add_chat files+images / cost_tracker / token-stats

          / WS running / WS receive files+images)原样塞进新结构

      * frontends/conductor.html: lsdefine 重组作 base,我们 40 行

          输入字数限制 + toast 原样塞进 keydown 监听之后

未触动 desktop_bridge.py(memory 规则约定 exclude bridge)。

已 grep 全文件无 <<<<<< / ======= / >>>>>> 冲突标记残留。

我们改动一行未漏,全部按原代码原文落实,没有自创新代码。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 23:05:59 +08:00